brintos

brintos / linux-shallow public Read only

0
0
Text · 2.4 KiB · ce820b9 Raw
95 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---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 panel8 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 screen15  - even-odd: each channel drives the even or odd lines of the screen16 17  Each of the DSI channels controls a separate DSI peripheral. The peripheral18  driven by the first link (DSI-LINK1), left or even, is considered the primary19  peripheral and controls the device. The 'link2' property contains a phandle20  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/even23  pixels and DSI-LINK2 always provides the right/odd pixels. In command mode it24  is possible to program either link to drive the left/even or right/odd pixels25  but for the sake of consistency this binding assumes that the same assignment26  is chosen as for video mode.27 28allOf:29  - $ref: panel-common.yaml#30 31properties:32  compatible:33    oneOf:34      - items:35          - const: sharp,lq101r1sx0336          - const: sharp,lq101r1sx0137      - enum:38          - sharp,lq101r1sx0139 40  reg:41    maxItems: 142 43  power-supply: true44  backlight: true45 46  link2:47    $ref: /schemas/types.yaml#/definitions/phandle48    description: |49      phandle to the DSI peripheral on the secondary link. Note that the50      presence of this property marks the containing node as DSI-LINK151 52required:53  - compatible54  - reg55 56if:57  required:58    - link259then:60  required:61    - power-supply62 63additionalProperties: false64 65examples:66  - |67    dsi0: dsi@fd922800 {68        #address-cells = <1>;69        #size-cells = <0>;70        reg = <0xfd922800 0x200>;71 72        panel: panel@0 {73            compatible = "sharp,lq101r1sx01";74            reg = <0>;75 76            link2 = <&secondary>;77 78            power-supply = <&power>;79            backlight = <&backlight>;80        };81    };82 83    dsi1: dsi@fd922a00 {84        #address-cells = <1>;85        #size-cells = <0>;86        reg = <0xfd922a00 0x200>;87 88        secondary: panel@0 {89            compatible = "sharp,lq101r1sx01";90            reg = <0>;91        };92    };93 94...95