summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra132/funitcfg.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2014-08-13 13:28:20 -0500
committerPatrick Georgi <pgeorgi@google.com>2015-03-26 00:27:11 +0100
commit4d6ac8d9d9561762bf349eb553a36c0379ac23a6 (patch)
tree0aa0748cf6d5c00b0c6aa5a9a6fc13c4d4f5ef5d /src/soc/nvidia/tegra132/funitcfg.c
parent1fb6c01688d2728317f6a533302e51ef6c9c5fd1 (diff)
tegra132: add i2c2 controller to funit library
BUG=chrome-os-partner:31251 BRANCH=None TEST=Built and ran on ryu through depthcharge into recovery mode. Change-Id: Ie49968c47d59b3149fc75e709825129b3cd9b09f Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 0cf78e310e51426371b0632e089eef500d687e48 Original-Change-Id: I76fa8f1c3469b049df7f5bf943701ce18deeb927 Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/212151 Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/8929 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/nvidia/tegra132/funitcfg.c')
-rw-r--r--src/soc/nvidia/tegra132/funitcfg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/nvidia/tegra132/funitcfg.c b/src/soc/nvidia/tegra132/funitcfg.c
index 66fe634b6d..7c3a9d9b3b 100644
--- a/src/soc/nvidia/tegra132/funitcfg.c
+++ b/src/soc/nvidia/tegra132/funitcfg.c
@@ -69,6 +69,9 @@ static const struct funit_cfg_data funit_data[] = {
[FUNIT_SBC4] = {"sbc4", offsetof(struct clk_rst_ctlr, clk_src_sbc4),
CLK_U_SET,
CLK_U_SBC4},
+ [FUNIT_I2C2] = {"i2c2", offsetof(struct clk_rst_ctlr, clk_src_i2c2),
+ CLK_H_SET,
+ CLK_H_I2C2},
[FUNIT_I2C3] = {"i2c3", offsetof(struct clk_rst_ctlr, clk_src_i2c3),
CLK_U_SET,
CLK_U_I2C3},