Patchwork [U-Boot] Tegra114: I2C: Take DVFS out of reset to allow I2C5 (PWR_I2C) to work

login
register
mail settings
Submitter Tom Warren
Date Feb. 27, 2013, 9:10 p.m.
Message ID <1361999401-20354-1-git-send-email-twarren@nvidia.com>
Download mbox | patch
Permalink /patch/223704/
State Accepted
Delegated to: Tom Warren
Headers show

Comments

Tom Warren - Feb. 27, 2013, 9:10 p.m.
I2C driver can now probe dev 0 (PWR_I2C, where the PMU, etc. lives).
This is needed so that the SDIO slot power can be brought up for
the MMC driver, so it has to precede those commits.

Signed-off-by: Tom Warren <twarren@nvidia.com>
---
 arch/arm/cpu/arm720t/tegra114/cpu.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Stephen Warren - Feb. 27, 2013, 9:31 p.m.
On 02/27/2013 02:10 PM, Tom Warren wrote:
> I2C driver can now probe dev 0 (PWR_I2C, where the PMU, etc. lives).
> This is needed so that the SDIO slot power can be brought up for
> the MMC driver, so it has to precede those commits.

Reviewed-by: Stephen Warren <swarren@nvidia.com>

Patch

diff --git a/arch/arm/cpu/arm720t/tegra114/cpu.c b/arch/arm/cpu/arm720t/tegra114/cpu.c
index 5962e15..0b2157a 100644
--- a/arch/arm/cpu/arm720t/tegra114/cpu.c
+++ b/arch/arm/cpu/arm720t/tegra114/cpu.c
@@ -201,6 +201,7 @@  void t114_init_clocks(void)
 	reset_set_enable(PERIPH_ID_MSELECT, 0);
 	reset_set_enable(PERIPH_ID_EMC1, 0);
 	reset_set_enable(PERIPH_ID_MC1, 0);
+	reset_set_enable(PERIPH_ID_DVFS, 0);
 
 	debug("t114_init_clocks exit\n");
 }