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>
This commit is contained in:
parent
1fb6c01688
commit
4d6ac8d9d9
|
@ -69,6 +69,9 @@ static const struct funit_cfg_data funit_data[] = {
|
||||||
[FUNIT_SBC4] = {"sbc4", offsetof(struct clk_rst_ctlr, clk_src_sbc4),
|
[FUNIT_SBC4] = {"sbc4", offsetof(struct clk_rst_ctlr, clk_src_sbc4),
|
||||||
CLK_U_SET,
|
CLK_U_SET,
|
||||||
CLK_U_SBC4},
|
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),
|
[FUNIT_I2C3] = {"i2c3", offsetof(struct clk_rst_ctlr, clk_src_i2c3),
|
||||||
CLK_U_SET,
|
CLK_U_SET,
|
||||||
CLK_U_I2C3},
|
CLK_U_I2C3},
|
||||||
|
|
|
@ -31,6 +31,7 @@ enum {
|
||||||
FUNIT_NONE = 0,
|
FUNIT_NONE = 0,
|
||||||
FUNIT_INDEX(SBC1),
|
FUNIT_INDEX(SBC1),
|
||||||
FUNIT_INDEX(SBC4),
|
FUNIT_INDEX(SBC4),
|
||||||
|
FUNIT_INDEX(I2C2),
|
||||||
FUNIT_INDEX(I2C3),
|
FUNIT_INDEX(I2C3),
|
||||||
FUNIT_INDEX(I2C5),
|
FUNIT_INDEX(I2C5),
|
||||||
FUNIT_INDEX(SDMMC3),
|
FUNIT_INDEX(SDMMC3),
|
||||||
|
|
Loading…
Reference in New Issue