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