summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorWyon Bi <bivvy.bi@rock-chips.com>2018-04-27 17:58:15 +0800
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-02-09 22:49:21 +0100
commit331ac1cf6e09d90e7d9ab39445bc8812ff33f178 (patch)
tree2fd213c0bea060d8aff63f2e69655ca99da93060 /Documentation
parent4f82b464966988b3d7869f203b89c898f956ddac (diff)
drm/bridge: Add support for Lontium LT8912
The Lontium LT8912 MIPI-DSI to LVDS and HDMI/MHL bridge features a single-channel MIPI D-PHY receiver front-end configuration with 4 data lanes per channel operating at 1.5Gbps per data lane and a maximum input bandwidth of 6Gbps. Change-Id: I7733ea5f33094151bb62e62406561cc0025cf900 Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com> Import and forward port to 4.9 (API change of_get_drm_display_mode() ) from https://github.com/rockchip-linux/kernel/commit/230f7f061036a99fc02d2cd7d20f66f7f0efae99 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> drop drm_atomic_helper_connector_dpms, see 7d902c05b drm: Nuke drm_atomic_helper_connector_dpms (cherry picked from commit 265fac62bf9defe0de5c1ce088013b61c9b46fb7) (cherry picked from commit 7d2bdcf5aa35191aa0810884ea8eef944059269c)
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/display/bridge/lontium,lt8912.txt41
-rw-r--r--Documentation/devicetree/bindings/vendor-prefixes.txt1
2 files changed, 42 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/display/bridge/lontium,lt8912.txt b/Documentation/devicetree/bindings/display/bridge/lontium,lt8912.txt
new file mode 100644
index 000000000000..0d0378febadb
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/bridge/lontium,lt8912.txt
@@ -0,0 +1,41 @@
+Lontium LT8912 MIPI-DSI to LVDS and HDMI/MHL bridge bindings
+
+Required properties:
+ - compatible: "lontium,lt8912"
+ - reg: virtual channel id
+ - reset-gpios: a GPIO spec for the reset pin
+ - i2c-bus: phandle of an I2C controller used for register access
+ - display-timings : Refer to binding doc display-timing.txt for details
+
+Example:
+
+&dsi {
+ status = "okay";
+
+ lt8912@0 {
+ compatible = "lontium,lt8912";
+ reg = <0>;
+ reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>;
+ i2c-bus = <&i2c1>;
+
+ display-timings {
+ native-mode = <&timing0>;
+
+ timing0: timing0 {
+ clock-frequency = <74250000>;
+ hactive = <1280>;
+ vactive = <720>;
+ hfront-porch = <110>;
+ hsync-len = <40>;
+ hback-porch = <220>;
+ vfront-porch = <5>;
+ vsync-len = <5>;
+ vback-porch = <20>;
+ hsync-active = <0>;
+ vsync-active = <0>;
+ de-active = <0>;
+ pixelclk-active = <0>;
+ };
+ };
+ };
+};
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index d8eac2dcfaa7..5af2daa96e14 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -190,6 +190,7 @@ linaro Linaro Limited
linksys Belkin International, Inc. (Linksys)
linux Linux-specific binding
lltc Linear Technology Corporation
+lontium Lontium Semiconductor Corporation
lsi LSI Corp. (LSI Logic)
lwn Liebherr-Werk Nenzing GmbH
macnica Macnica Americas