]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Group and resource assignments for TWL4030
authorPeter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
Sat, 14 Mar 2009 01:16:18 +0000 (01:16 +0000)
committerTony Lindgren <tony@atomide.com>
Fri, 20 Mar 2009 18:50:17 +0000 (11:50 -0700)
commit1679aed476993ee6be7c3069cf345236e2f8ef86
treee238c69993b3d02c17713cb82b09211d81993f2b
parent989f9207562ffca4e83d0329c59efa0059287e46
Group and resource assignments for TWL4030

Introduce support for board specific group assignments of TWL4030
power resources.  The resource type and type2 fields can also be
specified.

Most such power resources are regulators; this hook can be used
to ensure regulators that will never be used get properly disabled,
regardless of what the bootloader does.  Other resources include
control signals like CLKREQ and REGEN; this can properly couple
TWL CLKREQ (out) to OMAP SYSCLK_REQ (in) so retention mode works.

[ dbrownell@users.sourceforge.net: cosmetic and doc updates;
  use the RES_* constants in the regulator driver; fix buildbug ]

Signed-off-by: Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mfd/Kconfig
drivers/mfd/twl4030-power.c
drivers/regulator/twl4030-regulator.c
include/linux/i2c/twl4030.h