[coreboot-gerrit] Change in coreboot[master]: soc/amd/stoneyridge: Add I2C support

Chris Ching (Code Review) gerrit at coreboot.org
Thu Dec 21 00:08:11 CET 2017


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 at 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

-- 
To view, visit https://review.coreboot.org/22959
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id940af917c9525aba7bc25eea0821f5f36a36653
Gerrit-Change-Number: 22959
Gerrit-PatchSet: 1
Gerrit-Owner: Chris Ching <chingcodes at chromium.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171220/227375c1/attachment.html>


More information about the coreboot-gerrit mailing list