1baae3a0bSManuel Traut# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2baae3a0bSManuel Traut%YAML 1.2 3baae3a0bSManuel Traut--- 4baae3a0bSManuel Traut$id: http://devicetree.org/schemas/display/panel/boe,th101mb31ig002-28a.yaml# 5baae3a0bSManuel Traut$schema: http://devicetree.org/meta-schemas/core.yaml# 6baae3a0bSManuel Traut 7baae3a0bSManuel Trauttitle: BOE TH101MB31IG002-28A WXGA DSI Display Panel 8baae3a0bSManuel Traut 9baae3a0bSManuel Trautmaintainers: 10baae3a0bSManuel Traut - Manuel Traut <manut@mecka.net> 11baae3a0bSManuel Traut 12baae3a0bSManuel Trautproperties: 13baae3a0bSManuel Traut compatible: 14baae3a0bSManuel Traut enum: 15baae3a0bSManuel Traut # BOE TH101MB31IG002-28A 10.1" WXGA TFT LCD panel 16baae3a0bSManuel Traut - boe,th101mb31ig002-28a 17*3808a15eSZhaoxiong Lv # The Starry-er88577 is a 10.1" WXGA TFT-LCD panel 18*3808a15eSZhaoxiong Lv - starry,er88577 19baae3a0bSManuel Traut 209fa6bcf2SKrzysztof Kozlowski reg: 219fa6bcf2SKrzysztof Kozlowski maxItems: 1 229fa6bcf2SKrzysztof Kozlowski 23baae3a0bSManuel Traut backlight: true 24baae3a0bSManuel Traut enable-gpios: true 25*3808a15eSZhaoxiong Lv reset-gpios: true 26baae3a0bSManuel Traut power-supply: true 27baae3a0bSManuel Traut port: true 28baae3a0bSManuel Traut rotation: true 29baae3a0bSManuel Traut 30baae3a0bSManuel Trautrequired: 31baae3a0bSManuel Traut - compatible 32baae3a0bSManuel Traut - reg 33baae3a0bSManuel Traut - enable-gpios 34baae3a0bSManuel Traut - power-supply 35baae3a0bSManuel Traut 36*3808a15eSZhaoxiong LvallOf: 37*3808a15eSZhaoxiong Lv - $ref: panel-common.yaml# 38*3808a15eSZhaoxiong Lv - if: 39*3808a15eSZhaoxiong Lv properties: 40*3808a15eSZhaoxiong Lv compatible: 41*3808a15eSZhaoxiong Lv # The Starry-er88577 is a 10.1" WXGA TFT-LCD panel 42*3808a15eSZhaoxiong Lv const: starry,er88577 43*3808a15eSZhaoxiong Lv then: 44*3808a15eSZhaoxiong Lv properties: 45*3808a15eSZhaoxiong Lv reset-gpios: false 46*3808a15eSZhaoxiong Lv else: 47*3808a15eSZhaoxiong Lv required: 48*3808a15eSZhaoxiong Lv - reset-gpios 49*3808a15eSZhaoxiong Lv 50baae3a0bSManuel TrautadditionalProperties: false 51baae3a0bSManuel Traut 52baae3a0bSManuel Trautexamples: 53baae3a0bSManuel Traut - | 54baae3a0bSManuel Traut #include <dt-bindings/gpio/gpio.h> 55baae3a0bSManuel Traut 56baae3a0bSManuel Traut dsi { 57baae3a0bSManuel Traut #address-cells = <1>; 58baae3a0bSManuel Traut #size-cells = <0>; 59baae3a0bSManuel Traut panel@0 { 60baae3a0bSManuel Traut compatible = "boe,th101mb31ig002-28a"; 61baae3a0bSManuel Traut reg = <0>; 62baae3a0bSManuel Traut backlight = <&backlight_lcd0>; 63baae3a0bSManuel Traut enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>; 64*3808a15eSZhaoxiong Lv reset-gpios = <&gpio 55 GPIO_ACTIVE_LOW>; 65baae3a0bSManuel Traut rotation = <90>; 66baae3a0bSManuel Traut power-supply = <&vcc_3v3>; 67baae3a0bSManuel Traut port { 68baae3a0bSManuel Traut panel_in_dsi: endpoint { 69baae3a0bSManuel Traut remote-endpoint = <&dsi_out_con>; 70baae3a0bSManuel Traut }; 71baae3a0bSManuel Traut }; 72baae3a0bSManuel Traut }; 73baae3a0bSManuel Traut }; 74baae3a0bSManuel Traut 75baae3a0bSManuel Traut... 76