| 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 AMOLED DDIC |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Casey Connolly <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
The SW43408 is display driver IC with connected panel. |
| 14 |
|
| 15 |
LG LH546WF1-ED01 panel is used on the Pixel 3, it is a 60hz OLED panel |
| 16 |
which required DSC (Display Stream Compression) and has rounded corners. |
| 17 |
|
| 18 |
allOf: |
| 19 |
- $ref: panel-common.yaml# |
| 20 |
|
| 21 |
properties: |
| 22 |
compatible: |
| 23 |
items: |
| 24 |
- enum: |
| 25 |
# LG 5.46 inch, 1080x2160 pixels, 18:9 ratio |
| 26 |
- lg,sw43408-lh546wf1-ed01 |
| 27 |
- const: lg,sw43408 |
| 28 |
|
| 29 |
reg: |
| 30 |
maxItems: 1 |
| 31 |
|
| 32 |
port: true |
| 33 |
vddi-supply: true |
| 34 |
vpnl-supply: true |
| 35 |
reset-gpios: true |
| 36 |
|
| 37 |
required: |
| 38 |
- compatible |
| 39 |
- vddi-supply |
| 40 |
- vpnl-supply |
| 41 |
- reset-gpios |
| 42 |
|
| 43 |
additionalProperties: false |
| 44 |
|
| 45 |
examples: |
| 46 |
- | |
| 47 |
#include <dt-bindings/gpio/gpio.h> |
| 48 |
|
| 49 |
dsi { |
| 50 |
#address-cells = <1>; |
| 51 |
#size-cells = <0>; |
| 52 |
|
| 53 |
panel@0 { |
| 54 |
compatible = "lg,sw43408-lh546wf1-ed01", "lg,sw43408"; |
| 55 |
reg = <0>; |
| 56 |
|
| 57 |
vddi-supply = <&vreg_l14a_1p88>; |
| 58 |
vpnl-supply = <&vreg_l28a_3p0>; |
| 59 |
|
| 60 |
reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; |
| 61 |
|
| 62 |
port { |
| 63 |
endpoint { |
| 64 |
remote-endpoint = <&mdss_dsi0_out>; |
| 65 |
}; |
| 66 |
}; |
| 67 |
}; |
| 68 |
}; |
| 69 |
... |