Skip to content

Commit

Permalink
dt-bindings: display: ssd1307fb: Add entry for SINO WEALTH SH1106
Browse files Browse the repository at this point in the history
The SINO WEALTH SH1106 is an OLED display driver that is somewhat
compatible with the SSD1306. It supports a slightly wider display,
at 132 instead of 128 pixels. The basic commands are the same, but
the SH1106 doesn't support the horizontal or vertical address modes.

Add a compatible string for it.

Signed-off-by: Chen-Yu Tsai <[email protected]>
Acked-by: Javier Martinez Canillas <[email protected]>
Signed-off-by: Javier Martinez Canillas <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
wens authored and martinezjavier committed Apr 7, 2022
1 parent 2f073eb commit 97a40c2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ maintainers:
properties:
compatible:
enum:
- sinowealth,sh1106-i2c
- solomon,ssd1305fb-i2c
- solomon,ssd1306fb-i2c
- solomon,ssd1307fb-i2c
Expand Down Expand Up @@ -131,6 +132,18 @@ required:
- reg

allOf:
- if:
properties:
compatible:
contains:
const: sinowealth,sh1106-i2c
then:
properties:
solomon,dclk-div:
default: 1
solomon,dclk-frq:
default: 5

- if:
properties:
compatible:
Expand Down

0 comments on commit 97a40c2

Please sign in to comment.