Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [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/jadard,jd9365da-h3.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Jadard JD9365DA-HE WXGA DSI panel |
| 8 | |
| 9 | maintainers: |
| 10 | - Jagan Teki <jagan@edgeble.ai> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: panel-common.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | items: |
| 18 | - enum: |
| 19 | - chongzhou,cz101b4001 |
| 20 | - radxa,display-10hd-ad001 |
| 21 | - radxa,display-8hd-ad002 |
| 22 | - const: jadard,jd9365da-h3 |
| 23 | |
| 24 | reg: true |
| 25 | |
| 26 | vdd-supply: |
| 27 | description: supply regulator for VDD, usually 3.3V |
| 28 | |
| 29 | vccio-supply: |
| 30 | description: supply regulator for VCCIO, usually 1.8V |
| 31 | |
| 32 | reset-gpios: true |
| 33 | |
| 34 | backlight: true |
| 35 | |
| 36 | port: true |
| 37 | |
| 38 | required: |
| 39 | - compatible |
| 40 | - reg |
| 41 | - vdd-supply |
| 42 | - vccio-supply |
| 43 | - reset-gpios |
| 44 | |
| 45 | additionalProperties: false |
| 46 | |
| 47 | examples: |
| 48 | - | |
| 49 | #include <dt-bindings/gpio/gpio.h> |
| 50 | #include <dt-bindings/pinctrl/rockchip.h> |
| 51 | |
| 52 | dsi { |
| 53 | #address-cells = <1>; |
| 54 | #size-cells = <0>; |
| 55 | |
| 56 | panel@0 { |
| 57 | compatible = "chongzhou,cz101b4001", "jadard,jd9365da-h3"; |
| 58 | reg = <0>; |
| 59 | vdd-supply = <&lcd_3v3>; |
| 60 | vccio-supply = <&vcca_1v8>; |
| 61 | reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>; |
| 62 | backlight = <&backlight>; |
| 63 | |
| 64 | port { |
| 65 | mipi_in_panel: endpoint { |
| 66 | remote-endpoint = <&mipi_out_panel>; |
| 67 | }; |
| 68 | }; |
| 69 | }; |
| 70 | }; |
| 71 | |
| 72 | ... |