Skip to contentSkip to conversation

mfd: Improve performance of later WM1811 revisions

PATCH In review Mark Brown 2 participants 2 messages Feb 29, 2012 – Mar 1, 2012

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 mfd: Improve performance of later WM1811 revisions

Apply tunings from earlier silicon revisions to revisions up to D and also tweak an additional setting for improved DC servo performance.

---

As this applies on top of things queued in regmap (the patches stuff) and seems fairly obvious from a framework point of view I've just gone ahead and applied it.

 drivers/mfd/wm8994-core.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/mfd/wm8994-core.c +3 -0
index 4b36f02..4b8b78c 100644
@@ -361,6 +361,7 @@ static const __devinitdata struct reg_default wm8958_reva_patch[] = {
 
 static const __devinitdata struct reg_default wm1811_reva_patch[] = {
 	{ 0x102, 0x3 },
+	{ 0x56, 0x7 },
 	{ 0x5d, 0x7e },
 	{ 0x5e, 0x0 },
 	{ 0x102, 0x0 },
@@ -524,6 +525,8 @@ static __devinit int wm8994_device_init(struct wm8994 *wm8994, int irq)
 		switch (wm8994->revision) {
 		case 0:
 		case 1:
+		case 2:
+		case 3:
 			regmap_patch = wm1811_reva_patch;
 			patch_regs = ARRAY_SIZE(wm1811_reva_patch);
 			break;
Signature · 1 line
1.7.9.1
Acked-by on v1 1/1
#1 lore raw

Hi Mark,

Quoted 9 lines · Mark Brown

Apply tunings from earlier silicon revisions to revisions up to D and also tweak an additional setting for improved DC servo performance.

---

As this applies on top of things queued in regmap (the patches stuff) and seems fairly obvious from a framework point of view I've just gone ahead and applied it.

Good, thanks. Just in case you want it:

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/