diff options
| author | Balaji T K <balajitk@ti.com> | 2011-02-10 08:14:50 -0500 |
|---|---|---|
| committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-23 05:41:48 -0400 |
| commit | 8e6de4a30294809420ac9a974b4f28b38ebdb38f (patch) | |
| tree | 959d2347144addb920e80ffbf0950d1bcd9a2437 /include/linux/i2c | |
| parent | dae2db30c114cd0dec59b4130c315c9cce351741 (diff) | |
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>
Diffstat (limited to 'include/linux/i2c')
| -rw-r--r-- | include/linux/i2c/twl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h index 58afd9d2c438..0c0d1ae79981 100644 --- a/include/linux/i2c/twl.h +++ b/include/linux/i2c/twl.h | |||
| @@ -698,6 +698,7 @@ struct twl4030_platform_data { | |||
| 698 | struct regulator_init_data *vana; | 698 | struct regulator_init_data *vana; |
| 699 | struct regulator_init_data *vcxio; | 699 | struct regulator_init_data *vcxio; |
| 700 | struct regulator_init_data *vusb; | 700 | struct regulator_init_data *vusb; |
| 701 | struct regulator_init_data *clk32kg; | ||
| 701 | }; | 702 | }; |
| 702 | 703 | ||
| 703 | /*----------------------------------------------------------------------*/ | 704 | /*----------------------------------------------------------------------*/ |
| @@ -777,5 +778,6 @@ static inline int twl4030charger_usb_en(int enable) { return 0; } | |||
| 777 | 778 | ||
| 778 | /* INTERNAL LDOs */ | 779 | /* INTERNAL LDOs */ |
| 779 | #define TWL6030_REG_VRTC 47 | 780 | #define TWL6030_REG_VRTC 47 |
| 781 | #define TWL6030_REG_CLK32KG 48 | ||
| 780 | 782 | ||
| 781 | #endif /* End of __TWL4030_H */ | 783 | #endif /* End of __TWL4030_H */ |
