1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/sharp,lq101r1sx01.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Sharp Microelectronics 10.1" WQXGA TFT LCD panel
8
9maintainers:
10  - Thierry Reding <treding@nvidia.com>
11
12description: |
13  This panel requires a dual-channel DSI host to operate. It supports two modes:
14  - left-right: each channel drives the left or right half of the screen
15  - even-odd: each channel drives the even or odd lines of the screen
16
17  Each of the DSI channels controls a separate DSI peripheral. The peripheral
18  driven by the first link (DSI-LINK1), left or even, is considered the primary
19  peripheral and controls the device. The 'link2' property contains a phandle
20  to the peripheral driven by the second link (DSI-LINK2, right or odd).
21
22  Note that in video mode the DSI-LINK1 interface always provides the left/even
23  pixels and DSI-LINK2 always provides the right/odd pixels. In command mode it
24  is possible to program either link to drive the left/even or right/odd pixels
25  but for the sake of consistency this binding assumes that the same assignment
26  is chosen as for video mode.
27
28allOf:
29  - $ref: panel-common.yaml#
30
31properties:
32  compatible:
33    const: sharp,lq101r1sx01
34
35  reg: true
36  power-supply: true
37  backlight: true
38
39  link2:
40    $ref: /schemas/types.yaml#/definitions/phandle
41    description: |
42      phandle to the DSI peripheral on the secondary link. Note that the
43      presence of this property marks the containing node as DSI-LINK1
44
45required:
46  - compatible
47  - reg
48
49if:
50  required:
51    - link2
52then:
53  required:
54    - power-supply
55
56additionalProperties: false
57
58examples:
59  - |
60    dsi0: dsi@fd922800 {
61        #address-cells = <1>;
62        #size-cells = <0>;
63        reg = <0xfd922800 0x200>;
64
65        panel: panel@0 {
66            compatible = "sharp,lq101r1sx01";
67            reg = <0>;
68
69            link2 = <&secondary>;
70
71            power-supply = <&power>;
72            backlight = <&backlight>;
73        };
74    };
75
76    dsi1: dsi@fd922a00 {
77        #address-cells = <1>;
78        #size-cells = <0>;
79        reg = <0xfd922a00 0x200>;
80
81        secondary: panel@0 {
82            compatible = "sharp,lq101r1sx01";
83            reg = <0>;
84        };
85    };
86
87...
88