diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-28 16:56:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-28 16:56:35 -0400 |
commit | 30304e5a79d424eb2c8707b3ff0e9b8bf6ab3e8f (patch) | |
tree | 63968fb97b86861e31922515395feef8a110f884 /include/linux/regulator | |
parent | 750f77064a290beb162352077b52c61b04bcae0e (diff) | |
parent | b8589e2a8065b8e7773742b60ae96b63b757bb69 (diff) |
Merge tag 'mfd_3.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6
Pull MFD changes from Samuel Ortiz:
- 4 new drivers: Freescale i.MX on-chip Anatop, Ricoh's RC5T583 and
TI's TPS65090 and TPS65217.
- New variants support (8420, 8520 ab9540), cleanups and bug fixes for
the abx500 and db8500 ST-E chipsets.
- Some minor fixes and update for the wm8994 from Mark.
- The beginning of a long term TWL cleanup effort coming from the TI
folks.
- Various fixes and cleanups for the s5m, TPS659xx, pm860x, and MAX8997
drivers.
Fix up trivial conflicts due to duplicate patches and header file
cleanups (<linux/device.h> removal etc).
* tag 'mfd_3.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (97 commits)
gpio/twl: Add DT support to gpio-twl4030 driver
gpio/twl: Allocate irq_desc dynamically for SPARSE_IRQ support
mfd: Detach twl6040 from the pmic mfd driver
mfd: Replace twl-* pr_ macros by the dev_ equivalent and do various cleanups
mfd: Micro-optimization on twl4030 IRQ handler
mfd: Make twl4030 SIH SPARSE_IRQ capable
mfd: Move twl-core IRQ allocation into twl[4030|6030]-irq files
mfd: Remove references already defineid in header file from twl-core
mfd: Remove unneeded header from twl-core
mfd: Make twl-core not depend on pdata->irq_base/end
ARM: OMAP2+: board-omap4-*: Do not use anymore TWL6030_IRQ_BASE in board files
mfd: Return twl6030_mmc_card_detect IRQ for board setup
Revert "mfd: Add platform data for MAX8997 haptic driver"
mfd: Add support for TPS65090
mfd: Add some da9052-i2c section annotations
mfd: Build rtc5t583 only if I2C config is selected to y.
mfd: Add anatop mfd driver
mfd: Fix compilation error in tps65910.h
mfd: Add 8420 variant to db8500-prcmu
mfd: Add 8520 PRCMU variant to db8500-prcmu
...
Diffstat (limited to 'include/linux/regulator')
-rw-r--r-- | include/linux/regulator/ab8500.h | 70 |
1 files changed, 69 insertions, 1 deletions
diff --git a/include/linux/regulator/ab8500.h b/include/linux/regulator/ab8500.h index 76579f964a2..7bd73bbdfd1 100644 --- a/include/linux/regulator/ab8500.h +++ b/include/linux/regulator/ab8500.h | |||
@@ -26,7 +26,26 @@ enum ab8500_regulator_id { | |||
26 | AB8500_NUM_REGULATORS, | 26 | AB8500_NUM_REGULATORS, |
27 | }; | 27 | }; |
28 | 28 | ||
29 | /* AB8500 register initialization */ | 29 | /* AB9450 regulators */ |
30 | enum ab9540_regulator_id { | ||
31 | AB9540_LDO_AUX1, | ||
32 | AB9540_LDO_AUX2, | ||
33 | AB9540_LDO_AUX3, | ||
34 | AB9540_LDO_AUX4, | ||
35 | AB9540_LDO_INTCORE, | ||
36 | AB9540_LDO_TVOUT, | ||
37 | AB9540_LDO_USB, | ||
38 | AB9540_LDO_AUDIO, | ||
39 | AB9540_LDO_ANAMIC1, | ||
40 | AB9540_LDO_ANAMIC2, | ||
41 | AB9540_LDO_DMIC, | ||
42 | AB9540_LDO_ANA, | ||
43 | AB9540_SYSCLKREQ_2, | ||
44 | AB9540_SYSCLKREQ_4, | ||
45 | AB9540_NUM_REGULATORS, | ||
46 | }; | ||
47 | |||
48 | /* AB8500 and AB9540 register initialization */ | ||
30 | struct ab8500_regulator_reg_init { | 49 | struct ab8500_regulator_reg_init { |
31 | int id; | 50 | int id; |
32 | u8 value; | 51 | u8 value; |
@@ -71,4 +90,53 @@ enum ab8500_regulator_reg { | |||
71 | AB8500_NUM_REGULATOR_REGISTERS, | 90 | AB8500_NUM_REGULATOR_REGISTERS, |
72 | }; | 91 | }; |
73 | 92 | ||
93 | |||
94 | /* AB9540 registers */ | ||
95 | enum ab9540_regulator_reg { | ||
96 | AB9540_REGUREQUESTCTRL1, | ||
97 | AB9540_REGUREQUESTCTRL2, | ||
98 | AB9540_REGUREQUESTCTRL3, | ||
99 | AB9540_REGUREQUESTCTRL4, | ||
100 | AB9540_REGUSYSCLKREQ1HPVALID1, | ||
101 | AB9540_REGUSYSCLKREQ1HPVALID2, | ||
102 | AB9540_REGUHWHPREQ1VALID1, | ||
103 | AB9540_REGUHWHPREQ1VALID2, | ||
104 | AB9540_REGUHWHPREQ2VALID1, | ||
105 | AB9540_REGUHWHPREQ2VALID2, | ||
106 | AB9540_REGUSWHPREQVALID1, | ||
107 | AB9540_REGUSWHPREQVALID2, | ||
108 | AB9540_REGUSYSCLKREQVALID1, | ||
109 | AB9540_REGUSYSCLKREQVALID2, | ||
110 | AB9540_REGUVAUX4REQVALID, | ||
111 | AB9540_REGUMISC1, | ||
112 | AB9540_VAUDIOSUPPLY, | ||
113 | AB9540_REGUCTRL1VAMIC, | ||
114 | AB9540_VSMPS1REGU, | ||
115 | AB9540_VSMPS2REGU, | ||
116 | AB9540_VSMPS3REGU, /* NOTE! PRCMU register */ | ||
117 | AB9540_VPLLVANAREGU, | ||
118 | AB9540_EXTSUPPLYREGU, | ||
119 | AB9540_VAUX12REGU, | ||
120 | AB9540_VRF1VAUX3REGU, | ||
121 | AB9540_VSMPS1SEL1, | ||
122 | AB9540_VSMPS1SEL2, | ||
123 | AB9540_VSMPS1SEL3, | ||
124 | AB9540_VSMPS2SEL1, | ||
125 | AB9540_VSMPS2SEL2, | ||
126 | AB9540_VSMPS2SEL3, | ||
127 | AB9540_VSMPS3SEL1, /* NOTE! PRCMU register */ | ||
128 | AB9540_VSMPS3SEL2, /* NOTE! PRCMU register */ | ||
129 | AB9540_VAUX1SEL, | ||
130 | AB9540_VAUX2SEL, | ||
131 | AB9540_VRF1VAUX3SEL, | ||
132 | AB9540_REGUCTRL2SPARE, | ||
133 | AB9540_VAUX4REQCTRL, | ||
134 | AB9540_VAUX4REGU, | ||
135 | AB9540_VAUX4SEL, | ||
136 | AB9540_REGUCTRLDISCH, | ||
137 | AB9540_REGUCTRLDISCH2, | ||
138 | AB9540_REGUCTRLDISCH3, | ||
139 | AB9540_NUM_REGULATOR_REGISTERS, | ||
140 | }; | ||
141 | |||
74 | #endif | 142 | #endif |