summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Semwal <sumit.semwal@linaro.org>2019-07-01 18:54:23 +0530
committerSumit Semwal <sumit.semwal@linaro.org>2021-01-27 23:55:02 +0530
commit5bc5c34f9fb2631539fe5172cbbe605e4fa3ab8e (patch)
tree9a5c9571c40f8125c53304aa574aa48a0f30cf8f
parentbf90ee49066c8da1548a0ac510baafdb04a87026 (diff)
dt-bindings: panel: Add LG SW43408 MIPI-DSI panel
LG SW43408 is 1080x2160, 4-lane MIPI-DSI panel. Add dt-bingings for it. Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/display/panel/lg,sw43408.txt47
1 files changed, 47 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/display/panel/lg,sw43408.txt b/Documentation/devicetree/bindings/display/panel/lg,sw43408.txt
new file mode 100644
index 000000000000..0955a9f11011
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/lg,sw43408.txt
@@ -0,0 +1,47 @@
+LG model SW43408 DSI display driver
+
+The LG SW43408 is a generic display driver, currently only configured
+for use in the Pixel3 phone based on SDM845 chipset.
+
+Required properties:
+- compatible: should be "lg,sw43408"
+- reg: DSI virtual channel of the peripheral
+- vddi-supply: phandle of the regulator that provides the supply voltage
+ Power IC supply
+- vpnl-supply: phandle of the regulator that provides the supply voltage
+ for positive LCD bias
+- lab-supply: phandle of the regulator that provides the supply voltage
+ for LABIBB
+- reset-gpios: phandle of gpio for reset line
+ This should be 8mA, gpio can be configured using mux, pinctrl, pinctrl-names
+ (active high)
+- ports: This device has one video port driven by one DSIs. Their connections
+ are modeled using the OF graph bindings specified in
+ Documentation/devicetree/bindings/graph.txt.
+ - port@0: DSI input port driven by master DSI
+
+Example:
+
+ dsi@ae94000 {
+ panel@0 {
+ compatible = "lg,sw43408";
+ reg = <0>;
+ vddi-supply = <&vreg_l14a_1p88>;
+ vpnl-supply = <&vreg_l28a_3p0>;
+ lab-supply = <&lab_regulator>;
+
+ reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ lg_sw43408_in_0: endpoint {
+ remote-endpoint = <&dsi0_out>;
+ };
+ };
+ };
+ };
+ };