diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2014-03-16 12:48:09 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2014-03-16 12:48:09 +0100 |
commit | ccd521c4681a5850bbec1feec140eeaec33936b0 (patch) | |
tree | d3bea22f4cb875c1a15955f0b6a5ea8c72b925e4 /arch | |
parent | 0c54b63eb82b048449c05372ecd0e707d6ee32fa (diff) |
colibri_t20: disable PMIC sleep mode on low supply voltageColibri_T30_LinuxImageV2.1Beta3_20140318Colibri_T20_LinuxImageV2.1Beta3_20140318Apalis_T30_LinuxImageV2.1Beta3_20140318
The Colibri T20's PMIC enters a sleep mode on low supply voltage < 3.0V
±2.5% (2.92...3.08V). Rising the main supply voltage again does not
bring it back to regular operation. Not even a full reset does bring
the module back. A full power cycle was required to reboot the system.
A long positive pulse on the PMICs resume pin also reboots the system
but this pin is only accessible as a test point on the module.
This patch configures the PMIC through I2C to not enter this sleep mode
plus force it to normal state upon sleep request exit should this ever
happen.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/arch-tegra2/pmu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-tegra2/pmu.h b/arch/arm/include/asm/arch-tegra2/pmu.h index 0faf07c3db4..6cf363df7d5 100644 --- a/arch/arm/include/asm/arch-tegra2/pmu.h +++ b/arch/arm/include/asm/arch-tegra2/pmu.h @@ -27,6 +27,10 @@ #define DVC_I2C_BUS_NUMBER 0 #define PMU_I2C_ADDRESS 0x34 +#define PMU_SUPPLYENE 0x14 +#define PMU_SUPPLYENE_SYSINEN (1<<5) +#define PMU_SUPPLYENE_EXITSLREQ (1<<1) + #define PMU_CORE_VOLTAGE_REG 0x26 #define PMU_CPU_VOLTAGE_REG 0x23 #define PMU_SUPPLY_CONTROL_REG1 0x20 |