diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-04-22 05:55:54 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-05-28 07:41:57 -0400 |
commit | bbc79089ae2bd0306db7f8dce85d56f9be65b205 (patch) | |
tree | 4b30423a2a1259d6e6d83eced2e0dc5da1fd5ae8 /Documentation/devicetree/bindings/video | |
parent | f722406faae2d073cc1d01063d1123c35425939e (diff) |
video: ssd1307fb: Add support for SSD1306 OLED controller
The Solomon SSD1306 OLED controller is very similar to the SSD1307,
except for the fact that the power is given through an external PWM for
the 1307, and while the 1306 can generate its own power without any PWM.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'Documentation/devicetree/bindings/video')
-rw-r--r-- | Documentation/devicetree/bindings/video/ssd1307fb.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/video/ssd1307fb.txt b/Documentation/devicetree/bindings/video/ssd1307fb.txt index 3d0060cff062..7a125427ff4b 100644 --- a/Documentation/devicetree/bindings/video/ssd1307fb.txt +++ b/Documentation/devicetree/bindings/video/ssd1307fb.txt | |||
@@ -1,13 +1,17 @@ | |||
1 | * Solomon SSD1307 Framebuffer Driver | 1 | * Solomon SSD1307 Framebuffer Driver |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible: Should be "solomon,ssd1307fb-<bus>". The only supported bus for | 4 | - compatible: Should be "solomon,<chip>fb-<bus>". The only supported bus for |
5 | now is i2c. | 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 | 6 | - reg: Should contain address of the controller on the I2C bus. Most likely |
7 | 0x3c or 0x3d | 7 | 0x3c or 0x3d |
8 | - pwm: Should contain the pwm to use according to the OF device tree PWM | 8 | - pwm: Should contain the pwm to use according to the OF device tree PWM |
9 | specification [0] | 9 | specification [0]. Only required for the ssd1307. |
10 | - reset-gpios: Should contain the GPIO used to reset the OLED display | 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. | ||
11 | 15 | ||
12 | Optional properties: | 16 | Optional properties: |
13 | - reset-active-low: Is the reset gpio is active on physical low? | 17 | - reset-active-low: Is the reset gpio is active on physical low? |