MLK-14970-2 imx8: Update lpi2c power domains for i.MX8QXP
authorYe Li <ye.li@nxp.com>
Tue, 23 May 2017 15:23:31 +0000 (10:23 -0500)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:36:51 +0000 (02:36 +0800)
There two MIPI/LVDS combo modules on i.MX8QXP DC0, different as i.MX8QM.
Update the power domains for the MIPI DSI I2C controllers.

Signed-off-by: Ye Li <ye.li@nxp.com>
arch/arm/include/asm/arch-imx8/i2c.h

index 665a41e..4f1375c 100644 (file)
@@ -48,8 +48,13 @@ static __attribute__((unused)) struct imx_i2c_map i2c_parent_power_desc[] = {
        {13, SC_R_MIPI_0},
        {14, SC_R_DC_0},
        {14, SC_R_MIPI_0},
+#ifdef CONFIG_IMX8QM
        {15, SC_R_DC_1},
        {15, SC_R_MIPI_1},
+#else
+       {15, SC_R_DC_0},
+       {15, SC_R_MIPI_1},
+#endif
        {16, SC_R_DC_1},
        {16, SC_R_MIPI_1},
 };