diff options
author | Wyon Bi <bivvy.bi@rock-chips.com> | 2018-04-27 17:58:15 +0800 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2020-08-13 16:04:40 +0200 |
commit | 80f7148ae55f87b598fbf633b45c150c52608bcd (patch) | |
tree | bdeea0e38c5b1f17575ee66a0c6452367c3887d0 /Documentation | |
parent | ac29f28770b05bb89a0ac4f818bbd82ee34a4042 (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)
(cherry picked from commit 35243d334a8610385cc3f830f90ab18fd7e7edc5)
Conflicts:
Documentation/devicetree/bindings/vendor-prefixes.txt
drivers/gpu/drm/bridge/Kconfig
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/display/bridge/lontium,lt8912.txt | 41 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 |
2 files changed, 43 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.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index fa5e531928df..b72195020009 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -545,6 +545,8 @@ patternProperties: description: Logic PD, Inc. "^longcheer,.*": description: Longcheer Technology (Shanghai) Co., Ltd. + "^lontium,.*": + description: Lontium Semiconductor Corporation "^lsi,.*": description: LSI Corp. (LSI Logic) "^lwn,.*": |