* [PATCH RESEND 1/3] mfd: arizona: Add MICVDD to mapped regulators
@ 2014-05-19 16:35 Charles Keepax
2014-05-19 16:35 ` [PATCH RESEND 2/3] mfd: wm8997: Add registers for high power mode Charles Keepax
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Charles Keepax @ 2014-05-19 16:35 UTC (permalink / raw)
To: lee.jones; +Cc: sameo, patches, linux-kernel
Currently, MICVDD only binds because it is both the regulator name and
the consumer name and we will always match against the regulator name
regardless of the consumer device. If the regulator was renamed using
the init_data ASoC will no longer be able to locate the supply, as it
will be looking on the CODEC device where as the MICVDD consumer is on
the Arizona device. Add a mapping as we do for the other regulators.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
drivers/mfd/arizona-core.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c
index a45aab9..a068748 100644
--- a/drivers/mfd/arizona-core.c
+++ b/drivers/mfd/arizona-core.c
@@ -575,6 +575,7 @@ static const char *wm5102_supplies[] = {
"CPVDD",
"SPKVDDL",
"SPKVDDR",
+ "MICVDD",
};
static const struct mfd_cell wm5102_devs[] = {
--
1.7.2.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH RESEND 2/3] mfd: wm8997: Add registers for high power mode
2014-05-19 16:35 [PATCH RESEND 1/3] mfd: arizona: Add MICVDD to mapped regulators Charles Keepax
@ 2014-05-19 16:35 ` Charles Keepax
2014-05-19 17:15 ` Lee Jones
2014-05-19 16:35 ` [PATCH RESEND 3/3] mfd: arizona: Correct error message for addition of main IRQ chip Charles Keepax
2014-05-19 17:14 ` [PATCH RESEND 1/3] mfd: arizona: Add MICVDD to mapped regulators Lee Jones
2 siblings, 1 reply; 6+ messages in thread
From: Charles Keepax @ 2014-05-19 16:35 UTC (permalink / raw)
To: lee.jones; +Cc: sameo, patches, linux-kernel
Some output configurations can require a 50Mhz SYSCLK which requires
DCVDD to be 1.8V. This patch adds the registers necessary for
supporting this operational mode.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
drivers/mfd/wm8997-tables.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/wm8997-tables.c b/drivers/mfd/wm8997-tables.c
index 5aa8076..c9c6519 100644
--- a/drivers/mfd/wm8997-tables.c
+++ b/drivers/mfd/wm8997-tables.c
@@ -846,6 +846,7 @@ static bool wm8997_readable_register(struct device *dev, unsigned int reg)
case ARIZONA_RATE_ESTIMATOR_3:
case ARIZONA_RATE_ESTIMATOR_4:
case ARIZONA_RATE_ESTIMATOR_5:
+ case ARIZONA_DYNAMIC_FREQUENCY_SCALING_1:
case ARIZONA_FLL1_CONTROL_1:
case ARIZONA_FLL1_CONTROL_2:
case ARIZONA_FLL1_CONTROL_3:
@@ -880,6 +881,7 @@ static bool wm8997_readable_register(struct device *dev, unsigned int reg)
case ARIZONA_FLL2_GPIO_CLOCK:
case ARIZONA_MIC_CHARGE_PUMP_1:
case ARIZONA_LDO1_CONTROL_1:
+ case ARIZONA_LDO1_CONTROL_2:
case ARIZONA_LDO2_CONTROL_1:
case ARIZONA_MIC_BIAS_CTRL_1:
case ARIZONA_MIC_BIAS_CTRL_2:
--
1.7.2.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH RESEND 3/3] mfd: arizona: Correct error message for addition of main IRQ chip
2014-05-19 16:35 [PATCH RESEND 1/3] mfd: arizona: Add MICVDD to mapped regulators Charles Keepax
2014-05-19 16:35 ` [PATCH RESEND 2/3] mfd: wm8997: Add registers for high power mode Charles Keepax
@ 2014-05-19 16:35 ` Charles Keepax
2014-05-19 17:15 ` Lee Jones
2014-05-19 17:14 ` [PATCH RESEND 1/3] mfd: arizona: Add MICVDD to mapped regulators Lee Jones
2 siblings, 1 reply; 6+ messages in thread
From: Charles Keepax @ 2014-05-19 16:35 UTC (permalink / raw)
To: lee.jones; +Cc: sameo, patches, linux-kernel
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
drivers/mfd/arizona-irq.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c
index 88758ab..17102f5 100644
--- a/drivers/mfd/arizona-irq.c
+++ b/drivers/mfd/arizona-irq.c
@@ -285,7 +285,7 @@ int arizona_irq_init(struct arizona *arizona)
IRQF_ONESHOT, -1, irq,
&arizona->irq_chip);
if (ret != 0) {
- dev_err(arizona->dev, "Failed to add AOD IRQs: %d\n", ret);
+ dev_err(arizona->dev, "Failed to add main IRQs: %d\n", ret);
goto err_aod;
}
--
1.7.2.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH RESEND 1/3] mfd: arizona: Add MICVDD to mapped regulators
2014-05-19 16:35 [PATCH RESEND 1/3] mfd: arizona: Add MICVDD to mapped regulators Charles Keepax
2014-05-19 16:35 ` [PATCH RESEND 2/3] mfd: wm8997: Add registers for high power mode Charles Keepax
2014-05-19 16:35 ` [PATCH RESEND 3/3] mfd: arizona: Correct error message for addition of main IRQ chip Charles Keepax
@ 2014-05-19 17:14 ` Lee Jones
2 siblings, 0 replies; 6+ messages in thread
From: Lee Jones @ 2014-05-19 17:14 UTC (permalink / raw)
To: Charles Keepax; +Cc: sameo, patches, linux-kernel
> Currently, MICVDD only binds because it is both the regulator name and
> the consumer name and we will always match against the regulator name
> regardless of the consumer device. If the regulator was renamed using
> the init_data ASoC will no longer be able to locate the supply, as it
> will be looking on the CODEC device where as the MICVDD consumer is on
> the Arizona device. Add a mapping as we do for the other regulators.
>
> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
> ---
> drivers/mfd/arizona-core.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Applied, thanks.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH RESEND 2/3] mfd: wm8997: Add registers for high power mode
2014-05-19 16:35 ` [PATCH RESEND 2/3] mfd: wm8997: Add registers for high power mode Charles Keepax
@ 2014-05-19 17:15 ` Lee Jones
0 siblings, 0 replies; 6+ messages in thread
From: Lee Jones @ 2014-05-19 17:15 UTC (permalink / raw)
To: Charles Keepax; +Cc: sameo, patches, linux-kernel
> Some output configurations can require a 50Mhz SYSCLK which requires
> DCVDD to be 1.8V. This patch adds the registers necessary for
> supporting this operational mode.
>
> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
> ---
> drivers/mfd/wm8997-tables.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
Applied, thanks.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH RESEND 3/3] mfd: arizona: Correct error message for addition of main IRQ chip
2014-05-19 16:35 ` [PATCH RESEND 3/3] mfd: arizona: Correct error message for addition of main IRQ chip Charles Keepax
@ 2014-05-19 17:15 ` Lee Jones
0 siblings, 0 replies; 6+ messages in thread
From: Lee Jones @ 2014-05-19 17:15 UTC (permalink / raw)
To: Charles Keepax; +Cc: sameo, patches, linux-kernel
> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
> ---
> drivers/mfd/arizona-irq.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
> diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c
> index 88758ab..17102f5 100644
> --- a/drivers/mfd/arizona-irq.c
> +++ b/drivers/mfd/arizona-irq.c
> @@ -285,7 +285,7 @@ int arizona_irq_init(struct arizona *arizona)
> IRQF_ONESHOT, -1, irq,
> &arizona->irq_chip);
> if (ret != 0) {
> - dev_err(arizona->dev, "Failed to add AOD IRQs: %d\n", ret);
> + dev_err(arizona->dev, "Failed to add main IRQs: %d\n", ret);
> goto err_aod;
> }
>
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-05-19 17:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-19 16:35 [PATCH RESEND 1/3] mfd: arizona: Add MICVDD to mapped regulators Charles Keepax
2014-05-19 16:35 ` [PATCH RESEND 2/3] mfd: wm8997: Add registers for high power mode Charles Keepax
2014-05-19 17:15 ` Lee Jones
2014-05-19 16:35 ` [PATCH RESEND 3/3] mfd: arizona: Correct error message for addition of main IRQ chip Charles Keepax
2014-05-19 17:15 ` Lee Jones
2014-05-19 17:14 ` [PATCH RESEND 1/3] mfd: arizona: Add MICVDD to mapped regulators Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox