aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2022-04-07 01:29:54 +0800
committerJavier Martinez Canillas <javierm@redhat.com>2022-04-07 15:26:00 +0200
commit97a40c23cda5d64a1c5e968e448435084ebc8c9b (patch)
tree90d49801b7343652ff849a4789840349cc0361dd /Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml
parentdt-bindings: vendor-prefixes: Add prefix for SINO WEALTH Eletronics Ltd. (diff)
downloadlinux-dev-97a40c23cda5d64a1c5e968e448435084ebc8c9b.tar.xz
linux-dev-97a40c23cda5d64a1c5e968e448435084ebc8c9b.zip
dt-bindings: display: ssd1307fb: Add entry for SINO WEALTH SH1106
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 <wens@csie.org> Acked-by: Javier Martinez Canillas <javierm@redhat.com> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220406172956.3953-3-wens@kernel.org
Diffstat (limited to 'Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml')
-rw-r--r--Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml b/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml
index 9baafd0c42dd..ade61d502edd 100644
--- a/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml
+++ b/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml
@@ -13,6 +13,7 @@ maintainers:
properties:
compatible:
enum:
+ - sinowealth,sh1106-i2c
- solomon,ssd1305fb-i2c
- solomon,ssd1306fb-i2c
- solomon,ssd1307fb-i2c
@@ -135,6 +136,18 @@ allOf:
properties:
compatible:
contains:
+ const: sinowealth,sh1106-i2c
+ then:
+ properties:
+ solomon,dclk-div:
+ default: 1
+ solomon,dclk-frq:
+ default: 5
+
+ - if:
+ properties:
+ compatible:
+ contains:
const: solomon,ssd1305fb-i2c
then:
properties: