]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Add support for remapping twl4030-power power states
authorAmit Kucheria <amit.kucheria@verdurent.com>
Mon, 19 Oct 2009 12:11:00 +0000 (15:11 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 13 Dec 2009 18:21:24 +0000 (19:21 +0100)
commitb4ead61e570d7b7bcf20a5a1733dd0bc37236c99
treebbac1d65426eadb7d2b2208a55ead373cdd91790
parent890463f0ff2bc5c62470dba181a5362bf7a5b22e
mfd: Add support for remapping twl4030-power power states

The <RESOURCE>_REMAP register allows configuration of the <RESOURCE> in case
of a sleep or off transition.

Allow this property of resources to be configured (through twl4030_resconfig)
and add code to parse these values to program the registers accordingly.

Signed-off-by: Amit Kucheria <amit.kucheria@verdurent.com>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl4030-power.c
include/linux/i2c/twl4030.h