Skip to content

Commit bf6302e

Browse files
sumitsemwallumag
authored andcommitted
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 <[email protected]> Signed-off-by: Sumit Semwal <[email protected]> [caleb: convert to yaml] Signed-off-by: Caleb Connolly <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 49c2dd6 commit bf6302e

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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 <[email protected]>
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+
...

0 commit comments

Comments
 (0)