97 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/display/panel/jdi,lpm102a188a.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: JDI LPM102A188A 2560x1800 10.2" DSI Panel8 9maintainers:10 - Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>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) is considered the primary peripheral19 and controls the device. The 'link2' property contains a phandle to the20 peripheral driven by the second link (DSI-LINK2).21 22allOf:23 - $ref: panel-common.yaml#24 25properties:26 compatible:27 const: jdi,lpm102a188a28 29 reg:30 maxItems: 131 32 enable-gpios: true33 reset-gpios: true34 power-supply: true35 backlight: true36 37 ddi-supply:38 description: The regulator that provides IOVCC (1.8V).39 40 link2:41 $ref: /schemas/types.yaml#/definitions/phandle42 description: |43 phandle to the DSI peripheral on the secondary link. Note that the44 presence of this property marks the containing node as DSI-LINK1.45 46required:47 - compatible48 - reg49 50if:51 required:52 - link253then:54 required:55 - power-supply56 - ddi-supply57 - enable-gpios58 - reset-gpios59 60additionalProperties: false61 62examples:63 - |64 #include <dt-bindings/gpio/gpio.h>65 #include <dt-bindings/gpio/tegra-gpio.h>66 67 dsia: dsi@54300000 {68 #address-cells = <1>;69 #size-cells = <0>;70 reg = <0x0 0x54300000 0x0 0x00040000>;71 72 link2: panel@0 {73 compatible = "jdi,lpm102a188a";74 reg = <0>;75 };76 };77 78 dsib: dsi@54400000{79 #address-cells = <1>;80 #size-cells = <0>;81 reg = <0x0 0x54400000 0x0 0x00040000>;82 nvidia,ganged-mode = <&dsia>;83 84 link1: panel@0 {85 compatible = "jdi,lpm102a188a";86 reg = <0>;87 power-supply = <&pplcd_vdd>;88 ddi-supply = <&pp1800_lcdio>;89 enable-gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;90 reset-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;91 link2 = <&link2>;92 backlight = <&backlight>;93 };94 };95 96...97