GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / display / panel / sony,tulip-truly-nt35521.yaml
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
7 title: Sony Tulip Truly NT35521 5.24" 1280x720 MIPI-DSI Panel
8
9 maintainers:
10   - Shawn Guo <shawn.guo@linaro.org>
11
12 description: |
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
17 allOf:
18   - $ref: panel-common.yaml#
19
20 properties:
21   compatible:
22     const: sony,tulip-truly-nt35521
23
24   reg: true
25
26   positive5-supply:
27     description: Positive 5V supply
28
29   negative5-supply:
30     description: Negative 5V supply
31
32   reset-gpios: true
33
34   enable-gpios: true
35
36   port: true
37
38 required:
39   - compatible
40   - reg
41   - positive5-supply
42   - negative5-supply
43   - reset-gpios
44   - enable-gpios
45   - port
46
47 additionalProperties: false
48
49 examples:
50   - |
51     #include <dt-bindings/gpio/gpio.h>
52
53     dsi {
54         #address-cells = <1>;
55         #size-cells = <0>;
56
57         panel@0 {
58             compatible = "sony,tulip-truly-nt35521";
59             reg = <0>;
60             positive5-supply = <&positive5_reg>;
61             negative5-supply = <&negative5_reg>;
62             reset-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>;
63             enable-gpios = <&msmgpio 10 GPIO_ACTIVE_HIGH>;
64
65             port {
66                 panel_in: endpoint {
67                     remote-endpoint = <&dsi0_out>;
68                 };
69             };
70         };
71     };
72 ...