Skip to content

Commit 26ddb70

Browse files
authored
Merge pull request #223 from quic-botlagun/lvds
add support for lontium lt9211c bridge by extending the lt9211 driver
2 parents 9821b7d + 91aba9b commit 26ddb70

3 files changed

Lines changed: 876 additions & 70 deletions

File tree

Documentation/devicetree/bindings/display/bridge/lontium,lt9211.yaml

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@
44
$id: http://devicetree.org/schemas/display/bridge/lontium,lt9211.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

7-
title: Lontium LT9211 DSI/LVDS/DPI to DSI/LVDS/DPI bridge.
7+
title: Lontium LT9211/LT9211C DSI/LVDS/DPI to DSI/LVDS/DPI bridge.
88

99
maintainers:
1010
- Marek Vasut <marex@denx.de>
1111

1212
description: |
13-
The LT9211 are bridge devices which convert Single/Dual-Link DSI/LVDS
13+
The LT9211 and LT9211C are bridge devices which convert Single/Dual-Link DSI/LVDS
1414
or Single DPI to Single/Dual-Link DSI/LVDS or Single DPI.
1515
1616
properties:
1717
compatible:
1818
enum:
1919
- lontium,lt9211
20+
- lontium,lt9211c
2021

2122
reg:
2223
maxItems: 1
@@ -91,6 +92,43 @@ examples:
9192
9293
vccio-supply = <&lt9211_1v8>;
9394
95+
ports {
96+
#address-cells = <1>;
97+
#size-cells = <0>;
98+
99+
port@0 {
100+
reg = <0>;
101+
102+
endpoint {
103+
remote-endpoint = <&dsi0_out>;
104+
};
105+
};
106+
107+
port@2 {
108+
reg = <2>;
109+
110+
endpoint {
111+
remote-endpoint = <&panel_in_lvds>;
112+
};
113+
};
114+
};
115+
};
116+
};
117+
- |
118+
#include <dt-bindings/gpio/gpio.h>
119+
120+
i2c {
121+
#address-cells = <1>;
122+
#size-cells = <0>;
123+
124+
lvds-bridge@3b {
125+
compatible = "lontium,lt9211c";
126+
reg = <0x3b>;
127+
128+
reset-gpios = <&tlmm 128 GPIO_ACTIVE_HIGH>;
129+
130+
vccio-supply = <&lt9211c_1v8>;
131+
94132
ports {
95133
#address-cells = <1>;
96134
#size-cells = <0>;

arch/arm64/configs/defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,7 @@ CONFIG_DRM_FSL_LDB=m
963963
CONFIG_DRM_ITE_IT6263=m
964964
CONFIG_DRM_LONTIUM_LT8713SX=m
965965
CONFIG_DRM_LONTIUM_LT8912B=m
966+
CONFIG_DRM_LONTIUM_LT9211=m
966967
CONFIG_DRM_LONTIUM_LT9611=m
967968
CONFIG_DRM_LONTIUM_LT9611UXC=m
968969
CONFIG_DRM_ITE_IT66121=m

0 commit comments

Comments
 (0)