rush/ryu: restore full-speed clocks to TPM I2C and EC SPI
Now that there's a working udelay() in tegra132, upclock CAM_I2C and SPI1 to the same speeds as used on Nyan. BUG=chrome-os-partner:30998 BRANCH=rush_ryu TEST=Built Rush and tested, no nack errors seen. Change-Id: I58fd03ed3512c2498c793cfe30b0c302e4b0e3d4 Signed-off-by: Tom Warren <twarren@nvidia.com> Reviewed-on: https://chromium-review.googlesource.com/211043 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
4fed296924
commit
859c0d4fde
2 changed files with 3 additions and 3 deletions
|
|
@ -43,11 +43,11 @@ static void configure_clocks(void)
|
|||
{
|
||||
/* EC on SPI1 controller. */
|
||||
clock_enable_clear_reset(0, CLK_H_SBC1, 0, 0, 0, 0);
|
||||
clock_configure_source(sbc1, CLK_M, 500);
|
||||
clock_configure_source(sbc1, CLK_M, 3000);
|
||||
|
||||
/* TPM on I2C3 controller */
|
||||
clock_enable_clear_reset(0, 0, CLK_U_I2C3, 0, 0, 0);
|
||||
clock_configure_i2c_scl_freq(i2c3, PLLP, 19);
|
||||
clock_configure_i2c_scl_freq(i2c3, PLLP, 400);
|
||||
}
|
||||
|
||||
void romstage_mainboard_init(void)
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ static void configure_clocks(void)
|
|||
{
|
||||
/* TPM on I2C3 */
|
||||
clock_enable_clear_reset(0, 0, CLK_U_I2C3, 0, 0, 0);
|
||||
clock_configure_i2c_scl_freq(i2c3, PLLP, 19);
|
||||
clock_configure_i2c_scl_freq(i2c3, PLLP, 400);
|
||||
|
||||
/* EC on I2C2 */
|
||||
clock_enable_clear_reset(0, CLK_H_I2C2, 0, 0, 0, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue