summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/display
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2019-08-06 16:32:33 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-02-12 11:06:02 +0100
commit1de720a6bd97a1e3afbe0b833bc55577ca884c5f (patch)
treec28337aacc9209743f4d5e8efb5ff4b62a98ed5b /Documentation/devicetree/bindings/display
parent6dbea7ff61e4c3594ad8a19299bb792f0490214c (diff)
dt-bindings: lontium,lt8912: follow code change
The driver got converted to a I2C device, DDC/EDID and HPD handling is added. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'Documentation/devicetree/bindings/display')
-rw-r--r--Documentation/devicetree/bindings/display/bridge/lontium,lt8912.txt45
1 files changed, 33 insertions, 12 deletions
diff --git a/Documentation/devicetree/bindings/display/bridge/lontium,lt8912.txt b/Documentation/devicetree/bindings/display/bridge/lontium,lt8912.txt
index 0d0378febadb..b66eae06f194 100644
--- a/Documentation/devicetree/bindings/display/bridge/lontium,lt8912.txt
+++ b/Documentation/devicetree/bindings/display/bridge/lontium,lt8912.txt
@@ -1,26 +1,47 @@
Lontium LT8912 MIPI-DSI to LVDS and HDMI/MHL bridge bindings
-Required properties:
+Required properties and nodes:
- compatible: "lontium,lt8912"
- - reg: virtual channel id
- - reset-gpios: a GPIO spec for the reset pin
+ - hpd-gpios: a GPIO spec for the hot-plug detect pin
+ - port: node referencing the MIPI-DSI source
+ - reg: i2c address of the bridge
- i2c-bus: phandle of an I2C controller used for register access
- - display-timings : Refer to binding doc display-timing.txt for details
+ One of:
+ - ddc-i2c-bus: reference to a DDC-I2C bus for EDID retrival
+ - display-timings: hardcoded display timings if ddc-i2c-bus does not exist.
+ Refer to binding doc display-timing.txt for details
-Example:
+Optional properties:
+ - reset-gpios: a GPIO spec for the reset pin
-&dsi {
- status = "okay";
+Examples:
+&i2c1 {
+ lt8912@48 {
+ compatible = "lontium,lt8912";
+ ddc-i2c-bus = <&i2c0>;
+ hpd-gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>;
+ reg = <0x48>;
+
+ port {
+ lt8912_1_in: endpoint {
+ remote-endpoint = <&mipi_dsi_bridge1_out>;
+ };
+ };
- lt8912@0 {
+&i2c2 {
+ lt8912@48 {
compatible = "lontium,lt8912";
- reg = <0>;
- reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>;
- i2c-bus = <&i2c1>;
+ hpd-gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>;
+ reg = <0x48>;
+
+ port {
+ lt8912_1_in: endpoint {
+ remote-endpoint = <&mipi_dsi_bridge1_out>;
+ };
+ };
display-timings {
native-mode = <&timing0>;
-
timing0: timing0 {
clock-frequency = <74250000>;
hactive = <1280>;