SSDFB(4) | Device Drivers Manual | SSDFB(4) |
ssdfb
—
options FONT_SPLEEN5x8
ssdfb* at iic? addr ?
ssdfb* at iic? addr 0x3c
ssdfb* at iic? addr 0x3d flags 0x102
ssdfb* at spi? slave ? flags 0x105
wsdisplay* at ssdfb?
ssdfb
driver provides
wsdisplay(4) support for
OLED/PLED framebuffer modules based on one of the following controller chips:
The following products (controller + panel assemblies) are supported:
The flags value can contain one or more of the following, bitwise OR'ed:
On most displays, the contrast setting can be adjusted with the wsconsctl(8) program.
&spi0 { ssdfb@0 { compatible = "solomon,ssd1322"; reg = <0x00>; dc-gpio = <0x10 0x07 0x02 0x00>; status = "okay"; }; };
To attach an SSD1306 display using the iic(4) interface on the same board, use:
&i2c2 { ssdfb@3c { compatible = "solomon,ssd1306fb-i2c"; reg = <0x3c>; status = "okay"; }; };
ssdfb
driver first appeared in
OpenBSD 6.4 and later in NetBSD
9.0.
ssdfb
driver was written by Tobias
Nygren
<tnn@NetBSD.org>.
It was inspired by (and shares its name with) the OpenBSD driver written by Patrick Wildt <patrick@blueri.se> but does not share any code.
August 5, 2021 | NetBSD 10.0 |