summaryrefslogtreecommitdiff
path: root/arch/arm/plat-stmp3xxx
diff options
context:
space:
mode:
authorRobert Lee <robert.lee@freescale.com>2009-12-02 20:54:38 -0600
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-02-12 17:19:43 +0100
commit575610f110adedb204742b7e6b2713d60c76ddb4 (patch)
tree2b482b4e4439102820b2edb8f1a5b0097f00c5b4 /arch/arm/plat-stmp3xxx
parentf00a28efab58c8fd5a35acc7ddeb933c9aa89f9f (diff)
ENGR00118995 iMX23: power supply protection mechanism must be implemented.
iMX23: power supply protection mechanism must be implemented in order to properly protect the SoC from damage or getting into a locked up state. Several chip errata exists which (some are documented and some are not yet documented at the time of this writing). Signed-off-by: Robert Lee <robert.lee@freescale.com>
Diffstat (limited to 'arch/arm/plat-stmp3xxx')
-rw-r--r--arch/arm/plat-stmp3xxx/devices.c33
1 files changed, 32 insertions, 1 deletions
diff --git a/arch/arm/plat-stmp3xxx/devices.c b/arch/arm/plat-stmp3xxx/devices.c
index e55846559362..c0502ac9f506 100644
--- a/arch/arm/plat-stmp3xxx/devices.c
+++ b/arch/arm/plat-stmp3xxx/devices.c
@@ -484,11 +484,42 @@ struct platform_device stmp3xxx_dcp = {
};
static struct resource battery_resource[] = {
- {
+ {/* 0 */
.flags = IORESOURCE_IRQ,
.start = IRQ_VDD5V,
.end = IRQ_VDD5V,
},
+ {/* 1 */
+ .flags = IORESOURCE_IRQ,
+ .start = IRQ_DCDC4P2_BO,
+ .end = IRQ_DCDC4P2_BO,
+ },
+ {/* 2 */
+ .flags = IORESOURCE_IRQ,
+ .start = IRQ_BATT_BRNOUT,
+ .end = IRQ_BATT_BRNOUT,
+ },
+ {/* 3 */
+ .flags = IORESOURCE_IRQ,
+ .start = IRQ_VDDD_BRNOUT,
+ .end = IRQ_VDDD_BRNOUT,
+ },
+ {/* 4 */
+ .flags = IORESOURCE_IRQ,
+ .start = IRQ_VDD18_BRNOUT,
+ .end = IRQ_VDD18_BRNOUT,
+ },
+ {/* 5 */
+ .flags = IORESOURCE_IRQ,
+ .start = IRQ_VDDIO_BRNOUT,
+ .end = IRQ_VDDIO_BRNOUT,
+ },
+ {/* 6 */
+ .flags = IORESOURCE_IRQ,
+ .start = IRQ_VDD5V_DROOP,
+ .end = IRQ_VDD5V_DROOP,
+ },
+
};
struct platform_device stmp3xxx_battery = {