aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-u300/regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-u300/regulator.c')
-rw-r--r--arch/arm/mach-u300/regulator.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/mach-u300/regulator.c b/arch/arm/mach-u300/regulator.c
index bbda954e00fd..ab7d7a519b2f 100644
--- a/arch/arm/mach-u300/regulator.c
+++ b/arch/arm/mach-u300/regulator.c
@@ -17,9 +17,12 @@
17#include <linux/regulator/consumer.h> 17#include <linux/regulator/consumer.h>
18/* Those are just for writing in syscon */ 18/* Those are just for writing in syscon */
19#include <linux/io.h> 19#include <linux/io.h>
20#include <asm/mach-types.h> 20#include <mach/u300-regs.h>
21#include <mach/hardware.h> 21
22#include <mach/syscon.h> 22/* Power Management Control 16bit (R/W) */
23#define U300_SYSCON_PMCR (0x50)
24#define U300_SYSCON_PMCR_DCON_ENABLE (0x0002)
25#define U300_SYSCON_PMCR_PWR_MGNT_ENABLE (0x0001)
23 26
24/* 27/*
25 * Regulators that power the board and chip and which are 28 * Regulators that power the board and chip and which are