Chris Ching has uploaded this change for review. ( https://review.coreboot.org/22959
Change subject: soc/amd/stoneyridge: Add I2C support ......................................................................
soc/amd/stoneyridge: Add I2C support
BUG=b:69416132 BRANCH=none TEST=make all
Change-Id: Id940af917c9525aba7bc25eea0821f5f36a36653 Signed-off-by: Chris Ching chingcodes@chromium.org --- A src/soc/amd/common/block/i2c/Kconfig M src/soc/amd/stoneyridge/Kconfig 2 files changed, 16 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/22959/1
diff --git a/src/soc/amd/common/block/i2c/Kconfig b/src/soc/amd/common/block/i2c/Kconfig new file mode 100644 index 0000000..6b6d4c0 --- /dev/null +++ b/src/soc/amd/common/block/i2c/Kconfig @@ -0,0 +1,11 @@ +config SOC_AMD_COMMON_BLOCK_I2C + bool + select DRIVERS_I2C_DESIGNWARE + help + AMD Processor I2C support + +config SOC_AMD_COMMON_BLOCK_I2C_DEBUG + bool + depends on SOC_AMD_COMMON_BLOCK_I2C + help + Enable debug output for I2C diff --git a/src/soc/amd/stoneyridge/Kconfig b/src/soc/amd/stoneyridge/Kconfig index 816de89..921c169 100644 --- a/src/soc/amd/stoneyridge/Kconfig +++ b/src/soc/amd/stoneyridge/Kconfig @@ -46,6 +46,7 @@ select SOC_AMD_PI select SOC_AMD_COMMON select SOC_AMD_COMMON_BLOCK + select SOC_AMD_COMMON_BLOCK_I2C select SOC_AMD_COMMON_BLOCK_PCI select SOC_AMD_COMMON_BLOCK_PI select SOC_AMD_COMMON_BLOCK_PSP @@ -370,4 +371,8 @@ depends on CHROMEOS default "apu/amdfw"
+config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ + int + default 133 + endif # SOC_AMD_STONEYRIDGE_FP4 || SOC_AMD_STONEYRIDGE_FT4