regulator: twl: add clk32kg to twl-regulator
authorBalaji T K <balajitk@ti.com>
Thu, 10 Feb 2011 13:14:50 +0000 (18:44 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 23 Mar 2011 09:41:48 +0000 (10:41 +0100)
commit8e6de4a30294809420ac9a974b4f28b38ebdb38f
tree959d2347144addb920e80ffbf0950d1bcd9a2437
parentdae2db30c114cd0dec59b4130c315c9cce351741
regulator: twl: add clk32kg to twl-regulator

In OMAP4 Blaze and Panda, 32KHz clock to WLAN is supplied from Phoenix
TWL6030. The 32KHz clock state (ON/OFF) is configured in
CLK32KG_CFG_[GRP, TRANS, STATE] register. This follows the same register
programming model as other regulators in TWL6030. So add CLK32KG as pseudo
regulator.

Signed-off-by: Balaji T K <balajitk@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl-core.c
drivers/regulator/twl-regulator.c
include/linux/i2c/twl.h