armv8: ls1028ardb: enable DisplayPort Power support
PATCH v4 1/1 armv8: ls1028ardb: enable DisplayPort Power support
Enable DP_PWR signal to power the DP to HDMI converter cable.
--- board/freescale/ls1028a/ls1028a.c | 14 ++++++++++++++ include/configs/ls1028a_common.h | 3 +++ 2 files changed, 17 insertions(+)
board/freescale/ls1028a/ls1028a.c +14 -0
@@ -83,6 +83,20 @@ int board_init(void)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 ; }
include/configs/ls1028a_common.h +3 -0
@@ -192,6 +192,9 @@#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5 +/* DisplayPort */ +#define DP_PWD_EN_DEFAULT_MASK 0x8 +#ifdef CONFIG_SECURE_BOOT #include <asm/fsl_secure_boot.h> #endif
Signature · 1 line
2.17.1
PATCH v4 1/1 armv8: ls1028ardb: enable DisplayPort Power support
Hi Wen,
Quoted 22 lines
-----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 <[email protected]>
Subject: [u-boot] [v4] armv8: ls1028ardb: enable DisplayPort Power supportEnable
DP_PWRsignal to power the DP to HDMI converter cable.Signed-off-by Wen He <[email protected]>--- board/freescale/ls1028a/ls1028a.c | 14 ++++++++++++++ include/configs/ls1028a_common.h | 3 +++ 2 files changed, 17 insertions(+)board/freescale/ls1028a/ls1028a.c +0
-0
board/freescale/ls1028a/ls1028a.c int board_init(void) · line 85
Quoted 3 lines
board/freescale/ls1028a/ls1028a.c +0
-0@@ -83,6 +83,20 @@ int board_init(void)dm_i2c_write (dev,0x0b , &val,1 );#endif
Remove above unnecessary blank line.
Quoted 4 lines
board/freescale/ls1028a/ls1028a.c +4
-0+#endif + +#if defined(CONFIG_TARGET_LS1028ARDB ) +u8 reg;
board/freescale/ls1028a/ls1028a.c int board_init(void) · line 99
Quoted 10 lines
board/freescale/ls1028a/ls1028a.c +10
-0+ + 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.
board/freescale/ls1028a/ls1028a.c int board_init(void) · line 100
Quoted 1 line
board/freescale/ls1028a/ls1028a.c +0
-0#endif
--Jagdish
PATCH v4 1/1 armv8: ls1028ardb: enable DisplayPort Power support
Quoted 40 lines
-----Original Message-----
From: Jagdish Gediya <[email protected]>
Sent: 2019年11月18日 12:50
To: Wen He <[email protected]>; u-boot at lists.denx.de; u-boot at linux.nxdi.nxp.com
Cc: Wen He <[email protected]>
Subject: RE: [u-boot] [v4] armv8: ls1028ardb: enable DisplayPort Power supportHi Wen,
Quoted 23 lines
-----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 <[email protected]>
Subject: [u-boot] [v4] armv8: ls1028ardb: enable DisplayPort Power supportEnable
DP_PWRsignal to power the DP to HDMI converter cable.Signed-off-by Wen He <[email protected]>--- board/freescale/ls1028a/ls1028a.c | 14 ++++++++++++++ include/configs/ls1028a_common.h | 3 +++ 2 files changed, 17 insertions(+)board/freescale/ls1028a/ls1028a.c +0
-0board/freescale/ls1028a/ls1028a.c int board_init(void) · line 85
Quoted 3 lines
board/freescale/ls1028a/ls1028a.c +0
-0@@ -83,6 +83,20 @@ int board_init(void)dm_i2c_write (dev,0x0b , &val,1 );#endif Remove above unnecessary blank line.
Quoted 15 lines
Quoted 4 lines
board/freescale/ls1028a/ls1028a.c +4
-0+#endif + +#if defined(CONFIG_TARGET_LS1028ARDB ) +u8 reg;board/freescale/ls1028a/ls1028a.c int board_init(void) · line 99
Quoted 10 lines
board/freescale/ls1028a/ls1028a.c +10
-0+ + 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.
Understand, thanks.
Best Regards,
Wen
Quoted 3 lines
board/freescale/ls1028a/ls1028a.c int board_init(void) · line 100
Quoted 1 line
board/freescale/ls1028a/ls1028a.c +0
-0#endif --Jagdish