xref: /linux/Documentation/devicetree/bindings/display/panel/sony,tulip-truly-nt35521.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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,tulip-truly-nt35521.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Sony Tulip Truly NT35521 5.24" 1280x720 MIPI-DSI Panel
8
9maintainers:
10  - Shawn Guo <shawn.guo@linaro.org>
11
12description: |
13  The Sony Tulip Truly NT35521 is a 5.24" 1280x720 MIPI-DSI panel, which
14  can be found no Sony Xperia M4 phone.  The panel backlight is managed
15  through DSI link.
16
17allOf:
18  - $ref: panel-common.yaml#
19
20properties:
21  compatible:
22    const: sony,tulip-truly-nt35521
23
24  reg:
25    maxItems: 1
26
27  positive5-supply:
28    description: Positive 5V supply
29
30  negative5-supply:
31    description: Negative 5V supply
32
33  reset-gpios: true
34
35  enable-gpios: true
36
37  port: true
38
39required:
40  - compatible
41  - reg
42  - positive5-supply
43  - negative5-supply
44  - reset-gpios
45  - enable-gpios
46  - port
47
48additionalProperties: false
49
50examples:
51  - |
52    #include <dt-bindings/gpio/gpio.h>
53
54    dsi {
55        #address-cells = <1>;
56        #size-cells = <0>;
57
58        panel@0 {
59            compatible = "sony,tulip-truly-nt35521";
60            reg = <0>;
61            positive5-supply = <&positive5_reg>;
62            negative5-supply = <&negative5_reg>;
63            reset-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>;
64            enable-gpios = <&msmgpio 10 GPIO_ACTIVE_HIGH>;
65
66            port {
67                panel_in: endpoint {
68                    remote-endpoint = <&dsi0_out>;
69                };
70            };
71        };
72    };
73...
74