About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / video / ssd1307fb.txt




Custom Search

Based on kernel version 3.13. Page generated on 2014-01-20 22:02 EST.

1	* Solomon SSD1307 Framebuffer Driver
2	
3	Required properties:
4	  - compatible: Should be "solomon,<chip>fb-<bus>". The only supported bus for
5	    now is i2c, and the supported chips are ssd1306 and ssd1307.
6	  - reg: Should contain address of the controller on the I2C bus. Most likely
7	         0x3c or 0x3d
8	  - pwm: Should contain the pwm to use according to the OF device tree PWM
9	         specification [0]. Only required for the ssd1307.
10	  - reset-gpios: Should contain the GPIO used to reset the OLED display
11	  - solomon,height: Height in pixel of the screen driven by the controller
12	  - solomon,width: Width in pixel of the screen driven by the controller
13	  - solomon,page-offset: Offset of pages (band of 8 pixels) that the screen is
14	    mapped to.
15	
16	Optional properties:
17	  - reset-active-low: Is the reset gpio is active on physical low?
18	
19	[0]: Documentation/devicetree/bindings/pwm/pwm.txt
20	
21	Examples:
22	ssd1307: oled@3c {
23	        compatible = "solomon,ssd1307fb-i2c";
24	        reg = <0x3c>;
25	        pwms = <&pwm 4 3000>;
26	        reset-gpios = <&gpio2 7>;
27	        reset-active-low;
28	};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.