From 354b12f2bd6ff7ed4f6f9238a527c7cee00182a0 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Sat, 2 Mar 2013 18:41:57 +0100 Subject: [PATCH] lpc21xx: Add bits of PCON register --- arch/arm/mach-lpc21xx/defines/lpc21xx.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-lpc21xx/defines/lpc21xx.h b/arch/arm/mach-lpc21xx/defines/lpc21xx.h index 68ae533..cf70764 100644 --- a/arch/arm/mach-lpc21xx/defines/lpc21xx.h +++ b/arch/arm/mach-lpc21xx/defines/lpc21xx.h @@ -555,6 +555,9 @@ #define EXTPOLAR_EXTPOLAR2_m (1<<2) #define EXTPOLAR_EXTPOLAR3_m (1<<3) +/* Power Control */ +#define PCON_IDL (1<<0) +#define PCON_PD (1<<1) // set pin macro #define SET_PIN(GATE,PIN,VAL) \ -- 2.39.2