armv8: ls1028ardb: enable DisplayPort Power support
PATCH v2 1/1 armv8: ls1028ardb: enable DisplayPort Power support
Enable DP_PWR signal to power the DP to HDMI converter cable.
Signed-off-by Wen He <[email protected]>
--- board/freescale/ls1028a/ls1028a.c | 13 +++++++++++++ 1 file changed, 13 insertions(+)
board/freescale/ls1028a/ls1028a.c +13 -0
@@ -75,6 +75,19 @@ int board_init(void)u8 val =I2C_MUX_CH_DEFAULT ;i2c_write (I2C_MUX_PCA_ADDR_PRI ,0x0b ,1 , &val,1 ); +#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 &= ~(0x08 ); +QIXIS_WRITE (brdcfg[4 ], reg); +#endif return 0 ; }
Signature · 1 line
2.17.1