brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · 6a82bd1 Raw
76 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/display/panel/boe,th101mb31ig002-28a.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: BOE TH101MB31IG002-28A WXGA DSI Display Panel8 9maintainers:10  - Manuel Traut <manut@mecka.net>11 12properties:13  compatible:14    enum:15        # BOE TH101MB31IG002-28A 10.1" WXGA TFT LCD panel16      - boe,th101mb31ig002-28a17        # The Starry-er88577 is a 10.1" WXGA TFT-LCD panel18      - starry,er8857719 20  reg:21    maxItems: 122 23  backlight: true24  enable-gpios: true25  reset-gpios: true26  power-supply: true27  port: true28  rotation: true29 30required:31  - compatible32  - reg33  - enable-gpios34  - power-supply35 36allOf:37  - $ref: panel-common.yaml#38  - if:39      properties:40        compatible:41          # The Starry-er88577 is a 10.1" WXGA TFT-LCD panel42          const: starry,er8857743    then:44      properties:45        reset-gpios: false46    else:47      required:48        - reset-gpios49 50additionalProperties: false51 52examples:53  - |54    #include <dt-bindings/gpio/gpio.h>55 56    dsi {57        #address-cells = <1>;58        #size-cells = <0>;59        panel@0 {60            compatible = "boe,th101mb31ig002-28a";61            reg = <0>;62            backlight = <&backlight_lcd0>;63            enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;64            reset-gpios = <&gpio 55 GPIO_ACTIVE_LOW>;65            rotation = <90>;66            power-supply = <&vcc_3v3>;67            port {68                panel_in_dsi: endpoint {69                    remote-endpoint = <&dsi_out_con>;70                };71            };72        };73    };74 75...76