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