summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2019-06-12 16:11:31 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2019-06-12 16:50:47 +0200
commit82a521bbb0c9704bf2c0ff08a8c0f69efa85a55f (patch)
tree7f22a7beeaeeabae946a06492ce6b4410a583a5a
parentd6bb0d681fb3ead6385914de92d7c1f177205d7d (diff)
colibri-imx8qxp: support dsi to hdmi adapter v1.1atoradex_imx_4.14.78_1.0.0_ga-bring_up
Support DSI to HDMI Adapter V1.1A which uses a NXP PCA9540 I2C switch to avoid interference between Lontium LT8912 and display I2C addresses. Note: The prototype V1.0A ones may still be supported using the DSI_TO_HDMI_V10 define. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-dsihdmi-eval-v3.dts75
1 files changed, 74 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-dsihdmi-eval-v3.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-dsihdmi-eval-v3.dts
index 140d20743907..6a91caaaaeac 100644
--- a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-dsihdmi-eval-v3.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-dsihdmi-eval-v3.dts
@@ -5,6 +5,7 @@
/dts-v1/;
//#define IS_A0_SILICON
+//#define DSI_TO_HDMI_V10
#include "fsl-imx8qxp-colibri-eval-v3.dtsi"
@@ -23,6 +24,78 @@
clock-frequency = <100000>;
status = "okay";
+#ifndef DSI_TO_HDMI_V10
+ /* DSI to HDMI Adapter V1.1A */
+ i2c-switch@70 {
+ compatible = "nxp,pca9540";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x70>;
+ i2c-mux-idle-disconnect;
+
+ i2c@0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0>;
+
+ /* DDC/EDID */
+ };
+
+ i2c@1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <1>;
+
+ lt8912@48 {
+ compatible = "lontium,lt8912";
+ reg = <0x48>;
+
+ port {
+ lt8912_1_in: endpoint {
+ remote-endpoint = <&mipi_dsi_bridge1_out>;
+ };
+ };
+
+ display-timings {
+ native-mode = <&timing1>;
+
+ 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>;
+ };
+
+ timing1: timing1 {
+ clock-frequency = <148500000>;
+ hactive = <1920>;
+ vactive = <1080>;
+ hfront-porch = <88>;
+ hsync-len = <44>;
+ hback-porch = <148>;
+ vfront-porch = <36>;
+ vsync-len = <5>;
+ vback-porch = <4>;
+ hsync-active = <0>;
+ vsync-active = <0>;
+ de-active = <0>;
+ pixelclk-active = <0>;
+ };
+ };
+ };
+ };
+ };
+#else /* DSI_TO_HDMI_V10 */
+ /* DSI to HDMI Adapter V1.0A */
lt8912@48 {
compatible = "lontium,lt8912";
reg = <0x48>;
@@ -69,7 +142,7 @@
};
};
};
-
+#endif /* DSI_TO_HDMI_V10 */
};
&ldb1_phy {