diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-04 22:53:09 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-06 01:32:16 -0500 |
commit | 9a412cdb1ab0ad984b76debfe562cb7a2c815371 (patch) | |
tree | c3d18202d96d8e4a0cb5be077d6a6f33346d6d0a /drivers/mfd/wm5102-tables.c | |
parent | 1fd9c467b4f7e08beee41f9771396f39265f4c08 (diff) |
mfd: wm5102: Map in additional FLL control registers
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/mfd/wm5102-tables.c')
-rw-r--r-- | drivers/mfd/wm5102-tables.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c index a433f580aa4c..8a6ce8c12505 100644 --- a/drivers/mfd/wm5102-tables.c +++ b/drivers/mfd/wm5102-tables.c | |||
@@ -290,12 +290,14 @@ static const struct reg_default wm5102_reg_default[] = { | |||
290 | { 0x00000176, 0x0000 }, /* R374 - FLL1 Control 6 */ | 290 | { 0x00000176, 0x0000 }, /* R374 - FLL1 Control 6 */ |
291 | { 0x00000177, 0x0181 }, /* R375 - FLL1 Loop Filter Test 1 */ | 291 | { 0x00000177, 0x0181 }, /* R375 - FLL1 Loop Filter Test 1 */ |
292 | { 0x00000178, 0x0000 }, /* R376 - FLL1 NCO Test 0 */ | 292 | { 0x00000178, 0x0000 }, /* R376 - FLL1 NCO Test 0 */ |
293 | { 0x00000179, 0x0000 }, /* R377 - FLL1 Control 7 */ | ||
293 | { 0x00000181, 0x0000 }, /* R385 - FLL1 Synchroniser 1 */ | 294 | { 0x00000181, 0x0000 }, /* R385 - FLL1 Synchroniser 1 */ |
294 | { 0x00000182, 0x0000 }, /* R386 - FLL1 Synchroniser 2 */ | 295 | { 0x00000182, 0x0000 }, /* R386 - FLL1 Synchroniser 2 */ |
295 | { 0x00000183, 0x0000 }, /* R387 - FLL1 Synchroniser 3 */ | 296 | { 0x00000183, 0x0000 }, /* R387 - FLL1 Synchroniser 3 */ |
296 | { 0x00000184, 0x0000 }, /* R388 - FLL1 Synchroniser 4 */ | 297 | { 0x00000184, 0x0000 }, /* R388 - FLL1 Synchroniser 4 */ |
297 | { 0x00000185, 0x0000 }, /* R389 - FLL1 Synchroniser 5 */ | 298 | { 0x00000185, 0x0000 }, /* R389 - FLL1 Synchroniser 5 */ |
298 | { 0x00000186, 0x0000 }, /* R390 - FLL1 Synchroniser 6 */ | 299 | { 0x00000186, 0x0000 }, /* R390 - FLL1 Synchroniser 6 */ |
300 | { 0x00000187, 0x0001 }, /* R391 - FLL1 Synchroniser 7 */ | ||
299 | { 0x00000189, 0x0000 }, /* R393 - FLL1 Spread Spectrum */ | 301 | { 0x00000189, 0x0000 }, /* R393 - FLL1 Spread Spectrum */ |
300 | { 0x0000018A, 0x0004 }, /* R394 - FLL1 GPIO Clock */ | 302 | { 0x0000018A, 0x0004 }, /* R394 - FLL1 GPIO Clock */ |
301 | { 0x00000191, 0x0000 }, /* R401 - FLL2 Control 1 */ | 303 | { 0x00000191, 0x0000 }, /* R401 - FLL2 Control 1 */ |
@@ -306,12 +308,14 @@ static const struct reg_default wm5102_reg_default[] = { | |||
306 | { 0x00000196, 0x0000 }, /* R406 - FLL2 Control 6 */ | 308 | { 0x00000196, 0x0000 }, /* R406 - FLL2 Control 6 */ |
307 | { 0x00000197, 0x0000 }, /* R407 - FLL2 Loop Filter Test 1 */ | 309 | { 0x00000197, 0x0000 }, /* R407 - FLL2 Loop Filter Test 1 */ |
308 | { 0x00000198, 0x0000 }, /* R408 - FLL2 NCO Test 0 */ | 310 | { 0x00000198, 0x0000 }, /* R408 - FLL2 NCO Test 0 */ |
311 | { 0x00000199, 0x0000 }, /* R409 - FLL2 Control 7 */ | ||
309 | { 0x000001A1, 0x0000 }, /* R417 - FLL2 Synchroniser 1 */ | 312 | { 0x000001A1, 0x0000 }, /* R417 - FLL2 Synchroniser 1 */ |
310 | { 0x000001A2, 0x0000 }, /* R418 - FLL2 Synchroniser 2 */ | 313 | { 0x000001A2, 0x0000 }, /* R418 - FLL2 Synchroniser 2 */ |
311 | { 0x000001A3, 0x0000 }, /* R419 - FLL2 Synchroniser 3 */ | 314 | { 0x000001A3, 0x0000 }, /* R419 - FLL2 Synchroniser 3 */ |
312 | { 0x000001A4, 0x0000 }, /* R420 - FLL2 Synchroniser 4 */ | 315 | { 0x000001A4, 0x0000 }, /* R420 - FLL2 Synchroniser 4 */ |
313 | { 0x000001A5, 0x0000 }, /* R421 - FLL2 Synchroniser 5 */ | 316 | { 0x000001A5, 0x0000 }, /* R421 - FLL2 Synchroniser 5 */ |
314 | { 0x000001A6, 0x0000 }, /* R422 - FLL2 Synchroniser 6 */ | 317 | { 0x000001A6, 0x0000 }, /* R422 - FLL2 Synchroniser 6 */ |
318 | { 0x000001A7, 0x0001 }, /* R423 - FLL2 Synchroniser 7 */ | ||
315 | { 0x000001A9, 0x0000 }, /* R425 - FLL2 Spread Spectrum */ | 319 | { 0x000001A9, 0x0000 }, /* R425 - FLL2 Spread Spectrum */ |
316 | { 0x000001AA, 0x0004 }, /* R426 - FLL2 GPIO Clock */ | 320 | { 0x000001AA, 0x0004 }, /* R426 - FLL2 GPIO Clock */ |
317 | { 0x00000200, 0x0006 }, /* R512 - Mic Charge Pump 1 */ | 321 | { 0x00000200, 0x0006 }, /* R512 - Mic Charge Pump 1 */ |
@@ -1051,12 +1055,14 @@ static bool wm5102_readable_register(struct device *dev, unsigned int reg) | |||
1051 | case ARIZONA_FLL1_CONTROL_6: | 1055 | case ARIZONA_FLL1_CONTROL_6: |
1052 | case ARIZONA_FLL1_LOOP_FILTER_TEST_1: | 1056 | case ARIZONA_FLL1_LOOP_FILTER_TEST_1: |
1053 | case ARIZONA_FLL1_NCO_TEST_0: | 1057 | case ARIZONA_FLL1_NCO_TEST_0: |
1058 | case ARIZONA_FLL1_CONTROL_7: | ||
1054 | case ARIZONA_FLL1_SYNCHRONISER_1: | 1059 | case ARIZONA_FLL1_SYNCHRONISER_1: |
1055 | case ARIZONA_FLL1_SYNCHRONISER_2: | 1060 | case ARIZONA_FLL1_SYNCHRONISER_2: |
1056 | case ARIZONA_FLL1_SYNCHRONISER_3: | 1061 | case ARIZONA_FLL1_SYNCHRONISER_3: |
1057 | case ARIZONA_FLL1_SYNCHRONISER_4: | 1062 | case ARIZONA_FLL1_SYNCHRONISER_4: |
1058 | case ARIZONA_FLL1_SYNCHRONISER_5: | 1063 | case ARIZONA_FLL1_SYNCHRONISER_5: |
1059 | case ARIZONA_FLL1_SYNCHRONISER_6: | 1064 | case ARIZONA_FLL1_SYNCHRONISER_6: |
1065 | case ARIZONA_FLL1_SYNCHRONISER_7: | ||
1060 | case ARIZONA_FLL1_SPREAD_SPECTRUM: | 1066 | case ARIZONA_FLL1_SPREAD_SPECTRUM: |
1061 | case ARIZONA_FLL1_GPIO_CLOCK: | 1067 | case ARIZONA_FLL1_GPIO_CLOCK: |
1062 | case ARIZONA_FLL2_CONTROL_1: | 1068 | case ARIZONA_FLL2_CONTROL_1: |
@@ -1067,12 +1073,14 @@ static bool wm5102_readable_register(struct device *dev, unsigned int reg) | |||
1067 | case ARIZONA_FLL2_CONTROL_6: | 1073 | case ARIZONA_FLL2_CONTROL_6: |
1068 | case ARIZONA_FLL2_LOOP_FILTER_TEST_1: | 1074 | case ARIZONA_FLL2_LOOP_FILTER_TEST_1: |
1069 | case ARIZONA_FLL2_NCO_TEST_0: | 1075 | case ARIZONA_FLL2_NCO_TEST_0: |
1076 | case ARIZONA_FLL2_CONTROL_7: | ||
1070 | case ARIZONA_FLL2_SYNCHRONISER_1: | 1077 | case ARIZONA_FLL2_SYNCHRONISER_1: |
1071 | case ARIZONA_FLL2_SYNCHRONISER_2: | 1078 | case ARIZONA_FLL2_SYNCHRONISER_2: |
1072 | case ARIZONA_FLL2_SYNCHRONISER_3: | 1079 | case ARIZONA_FLL2_SYNCHRONISER_3: |
1073 | case ARIZONA_FLL2_SYNCHRONISER_4: | 1080 | case ARIZONA_FLL2_SYNCHRONISER_4: |
1074 | case ARIZONA_FLL2_SYNCHRONISER_5: | 1081 | case ARIZONA_FLL2_SYNCHRONISER_5: |
1075 | case ARIZONA_FLL2_SYNCHRONISER_6: | 1082 | case ARIZONA_FLL2_SYNCHRONISER_6: |
1083 | case ARIZONA_FLL2_SYNCHRONISER_7: | ||
1076 | case ARIZONA_FLL2_SPREAD_SPECTRUM: | 1084 | case ARIZONA_FLL2_SPREAD_SPECTRUM: |
1077 | case ARIZONA_FLL2_GPIO_CLOCK: | 1085 | case ARIZONA_FLL2_GPIO_CLOCK: |
1078 | case ARIZONA_MIC_CHARGE_PUMP_1: | 1086 | case ARIZONA_MIC_CHARGE_PUMP_1: |