Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/display/panel/boe,th101mb31ig002-28a.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: BOE TH101MB31IG002-28A WXGA DSI Display Panel |
| 8 | |
| 9 | maintainers: |
| 10 | - Manuel Traut <manut@mecka.net> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: panel-common.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | enum: |
| 18 | # BOE TH101MB31IG002-28A 10.1" WXGA TFT LCD panel |
| 19 | - boe,th101mb31ig002-28a |
| 20 | |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame] | 21 | reg: |
| 22 | maxItems: 1 |
| 23 | |
Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 24 | backlight: true |
| 25 | enable-gpios: true |
| 26 | power-supply: true |
| 27 | port: true |
| 28 | rotation: true |
| 29 | |
| 30 | required: |
| 31 | - compatible |
| 32 | - reg |
| 33 | - enable-gpios |
| 34 | - power-supply |
| 35 | |
| 36 | additionalProperties: false |
| 37 | |
| 38 | examples: |
| 39 | - | |
| 40 | #include <dt-bindings/gpio/gpio.h> |
| 41 | |
| 42 | dsi { |
| 43 | #address-cells = <1>; |
| 44 | #size-cells = <0>; |
| 45 | panel@0 { |
| 46 | compatible = "boe,th101mb31ig002-28a"; |
| 47 | reg = <0>; |
| 48 | backlight = <&backlight_lcd0>; |
| 49 | enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>; |
| 50 | rotation = <90>; |
| 51 | power-supply = <&vcc_3v3>; |
| 52 | port { |
| 53 | panel_in_dsi: endpoint { |
| 54 | remote-endpoint = <&dsi_out_con>; |
| 55 | }; |
| 56 | }; |
| 57 | }; |
| 58 | }; |
| 59 | |
| 60 | ... |