xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/sony,tulip-truly-nt35521.yaml (revision e67e85659c0de33e617e5fbf1028c6e8b49eee53)
1*e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*e67e8565SEmmanuel Vadot%YAML 1.2
3*e67e8565SEmmanuel Vadot---
4*e67e8565SEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/sony,tulip-truly-nt35521.yaml#
5*e67e8565SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*e67e8565SEmmanuel Vadot
7*e67e8565SEmmanuel Vadottitle: Sony Tulip Truly NT35521 5.24" 1280x720 MIPI-DSI Panel
8*e67e8565SEmmanuel Vadot
9*e67e8565SEmmanuel Vadotmaintainers:
10*e67e8565SEmmanuel Vadot  - Shawn Guo <shawn.guo@linaro.org>
11*e67e8565SEmmanuel Vadot
12*e67e8565SEmmanuel Vadotdescription: |
13*e67e8565SEmmanuel Vadot  The Sony Tulip Truly NT35521 is a 5.24" 1280x720 MIPI-DSI panel, which
14*e67e8565SEmmanuel Vadot  can be found no Sony Xperia M4 phone.  The panel backlight is managed
15*e67e8565SEmmanuel Vadot  through DSI link.
16*e67e8565SEmmanuel Vadot
17*e67e8565SEmmanuel VadotallOf:
18*e67e8565SEmmanuel Vadot  - $ref: panel-common.yaml#
19*e67e8565SEmmanuel Vadot
20*e67e8565SEmmanuel Vadotproperties:
21*e67e8565SEmmanuel Vadot  compatible:
22*e67e8565SEmmanuel Vadot    const: sony,tulip-truly-nt35521
23*e67e8565SEmmanuel Vadot
24*e67e8565SEmmanuel Vadot  reg: true
25*e67e8565SEmmanuel Vadot
26*e67e8565SEmmanuel Vadot  positive5-supply:
27*e67e8565SEmmanuel Vadot    description: Positive 5V supply
28*e67e8565SEmmanuel Vadot
29*e67e8565SEmmanuel Vadot  negative5-supply:
30*e67e8565SEmmanuel Vadot    description: Negative 5V supply
31*e67e8565SEmmanuel Vadot
32*e67e8565SEmmanuel Vadot  reset-gpios: true
33*e67e8565SEmmanuel Vadot
34*e67e8565SEmmanuel Vadot  enable-gpios: true
35*e67e8565SEmmanuel Vadot
36*e67e8565SEmmanuel Vadot  port: true
37*e67e8565SEmmanuel Vadot
38*e67e8565SEmmanuel Vadotrequired:
39*e67e8565SEmmanuel Vadot  - compatible
40*e67e8565SEmmanuel Vadot  - reg
41*e67e8565SEmmanuel Vadot  - positive5-supply
42*e67e8565SEmmanuel Vadot  - negative5-supply
43*e67e8565SEmmanuel Vadot  - reset-gpios
44*e67e8565SEmmanuel Vadot  - enable-gpios
45*e67e8565SEmmanuel Vadot  - port
46*e67e8565SEmmanuel Vadot
47*e67e8565SEmmanuel VadotadditionalProperties: false
48*e67e8565SEmmanuel Vadot
49*e67e8565SEmmanuel Vadotexamples:
50*e67e8565SEmmanuel Vadot  - |
51*e67e8565SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
52*e67e8565SEmmanuel Vadot
53*e67e8565SEmmanuel Vadot    dsi {
54*e67e8565SEmmanuel Vadot        #address-cells = <1>;
55*e67e8565SEmmanuel Vadot        #size-cells = <0>;
56*e67e8565SEmmanuel Vadot
57*e67e8565SEmmanuel Vadot        panel@0 {
58*e67e8565SEmmanuel Vadot            compatible = "sony,tulip-truly-nt35521";
59*e67e8565SEmmanuel Vadot            reg = <0>;
60*e67e8565SEmmanuel Vadot            positive5-supply = <&positive5_reg>;
61*e67e8565SEmmanuel Vadot            negative5-supply = <&negative5_reg>;
62*e67e8565SEmmanuel Vadot            reset-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>;
63*e67e8565SEmmanuel Vadot            enable-gpios = <&msmgpio 10 GPIO_ACTIVE_HIGH>;
64*e67e8565SEmmanuel Vadot
65*e67e8565SEmmanuel Vadot            port {
66*e67e8565SEmmanuel Vadot                panel_in: endpoint {
67*e67e8565SEmmanuel Vadot                    remote-endpoint = <&dsi0_out>;
68*e67e8565SEmmanuel Vadot                };
69*e67e8565SEmmanuel Vadot            };
70*e67e8565SEmmanuel Vadot        };
71*e67e8565SEmmanuel Vadot    };
72*e67e8565SEmmanuel Vadot...
73