diff options
author | Jan Samek <jan.samek@siemens.com> | 2022-09-15 16:31:44 +0200 |
---|---|---|
committer | Paul Fagerburg <pfagerburg@chromium.org> | 2022-09-22 15:14:57 +0000 |
commit | 669184434a41945ba239a446a0563d66e3972cfa (patch) | |
tree | fc79061e1869372326ebd15cb90901eac286a3f6 /src/drivers/i2c/ptn3460/Kconfig | |
parent | 514277f7462e338c41c27e37198725923128d039 (diff) |
drivers/i2c/ptn3460: Add early init option
Create Kconfig options and boot state machine callback in ramstage for
an early initialization of the PTN3460 DP-to-LVDS bridge. This allows
showing the bootsplash screen on mainboards utilizing this chip during
the PCI device enumeration.
BUG=none
TEST=Select PTN3460_EARLY_INIT config switch in mainboard Kconfig and
check the log for "Attempting PTN3460 early init" message. If the
board (e.g. siemens/mc_apl7 in this case) is also configured for
showing the bootsplash logo, it should be now visible.
Change-Id: I5424d062b3fb63c78cfced3971376353be11c504
Signed-off-by: Jan Samek <jan.samek@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67681
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Uwe Poeche <uwe.poeche@siemens.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/i2c/ptn3460/Kconfig')
-rw-r--r-- | src/drivers/i2c/ptn3460/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/drivers/i2c/ptn3460/Kconfig b/src/drivers/i2c/ptn3460/Kconfig index 6dcdbc0915..6d3ca2d233 100644 --- a/src/drivers/i2c/ptn3460/Kconfig +++ b/src/drivers/i2c/ptn3460/Kconfig @@ -3,3 +3,17 @@ config DRIVERS_I2C_PTN3460 default n help Enable support for external display bridge (eDP to LVDS) PTN3460. + +config PTN3460_EARLY_INIT + bool + default n + depends on DRIVERS_I2C_PTN3460 + help + Enable early initialization of the PTN3460 DP-to-LVDS bridge + +config PTN3460_EARLY_ADDR + hex + default 0x60 + depends on PTN3460_EARLY_INIT + help + I2C address for early initialization of the PTN3460 DP-to-LVDS bridge |