Skip to contentSkip to conversation

mfd: wm5102: Correct default for LDO1_CONTROL_2

PATCH Applied Mark Brown 3 participants 4 messages Nov 28, 2012 – Nov 30, 2012

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 mfd: wm5102: Correct default for LDO1_CONTROL_2

---
 drivers/mfd/wm5102-tables.c |    1 +
 1 file changed, 1 insertion(+)
drivers/mfd/wm5102-tables.c +1 -0
index 50bbe15..065ffd3 100644
@@ -307,6 +307,7 @@ static const struct reg_default wm5102_reg_default[] = {
 	{ 0x000001AA, 0x0004 },   /* R426   - FLL2 GPIO Clock */ 
 	{ 0x00000200, 0x0006 },   /* R512   - Mic Charge Pump 1 */ 
 	{ 0x00000210, 0x00D4 },   /* R528   - LDO1 Control 1 */ 
+	{ 0x00000212, 0x0001 },   /* R530   - LDO1 Control 2 */ 
 	{ 0x00000213, 0x0344 },   /* R531   - LDO2 Control 1 */ 
 	{ 0x00000218, 0x01A6 },   /* R536   - Mic Bias Ctrl 1 */ 
 	{ 0x00000219, 0x01A6 },   /* R537   - Mic Bias Ctrl 2 */ 
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 10 lines · Mark Brown
---
 drivers/mfd/wm5102-tables.c |    1 +
 1 file changed, 1 insertion(+)
drivers/mfd/wm5102-tables.c +0 -0
index 50bbe15..065ffd3 100644

drivers/mfd/wm5102-tables.c static const struct reg_default wm5102_reg_default[] = { · line 310

Quoted 4 lines
drivers/mfd/wm5102-tables.c +1 -0
@@ -307,6 +307,7 @@ static const struct reg_default wm5102_reg_default[] = {
 	{ 0x000001AA, 0x0004 },   /* R426   - FLL2 GPIO Clock */ 
 	{ 0x00000200, 0x0006 },   /* R512   - Mic Charge Pump 1 */ 
 	{ 0x00000210, 0x00D4 },   /* R528   - LDO1 Control 1 */ 
+	{ 0x00000212, 0x0001 },   /* R530   - LDO1 Control 2 */ 

The default for this register is changed in the register patch to zero should we not leave this setting at zero to match?

author
#2 lore raw
Quoted 6 lines · Charles Keepax

drivers/mfd/wm5102-tables.c static const struct reg_default wm5102_reg_default[] = { · line 310

Quoted 1 line · Mark Brown
drivers/mfd/wm5102-tables.c +1 -0
+	{ 0x00000212, 0x0001 },   /* R530   - LDO1 Control 2 */ 

The default for this register is changed in the register patch to zero should we not leave this setting at zero to match?

The patch file is different for newer revs, I suspect we will be changing the patch for rev A to follow suit.