summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2019-08-06 16:32:33 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2019-08-07 18:27:09 +0200
commitf9b4f2c8596ed559629976c7afa820616f32d135 (patch)
tree11e739042df27a972e45986d24aaeae573d24e49 /Documentation
parent39231e66c73e2b92a7c4fc3309d6f089f02e17de (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')
-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>;