SSD1322 driver for fbtft
Tested in RapberryPi 2B+
- Copy this file to "linux-rpi-4.19.y/drivers/staging/fbtft/"
- Add following text to "fbtft/Kconfig"
config FB_TFT_SSD1322
tristate "FB driver for the SSD1322 OLED Controller"
depends on FB_TFT
help
Framebuffer support for SSD1322 - Add "obj-$(CONFIG_FB_TFT_SSD1322) += fb_ssd1322.o" to "fbtft/Makefile"
- Enable the specific driver to be compiled, mark as M
Device Drivers --->
Staging drivers --->
Support for small TFT LCD display modules --->
FB driver for the SSD1322 OLED Controller
- Compile the kernel and install modules after compiled.
- sudo modprobe fb_ssd1322
- sudo modprobe fbtft_device custom name=fb_ssd1322 width=256 height=64 speed=16000000 gpios=dc:23,reset:24
- use fbtest to test OLED