armv8: ls1028ardb: enable DisplayPort Power support
PATCH v3 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 | 13 +++++++++++++ include/configs/ls1028a_common.h | 3 +++ 2 files changed, 16 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 &= ~(DP_PWD_EN_DEFAULT_MASK ); +QIXIS_WRITE (brdcfg[4 ], reg); +#endif return 0 ; }
include/configs/ls1028a_common.h +3 -0
@@ -219,6 +219,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 v3 1/1 armv8: ls1028ardb: enable DisplayPort Power support
Quoted 17 lines · Wen He
Enable
DP_PWRsignal to power the DP to HDMI converter cable.Signed-off-by Wen He <[email protected]>--- board/freescale/ls1028a/ls1028a.c | 13 +++++++++++++ include/configs/ls1028a_common.h | 3 +++ 2 files changed, 16 insertions(+)board/freescale/ls1028a/ls1028a.c +0
-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 );
board/freescale/ls1028a/ls1028a.c int board_init(void) · line 87
Quoted 10 lines
board/freescale/ls1028a/ls1028a.c +10
-0+#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. +*/
Please use correct multi-line comment format.
board/freescale/ls1028a/ls1028a.c int board_init(void) · line 93
Quoted 6 lines
board/freescale/ls1028a/ls1028a.c +3
-0+ reg &= ~(DP_PWD_EN_DEFAULT_MASK ); +QIXIS_WRITE (brdcfg[4 ], reg); +#endif return 0 ; }
Regards,
Bin
PATCH v3 1/1 armv8: ls1028ardb: enable DisplayPort Power support
Quoted 9 lines
-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Bin Meng
Sent: Thursday, July 25, 2019 1:57 PM
To: Wen He <[email protected]>
Cc: U-Boot Mailing List <[email protected]>
Subject: Re: [U-Boot] [v3] armv8: ls1028ardb: enable DisplayPort Power support
Quoted 6 lines
Quoted 5 lines · Wen He
Enable
DP_PWRsignal to power the DP to HDMI converter cable.Signed-off-by Wen He <[email protected]>---
Hi Wen,
Please work on review comments.
Also.
This patch is only valid when display driver is accepted in upstream Is it accepted?
If display driver not accepted in upstream. Please hold this patch.
--pk