0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/sharp,lq101r1sx01.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Sharp Microelectronics 10.1" WQXGA TFT LCD panel
0008
0009 maintainers:
0010 - Thierry Reding <treding@nvidia.com>
0011
0012 description: |
0013 This panel requires a dual-channel DSI host to operate. It supports two modes:
0014 - left-right: each channel drives the left or right half of the screen
0015 - even-odd: each channel drives the even or odd lines of the screen
0016
0017 Each of the DSI channels controls a separate DSI peripheral. The peripheral
0018 driven by the first link (DSI-LINK1), left or even, is considered the primary
0019 peripheral and controls the device. The 'link2' property contains a phandle
0020 to the peripheral driven by the second link (DSI-LINK2, right or odd).
0021
0022 Note that in video mode the DSI-LINK1 interface always provides the left/even
0023 pixels and DSI-LINK2 always provides the right/odd pixels. In command mode it
0024 is possible to program either link to drive the left/even or right/odd pixels
0025 but for the sake of consistency this binding assumes that the same assignment
0026 is chosen as for video mode.
0027
0028 allOf:
0029 - $ref: panel-common.yaml#
0030
0031 properties:
0032 compatible:
0033 oneOf:
0034 - items:
0035 - const: sharp,lq101r1sx03
0036 - const: sharp,lq101r1sx01
0037 - items:
0038 - const: sharp,lq101r1sx01
0039
0040 reg: true
0041 power-supply: true
0042 backlight: true
0043
0044 link2:
0045 $ref: /schemas/types.yaml#/definitions/phandle
0046 description: |
0047 phandle to the DSI peripheral on the secondary link. Note that the
0048 presence of this property marks the containing node as DSI-LINK1
0049
0050 required:
0051 - compatible
0052 - reg
0053
0054 if:
0055 required:
0056 - link2
0057 then:
0058 required:
0059 - power-supply
0060
0061 additionalProperties: false
0062
0063 examples:
0064 - |
0065 dsi0: dsi@fd922800 {
0066 #address-cells = <1>;
0067 #size-cells = <0>;
0068 reg = <0xfd922800 0x200>;
0069
0070 panel: panel@0 {
0071 compatible = "sharp,lq101r1sx01";
0072 reg = <0>;
0073
0074 link2 = <&secondary>;
0075
0076 power-supply = <&power>;
0077 backlight = <&backlight>;
0078 };
0079 };
0080
0081 dsi1: dsi@fd922a00 {
0082 #address-cells = <1>;
0083 #size-cells = <0>;
0084 reg = <0xfd922a00 0x200>;
0085
0086 secondary: panel@0 {
0087 compatible = "sharp,lq101r1sx01";
0088 reg = <0>;
0089 };
0090 };
0091
0092 ...