summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Ghidoli <emanuele.ghidoli@toradex.com>2023-03-28 09:56:17 +0200
committerEmanuele Ghidoli <emanuele.ghidoli@toradex.com>2023-03-29 10:41:03 +0200
commit55f69e2055199570f10407b60b0c78c8add219dc (patch)
tree5c557a3c7cf26490857a12f5b2d8970a3c73da1d
parentf6fbde618e1d162862f0af013d00561e84acffb9 (diff)
arm64: dts: colibri-imx8x: fix dsi to hdmi adapter configuration
Add hdmi_connector and all relevant configurations. Move pinctrl, ddc-i2c-bus and hdp-gpio from lt8912_hdmi to hdmi_connector. Correct lt8912_hdmi compatible and fix its ports configuration. Upstream-Status: Pending No support in upstream linux Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
-rw-r--r--arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi47
1 files changed, 38 insertions, 9 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
index 71a7463d7beb..2538efaef960 100644
--- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
@@ -72,6 +72,23 @@
status = "disabled";
};
+ hdmi_connector: hdmi-connector {
+ compatible = "hdmi-connector";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_gpio_hpd>;
+ ddc-i2c-bus = <&i2c_sw0>;
+ hpd-gpios = <&lsio_gpio1 31 GPIO_ACTIVE_HIGH>;
+ label = "hdmi";
+ type = "a";
+ status = "disabled";
+
+ port {
+ hdmi_connector_in: endpoint {
+ remote-endpoint = <&lt8912_out>;
+ };
+ };
+ };
+
reg_module_3v3: regulator-module-3v3 {
compatible = "regulator-fixed";
regulator-name = "+V3.3";
@@ -365,16 +382,28 @@
#size-cells = <0>;
lt8912_hdmi: dsihdmi@48 {
- compatible = "lontium,lt8912";
+ compatible = "lontium,lt8912b";
reg = <0x48>;
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_gpio_hpd>;
- ddc-i2c-bus = <&i2c_sw0>;
- hpd-gpios = <&lsio_gpio1 31 GPIO_ACTIVE_HIGH>;
-
- port {
- lt8912_in: endpoint {
- remote-endpoint = <&mipi0_dsi_host_out>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ lt8912_in: endpoint {
+ data-lanes = <1 2 3 4>;
+ remote-endpoint = <&mipi0_dsi_host_out>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ lt8912_out: endpoint {
+ remote-endpoint = <&hdmi_connector_in>;
+ };
};
};
};