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