[U-Boot] [u-boot] [v4] armv8: ls1028ardb: enable DisplayPort Power support

Jagdish Gediya jagdish.gediya at nxp.com
Mon Nov 18 04:49:54 UTC 2019


Hi Wen,

> -----Original Message-----
> From: u-boot-bounces at linux.nxdi.nxp.com <u-boot-
> bounces at linux.nxdi.nxp.com> On Behalf Of Wen He
> Sent: Wednesday, November 6, 2019 1:20 PM
> To: u-boot at lists.denx.de; u-boot at linux.nxdi.nxp.com
> Cc: Wen He <wen.he_1 at nxp.com>
> Subject: [u-boot] [v4] 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 at nxp.com>
> ---
>  board/freescale/ls1028a/ls1028a.c | 14 ++++++++++++++
> include/configs/ls1028a_common.h  |  3 +++
>  2 files changed, 17 insertions(+)
> 
> diff --git a/board/freescale/ls1028a/ls1028a.c
> b/board/freescale/ls1028a/ls1028a.c
> index 095971448f..c71ed21e9f 100644
> --- a/board/freescale/ls1028a/ls1028a.c
> +++ b/board/freescale/ls1028a/ls1028a.c
> @@ -83,6 +83,20 @@ int board_init(void)
>  		dm_i2c_write(dev, 0x0b, &val, 1);
>  #endif
> 
Remove above unnecessary blank line.
> +#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);
> +
Remove above unnecessary blank line too.
>  #endif

--Jagdish


More information about the U-Boot mailing list