summaryrefslogtreecommitdiff
path: root/board/freescale/ls1028a/ls1028a.c
diff options
context:
space:
mode:
authorWen He <wen.he_1@nxp.com>2019-11-18 13:26:09 +0800
committerPriyanka Jain <priyanka.jain@nxp.com>2019-12-26 16:00:20 +0530
commitf76d88b06062febf4ede375f92d68984e7f60f1f (patch)
treed4c19109705df18ae5f2d77e6f4a1fd12ead7350 /board/freescale/ls1028a/ls1028a.c
parent7bd1e7b7d1004367762cf595c2de1ed2f08cd0d0 (diff)
armv8: ls1028ardb: enable DisplayPort Power support
Enable DP_PWR signal to power the DP to HDMI converter cable. Signed-off-by: Wen He <wen.he_1@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'board/freescale/ls1028a/ls1028a.c')
-rw-r--r--board/freescale/ls1028a/ls1028a.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/board/freescale/ls1028a/ls1028a.c b/board/freescale/ls1028a/ls1028a.c
index a9606b8865..1151e77531 100644
--- a/board/freescale/ls1028a/ls1028a.c
+++ b/board/freescale/ls1028a/ls1028a.c
@@ -86,7 +86,19 @@ int board_init(void)
if (!i2c_get_chip_for_busnum(0, I2C_MUX_PCA_ADDR_PRI, 1, &dev))
dm_i2c_write(dev, 0x0b, &val, 1);
#endif
+#endif
+#if defined(CONFIG_TARGET_LS1028ARDB)
+ u8 reg;
+
+ reg = QIXIS_READ(brdcfg[4]);
+ /*
+ * Field | Function
+ * 3 | DisplayPort Power Enable (net DP_PWR_EN):
+ * DPPWR | 0= DP_PWR is enabled.
+ */
+ reg &= ~(DP_PWD_EN_DEFAULT_MASK);
+ QIXIS_WRITE(brdcfg[4], reg);
#endif
return 0;
}