dt-bindings: Add support for Samsung s6e3ha2 panel binding
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Wed, 8 Mar 2017 01:42:35 +0000 (10:42 +0900)
committerThierry Reding <treding@nvidia.com>
Thu, 6 Apr 2017 21:30:55 +0000 (23:30 +0200)
The Samsung s6e3ha2 is a 5.7" 1440x2560 AMOLED panel connected using
MIPI-DSI interfaces.

Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Documentation/devicetree/bindings/display/panel/samsung,s6e3ha2.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6e3ha2.txt b/Documentation/devicetree/bindings/display/panel/samsung,s6e3ha2.txt
new file mode 100644 (file)
index 0000000..18854f4
--- /dev/null
@@ -0,0 +1,28 @@
+Samsung S6E3HA2 5.7" 1440x2560 AMOLED panel
+
+Required properties:
+  - compatible: "samsung,s6e3ha2"
+  - reg: the virtual channel number of a DSI peripheral
+  - vdd3-supply: I/O voltage supply
+  - vci-supply: voltage supply for analog circuits
+  - reset-gpios: a GPIO spec for the reset pin (active low)
+  - enable-gpios: a GPIO spec for the panel enable pin (active high)
+
+Optional properties:
+  - te-gpios: a GPIO spec for the tearing effect synchronization signal
+    gpio pin (active high)
+
+Example:
+&dsi {
+       ...
+
+       panel@0 {
+               compatible = "samsung,s6e3ha2";
+               reg = <0>;
+               vdd3-supply = <&ldo27_reg>;
+               vci-supply = <&ldo28_reg>;
+               reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>;
+               enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>;
+               te-gpios = <&gpf1 3 GPIO_ACTIVE_HIGH>;
+       };
+};