coreboot-kgpe-d16/src
Werner Zeh a1a3be1df8 mb/siemens/mc_apl7: Init I2C controller before PTN3460 is initialized
When PTN3460_EARLY_INIT is selected, the PTN3460 (DP-2-LVDS-bridge) will
be initialized before all devices are initialized. This is necessary to
get a valid EDID data set into the PTN3460 before the graphic controller
is initialized in order to be able to show a splash screen.

For ptn3460_init() to work properly the I2C bus this bridge is connected
to needs to be initialized. As this I2C bus initialization would be done
too late in the normal flow, it needs to be called here explicitly
before ptn3460_init() to initialize the  I2C bus with the needed
conditions. Otherwise the default I2C settings of the controller will be
used which results in a clock rate too high for this mainboard.

Test=Measure I2C bus signals and make sure that the clock is <= 400 kHz.

Change-Id: I1775fb7c2d29f765224d0e7c7ff9fcd4dbf847c5
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71226
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2022-12-23 15:55:40 +00:00
..
acpi acpi/acpi.c: Add a method to generate IOAPIC DMAR entries from hw 2022-12-06 17:44:20 +00:00
arch cpu/x86: Set up a separate stack for APs 2022-12-23 14:29:01 +00:00
commonlib coreboot_tables: Make existing alignment conventions more explicit 2022-12-22 15:34:28 +00:00
console lib: Hook up libhwbase in romstage 2022-12-17 20:51:38 +00:00
cpu cpu/x86: Set up a separate stack for APs 2022-12-23 14:29:01 +00:00
device device/Kconfig: bump desktop framebuffer max height/width to support 4K 2022-12-17 18:11:04 +00:00
drivers mb/siemens/mc_apl7: Init I2C controller before PTN3460 is initialized 2022-12-23 15:55:40 +00:00
ec tree: Replace And(a,b) with ASL 2.0 syntax 2022-12-23 10:18:55 +00:00
include inc/dev/pci_def.h: add definitions for RCEC EA Ext. Capbility 2022-12-22 19:06:49 +00:00
lib coreboot_tables: Make existing alignment conventions more explicit 2022-12-22 15:34:28 +00:00
mainboard mb/google/geralt: Pass SD card detect GPIO to payloads 2022-12-23 12:54:42 +00:00
northbridge nb/intel/sandybridge/raminit_common.h: Add needed <device/dram/ddr3.h> 2022-12-22 03:26:00 +00:00
sbom
security treewide: Remove duplicated includes 2022-12-21 21:33:40 +00:00
soc soc/intel/cmn/block/pmc: Add pmc_or_mmio32 utility function 2022-12-23 14:22:57 +00:00
southbridge sb/intel/lynxpoint: Add Kconfig option to hide Intel ME 2022-12-23 14:20:39 +00:00
superio tree: Replace And(a,b) with ASL 2.0 syntax 2022-12-23 10:18:55 +00:00
vendorcode vc/amd,soc/amd/mendocino: Add SVC_CMD_GET_PREV_BOOT_STATUS 2022-12-21 13:36:25 +00:00
Kconfig build: List all Kconfigs in CBFS config file, compress it 2022-11-18 17:19:44 +00:00