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/feiyang,fy07024di26a30d.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Feiyang FY07024DI26A30-D 7" MIPI-DSI LCD Panel |
| 8 | |
| 9 | maintainers: |
| 10 | - Jagan Teki <jagan@amarulasolutions.com> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: panel-common.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | const: feiyang,fy07024di26a30d |
| 18 | |
| 19 | reg: |
| 20 | description: DSI virtual channel used by that screen |
| 21 | maxItems: 1 |
| 22 | |
| 23 | avdd-supply: |
| 24 | description: analog regulator dc1 switch |
| 25 | |
| 26 | dvdd-supply: |
| 27 | description: 3v3 digital regulator |
| 28 | |
| 29 | port: true |
| 30 | reset-gpios: true |
| 31 | |
| 32 | backlight: true |
| 33 | |
| 34 | required: |
| 35 | - compatible |
| 36 | - reg |
| 37 | - avdd-supply |
| 38 | - dvdd-supply |
| 39 | - port |
| 40 | |
| 41 | additionalProperties: false |
| 42 | |
| 43 | examples: |
| 44 | - | |
| 45 | #include <dt-bindings/gpio/gpio.h> |
| 46 | |
| 47 | dsi { |
| 48 | #address-cells = <1>; |
| 49 | #size-cells = <0>; |
| 50 | |
| 51 | panel@0 { |
| 52 | compatible = "feiyang,fy07024di26a30d"; |
| 53 | reg = <0>; |
| 54 | avdd-supply = <®_dc1sw>; |
| 55 | dvdd-supply = <®_dldo2>; |
| 56 | reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ |
| 57 | backlight = <&backlight>; |
| 58 | |
| 59 | port { |
| 60 | mipi_in_panel: endpoint { |
| 61 | remote-endpoint = <&mipi_out_panel>; |
| 62 | }; |
| 63 | }; |
| 64 | }; |
| 65 | }; |