18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci%YAML 1.2
38c2ecf20Sopenharmony_ci---
48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/display/panel/sharp,lq101r1sx01.yaml#
58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_cititle: Sharp Microelectronics 10.1" WQXGA TFT LCD panel
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_cimaintainers:
108c2ecf20Sopenharmony_ci  - Thierry Reding <treding@nvidia.com>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_cidescription: |
138c2ecf20Sopenharmony_ci  This panel requires a dual-channel DSI host to operate. It supports two modes:
148c2ecf20Sopenharmony_ci  - left-right: each channel drives the left or right half of the screen
158c2ecf20Sopenharmony_ci  - even-odd: each channel drives the even or odd lines of the screen
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci  Each of the DSI channels controls a separate DSI peripheral. The peripheral
188c2ecf20Sopenharmony_ci  driven by the first link (DSI-LINK1), left or even, is considered the primary
198c2ecf20Sopenharmony_ci  peripheral and controls the device. The 'link2' property contains a phandle
208c2ecf20Sopenharmony_ci  to the peripheral driven by the second link (DSI-LINK2, right or odd).
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci  Note that in video mode the DSI-LINK1 interface always provides the left/even
238c2ecf20Sopenharmony_ci  pixels and DSI-LINK2 always provides the right/odd pixels. In command mode it
248c2ecf20Sopenharmony_ci  is possible to program either link to drive the left/even or right/odd pixels
258c2ecf20Sopenharmony_ci  but for the sake of consistency this binding assumes that the same assignment
268c2ecf20Sopenharmony_ci  is chosen as for video mode.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciallOf:
298c2ecf20Sopenharmony_ci  - $ref: panel-common.yaml#
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciproperties:
328c2ecf20Sopenharmony_ci  compatible:
338c2ecf20Sopenharmony_ci    const: sharp,lq101r1sx01
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci  reg: true
368c2ecf20Sopenharmony_ci  power-supply: true
378c2ecf20Sopenharmony_ci  backlight: true
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci  link2:
408c2ecf20Sopenharmony_ci    $ref: /schemas/types.yaml#/definitions/phandle
418c2ecf20Sopenharmony_ci    description: |
428c2ecf20Sopenharmony_ci      phandle to the DSI peripheral on the secondary link. Note that the
438c2ecf20Sopenharmony_ci      presence of this property marks the containing node as DSI-LINK1
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_cirequired:
468c2ecf20Sopenharmony_ci  - compatible
478c2ecf20Sopenharmony_ci  - reg
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ciif:
508c2ecf20Sopenharmony_ci  required:
518c2ecf20Sopenharmony_ci    - link2
528c2ecf20Sopenharmony_cithen:
538c2ecf20Sopenharmony_ci  required:
548c2ecf20Sopenharmony_ci    - power-supply
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ciadditionalProperties: false
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ciexamples:
598c2ecf20Sopenharmony_ci  - |
608c2ecf20Sopenharmony_ci    dsi0: dsi@fd922800 {
618c2ecf20Sopenharmony_ci        #address-cells = <1>;
628c2ecf20Sopenharmony_ci        #size-cells = <0>;
638c2ecf20Sopenharmony_ci        reg = <0xfd922800 0x200>;
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ci        panel: panel@0 {
668c2ecf20Sopenharmony_ci            compatible = "sharp,lq101r1sx01";
678c2ecf20Sopenharmony_ci            reg = <0>;
688c2ecf20Sopenharmony_ci
698c2ecf20Sopenharmony_ci            link2 = <&secondary>;
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_ci            power-supply = <&power>;
728c2ecf20Sopenharmony_ci            backlight = <&backlight>;
738c2ecf20Sopenharmony_ci        };
748c2ecf20Sopenharmony_ci    };
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ci    dsi1: dsi@fd922a00 {
778c2ecf20Sopenharmony_ci        #address-cells = <1>;
788c2ecf20Sopenharmony_ci        #size-cells = <0>;
798c2ecf20Sopenharmony_ci        reg = <0xfd922a00 0x200>;
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ci        secondary: panel@0 {
828c2ecf20Sopenharmony_ci            compatible = "sharp,lq101r1sx01";
838c2ecf20Sopenharmony_ci            reg = <0>;
848c2ecf20Sopenharmony_ci        };
858c2ecf20Sopenharmony_ci    };
868c2ecf20Sopenharmony_ci
878c2ecf20Sopenharmony_ci...
88