omap3: pm: Use generic TRITON power scripts for 3430SDP board
Subsystems (3)
PATCH v4 4/5 omap3: pm: Use generic TRITON power scripts for 3430SDP board
This patch will removed the sleep/wakeup/warm_rest sequence from the 3430SDP board file and use the generic script.
Modified the resource config structure in the board file for using generic script. Updating the sleep/wakeup/warm_rest sequence & voltsetup_time in the board file from generic script file.
Signed-off-by Lesly A M <[email protected]>
Cc Nishanth Menon <[email protected]>
Cc David Derrick <[email protected]>
Cc Samuel Ortiz <[email protected]>
--- arch/arm/mach-omap2/Makefile | 3 +- arch/arm/mach-omap2/board-3430sdp.c | 109 +++++++++-------------------------- include/linux/i2c/twl.h | 4 + 3 files changed, 33 insertions(+), 83 deletions(-)
arch/arm/mach-omap2/Makefile +2 -1
@@ -120,7 +120,8 @@ obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o \ hsmmc.o obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \ hsmmc.o \ - board-sdp-flash.o + board-sdp-flash.o \ + twl4030-script.o obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \ board-rx51-sdram.o \
arch/arm/mach-omap2/board-3430sdp.c +27 -82
132 lines not on this page · raw message
include/linux/i2c/twl.h +4 -0
@@ -371,6 +371,7 @@ int twl6030_interrupt_mask(u8 bit_mask, u8 offset);#define DEV_GRP_P1 0x1/* P1: all OMAP devices */ #define DEV_GRP_P2 0x2/* P2: all Modem devices */ #define DEV_GRP_P3 0x4/* P3: all peripheral devices */ +#define DEV_GRP_ALL 0x7/* P1/P2/P3: all devices */ /* Resource groups */ #define RES_GRP_RES 0x0/* Reserved */
@@ -383,7 +384,10 @@ int twl6030_interrupt_mask(u8 bit_mask, u8 offset);#define RES_GRP_ALL 0x7/* All resource groups */ #define RES_TYPE2_R0 0x0 +#define RES_TYPE2_R1 0x1 +#define RES_TYPE2_R2 0x2 +#define RES_TYPE_R0 0x0#define RES_TYPE_ALL 0x7/* Resource states */
Signature · 1 line
1.6.0.4