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/sony,td4353-jdi.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Sony TD4353 JDI 5 / 5.7" 2160x1080 MIPI-DSI Panel |
| 8 | |
| 9 | maintainers: |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 10 | - Konrad Dybcio <konradybcio@kernel.org> |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 11 | |
| 12 | description: | |
| 13 | The Sony TD4353 JDI is a 5 (XZ2c) / 5.7 (XZ2) inch 2160x1080 |
| 14 | MIPI-DSI panel, used in Xperia XZ2 and XZ2 Compact smartphones. |
| 15 | |
| 16 | allOf: |
| 17 | - $ref: panel-common.yaml# |
| 18 | |
| 19 | properties: |
| 20 | compatible: |
| 21 | const: sony,td4353-jdi-tama |
| 22 | |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame] | 23 | reg: |
| 24 | maxItems: 1 |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 25 | |
| 26 | backlight: true |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame] | 27 | width-mm: true |
| 28 | height-mm: true |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 29 | |
| 30 | vddio-supply: |
| 31 | description: VDDIO 1.8V supply |
| 32 | |
| 33 | vsp-supply: |
| 34 | description: Positive 5.5V supply |
| 35 | |
| 36 | vsn-supply: |
| 37 | description: Negative 5.5V supply |
| 38 | |
| 39 | panel-reset-gpios: |
| 40 | description: Display panel reset pin |
| 41 | |
| 42 | touch-reset-gpios: |
| 43 | description: Touch panel reset pin |
| 44 | |
| 45 | port: true |
| 46 | |
| 47 | required: |
| 48 | - compatible |
| 49 | - reg |
| 50 | - vddio-supply |
| 51 | - vsp-supply |
| 52 | - vsn-supply |
| 53 | - panel-reset-gpios |
| 54 | - touch-reset-gpios |
| 55 | - port |
| 56 | |
| 57 | additionalProperties: false |
| 58 | |
| 59 | examples: |
| 60 | - | |
| 61 | #include <dt-bindings/gpio/gpio.h> |
| 62 | |
| 63 | dsi { |
| 64 | #address-cells = <1>; |
| 65 | #size-cells = <0>; |
| 66 | |
| 67 | panel: panel@0 { |
| 68 | compatible = "sony,td4353-jdi-tama"; |
| 69 | reg = <0>; |
| 70 | |
| 71 | backlight = <&pmi8998_wled>; |
| 72 | vddio-supply = <&vreg_l14a_1p8>; |
| 73 | vsp-supply = <&lab>; |
| 74 | vsn-supply = <&ibb>; |
| 75 | panel-reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; |
| 76 | touch-reset-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>; |
| 77 | |
| 78 | port { |
| 79 | panel_in: endpoint { |
| 80 | remote-endpoint = <&dsi0_out>; |
| 81 | }; |
| 82 | }; |
| 83 | }; |
| 84 | }; |
| 85 | ... |