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

dt-bindings: panel: Add LG SW43408 MIPI-DSI panel

LG SW43408 is 1080x2160, 4-lane MIPI-DSI panel present on Google Pixel 3
phones.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
[caleb: convert to yaml]
Signed-off-by: Caleb Connolly <caleb@connolly.tech>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240408-lg-sw43408-panel-v5-1-4e092da22991@linaro.org

authored by

Sumit Semwal and committed by
Dmitry Baryshkov
bf6302ec 49c2dd6e

+62
+62
Documentation/devicetree/bindings/display/panel/lg,sw43408.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/lg,sw43408.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: LG SW43408 1080x2160 DSI panel 8 + 9 + maintainers: 10 + - Caleb Connolly <caleb.connolly@linaro.org> 11 + 12 + description: 13 + This panel is used on the Pixel 3, it is a 60hz OLED panel which 14 + required DSC (Display Stream Compression) and has rounded corners. 15 + 16 + allOf: 17 + - $ref: panel-common.yaml# 18 + 19 + properties: 20 + compatible: 21 + items: 22 + - const: lg,sw43408 23 + 24 + reg: true 25 + port: true 26 + vddi-supply: true 27 + vpnl-supply: true 28 + reset-gpios: true 29 + 30 + required: 31 + - compatible 32 + - vddi-supply 33 + - vpnl-supply 34 + - reset-gpios 35 + 36 + additionalProperties: false 37 + 38 + examples: 39 + - | 40 + #include <dt-bindings/gpio/gpio.h> 41 + 42 + dsi { 43 + #address-cells = <1>; 44 + #size-cells = <0>; 45 + 46 + panel@0 { 47 + compatible = "lg,sw43408"; 48 + reg = <0>; 49 + 50 + vddi-supply = <&vreg_l14a_1p88>; 51 + vpnl-supply = <&vreg_l28a_3p0>; 52 + 53 + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; 54 + 55 + port { 56 + endpoint { 57 + remote-endpoint = <&mdss_dsi0_out>; 58 + }; 59 + }; 60 + }; 61 + }; 62 + ...