xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/sony,td4353-jdi.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1fac71e4eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2fac71e4eSEmmanuel Vadot%YAML 1.2
3fac71e4eSEmmanuel Vadot---
4fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/sony,td4353-jdi.yaml#
5fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6fac71e4eSEmmanuel Vadot
7fac71e4eSEmmanuel Vadottitle: Sony TD4353 JDI 5 / 5.7" 2160x1080 MIPI-DSI Panel
8fac71e4eSEmmanuel Vadot
9fac71e4eSEmmanuel Vadotmaintainers:
10*0e8011faSEmmanuel Vadot  - Konrad Dybcio <konradybcio@kernel.org>
11fac71e4eSEmmanuel Vadot
12fac71e4eSEmmanuel Vadotdescription: |
13fac71e4eSEmmanuel Vadot  The Sony TD4353 JDI is a 5 (XZ2c) / 5.7 (XZ2) inch 2160x1080
14fac71e4eSEmmanuel Vadot  MIPI-DSI panel, used in Xperia XZ2 and XZ2 Compact smartphones.
15fac71e4eSEmmanuel Vadot
16fac71e4eSEmmanuel VadotallOf:
17fac71e4eSEmmanuel Vadot  - $ref: panel-common.yaml#
18fac71e4eSEmmanuel Vadot
19fac71e4eSEmmanuel Vadotproperties:
20fac71e4eSEmmanuel Vadot  compatible:
21fac71e4eSEmmanuel Vadot    const: sony,td4353-jdi-tama
22fac71e4eSEmmanuel Vadot
237d0873ebSEmmanuel Vadot  reg:
247d0873ebSEmmanuel Vadot    maxItems: 1
25fac71e4eSEmmanuel Vadot
26fac71e4eSEmmanuel Vadot  backlight: true
277d0873ebSEmmanuel Vadot  width-mm: true
287d0873ebSEmmanuel Vadot  height-mm: true
29fac71e4eSEmmanuel Vadot
30fac71e4eSEmmanuel Vadot  vddio-supply:
31fac71e4eSEmmanuel Vadot    description: VDDIO 1.8V supply
32fac71e4eSEmmanuel Vadot
33fac71e4eSEmmanuel Vadot  vsp-supply:
34fac71e4eSEmmanuel Vadot    description: Positive 5.5V supply
35fac71e4eSEmmanuel Vadot
36fac71e4eSEmmanuel Vadot  vsn-supply:
37fac71e4eSEmmanuel Vadot    description: Negative 5.5V supply
38fac71e4eSEmmanuel Vadot
39fac71e4eSEmmanuel Vadot  panel-reset-gpios:
40fac71e4eSEmmanuel Vadot    description: Display panel reset pin
41fac71e4eSEmmanuel Vadot
42fac71e4eSEmmanuel Vadot  touch-reset-gpios:
43fac71e4eSEmmanuel Vadot    description: Touch panel reset pin
44fac71e4eSEmmanuel Vadot
45fac71e4eSEmmanuel Vadot  port: true
46fac71e4eSEmmanuel Vadot
47fac71e4eSEmmanuel Vadotrequired:
48fac71e4eSEmmanuel Vadot  - compatible
49fac71e4eSEmmanuel Vadot  - reg
50fac71e4eSEmmanuel Vadot  - vddio-supply
51fac71e4eSEmmanuel Vadot  - vsp-supply
52fac71e4eSEmmanuel Vadot  - vsn-supply
53fac71e4eSEmmanuel Vadot  - panel-reset-gpios
54fac71e4eSEmmanuel Vadot  - touch-reset-gpios
55fac71e4eSEmmanuel Vadot  - port
56fac71e4eSEmmanuel Vadot
57fac71e4eSEmmanuel VadotadditionalProperties: false
58fac71e4eSEmmanuel Vadot
59fac71e4eSEmmanuel Vadotexamples:
60fac71e4eSEmmanuel Vadot  - |
61fac71e4eSEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
62fac71e4eSEmmanuel Vadot
63fac71e4eSEmmanuel Vadot    dsi {
64fac71e4eSEmmanuel Vadot        #address-cells = <1>;
65fac71e4eSEmmanuel Vadot        #size-cells = <0>;
66fac71e4eSEmmanuel Vadot
67fac71e4eSEmmanuel Vadot        panel: panel@0 {
68fac71e4eSEmmanuel Vadot            compatible = "sony,td4353-jdi-tama";
69fac71e4eSEmmanuel Vadot            reg = <0>;
70fac71e4eSEmmanuel Vadot
71fac71e4eSEmmanuel Vadot            backlight = <&pmi8998_wled>;
72fac71e4eSEmmanuel Vadot            vddio-supply = <&vreg_l14a_1p8>;
73fac71e4eSEmmanuel Vadot            vsp-supply = <&lab>;
74fac71e4eSEmmanuel Vadot            vsn-supply = <&ibb>;
75fac71e4eSEmmanuel Vadot            panel-reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
76fac71e4eSEmmanuel Vadot            touch-reset-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>;
77fac71e4eSEmmanuel Vadot
78fac71e4eSEmmanuel Vadot            port {
79fac71e4eSEmmanuel Vadot                panel_in: endpoint {
80fac71e4eSEmmanuel Vadot                    remote-endpoint = <&dsi0_out>;
81fac71e4eSEmmanuel Vadot                };
82fac71e4eSEmmanuel Vadot            };
83fac71e4eSEmmanuel Vadot        };
84fac71e4eSEmmanuel Vadot    };
85fac71e4eSEmmanuel Vadot...
86