diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-11-13 03:28:50 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-11-21 10:08:04 -0500 |
commit | 6691ccd0565954f2275fb10cb5e4f0cef4a9ff64 (patch) | |
tree | 07e6450c62ff299bbd3f65431b4442c5a1024632 /drivers/mfd | |
parent | 04575d5a3dc15d762c7428d2745d30b2d448e443 (diff) |
mfd: twl-core: re-group the twl_mapping table for easier reading
Group the twl_mapping table in 5 lines chunks so it is more easier to find
the row we are looking for (if we need to).
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/twl-core.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index bb33b52cfa57..f857097aca5c 100644 --- a/drivers/mfd/twl-core.c +++ b/drivers/mfd/twl-core.c | |||
@@ -189,28 +189,29 @@ static struct twl_mapping twl4030_map[] = { | |||
189 | */ | 189 | */ |
190 | 190 | ||
191 | { 0, TWL4030_BASEADD_USB }, | 191 | { 0, TWL4030_BASEADD_USB }, |
192 | |||
193 | { 1, TWL4030_BASEADD_AUDIO_VOICE }, | 192 | { 1, TWL4030_BASEADD_AUDIO_VOICE }, |
194 | { 1, TWL4030_BASEADD_GPIO }, | 193 | { 1, TWL4030_BASEADD_GPIO }, |
195 | { 1, TWL4030_BASEADD_INTBR }, | 194 | { 1, TWL4030_BASEADD_INTBR }, |
196 | { 1, TWL4030_BASEADD_PIH }, | 195 | { 1, TWL4030_BASEADD_PIH }, |
197 | { 1, TWL4030_BASEADD_TEST }, | ||
198 | 196 | ||
197 | { 1, TWL4030_BASEADD_TEST }, | ||
199 | { 2, TWL4030_BASEADD_KEYPAD }, | 198 | { 2, TWL4030_BASEADD_KEYPAD }, |
200 | { 2, TWL4030_BASEADD_MADC }, | 199 | { 2, TWL4030_BASEADD_MADC }, |
201 | { 2, TWL4030_BASEADD_INTERRUPTS }, | 200 | { 2, TWL4030_BASEADD_INTERRUPTS }, |
202 | { 2, TWL4030_BASEADD_LED }, | 201 | { 2, TWL4030_BASEADD_LED }, |
202 | |||
203 | { 2, TWL4030_BASEADD_MAIN_CHARGE }, | 203 | { 2, TWL4030_BASEADD_MAIN_CHARGE }, |
204 | { 2, TWL4030_BASEADD_PRECHARGE }, | 204 | { 2, TWL4030_BASEADD_PRECHARGE }, |
205 | { 2, TWL4030_BASEADD_PWM0 }, | 205 | { 2, TWL4030_BASEADD_PWM0 }, |
206 | { 2, TWL4030_BASEADD_PWM1 }, | 206 | { 2, TWL4030_BASEADD_PWM1 }, |
207 | { 2, TWL4030_BASEADD_PWMA }, | 207 | { 2, TWL4030_BASEADD_PWMA }, |
208 | |||
208 | { 2, TWL4030_BASEADD_PWMB }, | 209 | { 2, TWL4030_BASEADD_PWMB }, |
209 | { 2, TWL5031_BASEADD_ACCESSORY }, | 210 | { 2, TWL5031_BASEADD_ACCESSORY }, |
210 | { 2, TWL5031_BASEADD_INTERRUPTS }, | 211 | { 2, TWL5031_BASEADD_INTERRUPTS }, |
211 | |||
212 | { 3, TWL4030_BASEADD_BACKUP }, | 212 | { 3, TWL4030_BASEADD_BACKUP }, |
213 | { 3, TWL4030_BASEADD_INT }, | 213 | { 3, TWL4030_BASEADD_INT }, |
214 | |||
214 | { 3, TWL4030_BASEADD_PM_MASTER }, | 215 | { 3, TWL4030_BASEADD_PM_MASTER }, |
215 | { 3, TWL4030_BASEADD_PM_RECEIVER }, | 216 | { 3, TWL4030_BASEADD_PM_RECEIVER }, |
216 | { 3, TWL4030_BASEADD_RTC }, | 217 | { 3, TWL4030_BASEADD_RTC }, |
@@ -273,9 +274,9 @@ static struct twl_mapping twl6030_map[] = { | |||
273 | { SUB_CHIP_ID2, TWL6030_BASEADD_RSV }, | 274 | { SUB_CHIP_ID2, TWL6030_BASEADD_RSV }, |
274 | { SUB_CHIP_ID2, TWL6030_BASEADD_RSV }, | 275 | { SUB_CHIP_ID2, TWL6030_BASEADD_RSV }, |
275 | { SUB_CHIP_ID2, TWL6030_BASEADD_RSV }, | 276 | { SUB_CHIP_ID2, TWL6030_BASEADD_RSV }, |
277 | |||
276 | { SUB_CHIP_ID0, TWL6030_BASEADD_PM_MASTER }, | 278 | { SUB_CHIP_ID0, TWL6030_BASEADD_PM_MASTER }, |
277 | { SUB_CHIP_ID0, TWL6030_BASEADD_PM_SLAVE_MISC }, | 279 | { SUB_CHIP_ID0, TWL6030_BASEADD_PM_SLAVE_MISC }, |
278 | |||
279 | { SUB_CHIP_ID0, TWL6030_BASEADD_RTC }, | 280 | { SUB_CHIP_ID0, TWL6030_BASEADD_RTC }, |
280 | { SUB_CHIP_ID0, TWL6030_BASEADD_MEM }, | 281 | { SUB_CHIP_ID0, TWL6030_BASEADD_MEM }, |
281 | { SUB_CHIP_ID1, TWL6025_BASEADD_CHARGER }, | 282 | { SUB_CHIP_ID1, TWL6025_BASEADD_CHARGER }, |