aboutsummaryrefslogtreecommitdiff
path: root/Bindings/display/panel/boe,th101mb31ig002-28a.yaml
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2025-01-02 09:11:32 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2025-01-02 09:11:32 +0000
commitcd989bfc73f7dff3085b7004c7d4f06396382e6d (patch)
tree24ee9100a779014759a5f9882d4742a7e0b2220f /Bindings/display/panel/boe,th101mb31ig002-28a.yaml
parentbeb6e748a90196469bed9e3900ce618069c652f7 (diff)
Import device-tree files from Linux 6.12vendor/device-tree/6.12vendor/device-tree
Diffstat (limited to 'Bindings/display/panel/boe,th101mb31ig002-28a.yaml')
-rw-r--r--Bindings/display/panel/boe,th101mb31ig002-28a.yaml21
1 files changed, 18 insertions, 3 deletions
diff --git a/Bindings/display/panel/boe,th101mb31ig002-28a.yaml b/Bindings/display/panel/boe,th101mb31ig002-28a.yaml
index 5eaccce13c21..6a82bd1ec763 100644
--- a/Bindings/display/panel/boe,th101mb31ig002-28a.yaml
+++ b/Bindings/display/panel/boe,th101mb31ig002-28a.yaml
@@ -9,20 +9,20 @@ title: BOE TH101MB31IG002-28A WXGA DSI Display Panel
maintainers:
- Manuel Traut <manut@mecka.net>
-allOf:
- - $ref: panel-common.yaml#
-
properties:
compatible:
enum:
# BOE TH101MB31IG002-28A 10.1" WXGA TFT LCD panel
- boe,th101mb31ig002-28a
+ # The Starry-er88577 is a 10.1" WXGA TFT-LCD panel
+ - starry,er88577
reg:
maxItems: 1
backlight: true
enable-gpios: true
+ reset-gpios: true
power-supply: true
port: true
rotation: true
@@ -33,6 +33,20 @@ required:
- enable-gpios
- power-supply
+allOf:
+ - $ref: panel-common.yaml#
+ - if:
+ properties:
+ compatible:
+ # The Starry-er88577 is a 10.1" WXGA TFT-LCD panel
+ const: starry,er88577
+ then:
+ properties:
+ reset-gpios: false
+ else:
+ required:
+ - reset-gpios
+
additionalProperties: false
examples:
@@ -47,6 +61,7 @@ examples:
reg = <0>;
backlight = <&backlight_lcd0>;
enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
+ reset-gpios = <&gpio 55 GPIO_ACTIVE_LOW>;
rotation = <90>;
power-supply = <&vcc_3v3>;
port {