Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: display: Add bindings for JDI LPM102A188A

The LPM102A188A is a 10.2" 2560x1800 IPS panel found in
the Google Pixel C.

Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230807133307.27456-2-diogo.ivo@tecnico.ulisboa.pt

authored by

Diogo Ivo and committed by
Neil Armstrong
a913a739 f5d8f9c0

+94
+94
Documentation/devicetree/bindings/display/panel/jdi,lpm102a188a.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/display/panel/jdi,lpm102a188a.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: JDI LPM102A188A 2560x1800 10.2" DSI Panel 8 + 9 + maintainers: 10 + - Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt> 11 + 12 + description: | 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 screen 15 + - even-odd: each channel drives the even or odd lines of the screen 16 + 17 + Each of the DSI channels controls a separate DSI peripheral. The peripheral 18 + driven by the first link (DSI-LINK1) is considered the primary peripheral 19 + and controls the device. The 'link2' property contains a phandle to the 20 + peripheral driven by the second link (DSI-LINK2). 21 + 22 + allOf: 23 + - $ref: panel-common.yaml# 24 + 25 + properties: 26 + compatible: 27 + const: jdi,lpm102a188a 28 + 29 + reg: true 30 + enable-gpios: true 31 + reset-gpios: true 32 + power-supply: true 33 + backlight: true 34 + 35 + ddi-supply: 36 + description: The regulator that provides IOVCC (1.8V). 37 + 38 + link2: 39 + $ref: /schemas/types.yaml#/definitions/phandle 40 + description: | 41 + phandle to the DSI peripheral on the secondary link. Note that the 42 + presence of this property marks the containing node as DSI-LINK1. 43 + 44 + required: 45 + - compatible 46 + - reg 47 + 48 + if: 49 + required: 50 + - link2 51 + then: 52 + required: 53 + - power-supply 54 + - ddi-supply 55 + - enable-gpios 56 + - reset-gpios 57 + 58 + additionalProperties: false 59 + 60 + examples: 61 + - | 62 + #include <dt-bindings/gpio/gpio.h> 63 + #include <dt-bindings/gpio/tegra-gpio.h> 64 + 65 + dsia: dsi@54300000 { 66 + #address-cells = <1>; 67 + #size-cells = <0>; 68 + reg = <0x0 0x54300000 0x0 0x00040000>; 69 + 70 + link2: panel@0 { 71 + compatible = "jdi,lpm102a188a"; 72 + reg = <0>; 73 + }; 74 + }; 75 + 76 + dsib: dsi@54400000{ 77 + #address-cells = <1>; 78 + #size-cells = <0>; 79 + reg = <0x0 0x54400000 0x0 0x00040000>; 80 + nvidia,ganged-mode = <&dsia>; 81 + 82 + link1: panel@0 { 83 + compatible = "jdi,lpm102a188a"; 84 + reg = <0>; 85 + power-supply = <&pplcd_vdd>; 86 + ddi-supply = <&pp1800_lcdio>; 87 + enable-gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>; 88 + reset-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>; 89 + link2 = <&link2>; 90 + backlight = <&backlight>; 91 + }; 92 + }; 93 + 94 + ...