xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/sony,td4353-jdi.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
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
7title: Sony TD4353 JDI 5 / 5.7" 2160x1080 MIPI-DSI Panel
8
9maintainers:
10  - Konrad Dybcio <konrad.dybcio@somainline.org>
11
12description: |
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
16allOf:
17  - $ref: panel-common.yaml#
18
19properties:
20  compatible:
21    const: sony,td4353-jdi-tama
22
23  reg: true
24
25  backlight: true
26
27  vddio-supply:
28    description: VDDIO 1.8V supply
29
30  vsp-supply:
31    description: Positive 5.5V supply
32
33  vsn-supply:
34    description: Negative 5.5V supply
35
36  panel-reset-gpios:
37    description: Display panel reset pin
38
39  touch-reset-gpios:
40    description: Touch panel reset pin
41
42  port: true
43
44required:
45  - compatible
46  - reg
47  - vddio-supply
48  - vsp-supply
49  - vsn-supply
50  - panel-reset-gpios
51  - touch-reset-gpios
52  - port
53
54additionalProperties: false
55
56examples:
57  - |
58    #include <dt-bindings/gpio/gpio.h>
59
60    dsi {
61        #address-cells = <1>;
62        #size-cells = <0>;
63
64        panel: panel@0 {
65            compatible = "sony,td4353-jdi-tama";
66            reg = <0>;
67
68            backlight = <&pmi8998_wled>;
69            vddio-supply = <&vreg_l14a_1p8>;
70            vsp-supply = <&lab>;
71            vsn-supply = <&ibb>;
72            panel-reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
73            touch-reset-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>;
74
75            port {
76                panel_in: endpoint {
77                    remote-endpoint = <&dsi0_out>;
78                };
79            };
80        };
81    };
82...
83