pit: Configure the pinmux for the i2c busses that are connected on pit.
BUG=chrome-os-partner:19420 TEST=Built and booted into depthcharge on pit. Saw that depthcharge could talk to the TPM over i2c. BRANCH=None Change-Id: I08c483bf57b17ed923dee0715e1a244ff607bd64 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/59731 Reviewed-by: Hung-Te Lin <hungte@chromium.org> Commit-Queue: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org>
This commit is contained in:
parent
651af7a366
commit
4d7d1ed821
1 changed files with 13 additions and 0 deletions
|
|
@ -159,6 +159,17 @@ static void disable_usb30_pll(void)
|
|||
gpio_direction_output(usb3_pll_l, 0);
|
||||
}
|
||||
|
||||
static void gpio_init(void)
|
||||
{
|
||||
/* Set up the I2C busses. */
|
||||
exynos_pinmux_i2c2();
|
||||
exynos_pinmux_i2c4();
|
||||
exynos_pinmux_i2c7();
|
||||
exynos_pinmux_i2c8();
|
||||
exynos_pinmux_i2c9();
|
||||
exynos_pinmux_i2c10();
|
||||
}
|
||||
|
||||
/* this happens after cpu_init where exynos resources are set */
|
||||
static void mainboard_init(device_t dev)
|
||||
{
|
||||
|
|
@ -169,6 +180,8 @@ static void mainboard_init(device_t dev)
|
|||
};
|
||||
void *fb_addr;
|
||||
|
||||
gpio_init();
|
||||
|
||||
tmu_init(&exynos5420_tmu_info);
|
||||
|
||||
/* Clock Gating all the unused IP's to save power */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue