* [PATCH 2/5] mfd: arizona: Add DT binding documentation for CODEC 32k clock source
2015-02-28 14:54 [PATCH 1/5] mfd: arizona: Add DT binding for setting 32kHz clock source Charles Keepax
@ 2015-02-28 14:54 ` Charles Keepax
2015-02-28 14:54 ` [PATCH 3/5] mfd: arizona: Add DT binding for the DMIC references Charles Keepax
` (3 subsequent siblings)
4 siblings, 0 replies; 11+ messages in thread
From: Charles Keepax @ 2015-02-28 14:54 UTC (permalink / raw)
To: lee; +Cc: sameo, robh+dt, mark.rutland, galak, devicetree, linux-kernel,
patches
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
Documentation/devicetree/bindings/mfd/arizona.txt | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt
index bfef000..7ca7c1f 100644
--- a/Documentation/devicetree/bindings/mfd/arizona.txt
+++ b/Documentation/devicetree/bindings/mfd/arizona.txt
@@ -36,6 +36,11 @@ Optional properties:
- wlf,reset : GPIO specifier for the GPIO controlling /RESET
- wlf,ldoena : GPIO specifier for the GPIO controlling LDOENA
+ - wlf,clk32k-src : Set input source for the CODEC 32kHz clock. This can be
+ set to None (will be derived internally from SYSCLK), MCLK1, or MCLK2.
+ Defines (ARIZONA_32KZ_xxxx) can be found in <dt-bindings/mfd/arizona.txt>.
+ The default if this entry is not present is MCLK2.
+
- wlf,gpio-defaults : A list of GPIO configuration register values. Defines
for the appropriate values can found in <dt-bindings/mfd/arizona.txt>. If
absent, no configuration of these registers is performed. If any entry has
--
1.7.2.5
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 3/5] mfd: arizona: Add DT binding for the DMIC references
2015-02-28 14:54 [PATCH 1/5] mfd: arizona: Add DT binding for setting 32kHz clock source Charles Keepax
2015-02-28 14:54 ` [PATCH 2/5] mfd: arizona: Add DT binding documentation for CODEC 32k " Charles Keepax
@ 2015-02-28 14:54 ` Charles Keepax
2015-03-02 7:53 ` Lee Jones
2015-02-28 14:54 ` [PATCH 4/5] mfd: arizona: Add DT binding documentation for " Charles Keepax
` (2 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: Charles Keepax @ 2015-02-28 14:54 UTC (permalink / raw)
To: lee; +Cc: sameo, robh+dt, mark.rutland, galak, devicetree, linux-kernel,
patches
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
drivers/mfd/arizona-core.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c
index dddaaef..6002ce9 100644
--- a/drivers/mfd/arizona-core.c
+++ b/drivers/mfd/arizona-core.c
@@ -564,6 +564,16 @@ static int arizona_of_get_core_pdata(struct arizona *arizona)
count++;
}
+ count = 0;
+ of_property_for_each_u32(arizona->dev->of_node, "wlf,dmic-ref", prop,
+ cur, val) {
+ if (count == ARRAY_SIZE(arizona->pdata.dmic_ref))
+ break;
+
+ arizona->pdata.dmic_ref[count] = val;
+ count++;
+ }
+
return 0;
}
--
1.7.2.5
^ permalink raw reply related [flat|nested] 11+ messages in thread* Re: [PATCH 3/5] mfd: arizona: Add DT binding for the DMIC references
2015-02-28 14:54 ` [PATCH 3/5] mfd: arizona: Add DT binding for the DMIC references Charles Keepax
@ 2015-03-02 7:53 ` Lee Jones
2015-03-02 9:32 ` Charles Keepax
0 siblings, 1 reply; 11+ messages in thread
From: Lee Jones @ 2015-03-02 7:53 UTC (permalink / raw)
To: Charles Keepax
Cc: lee, sameo, robh+dt, mark.rutland, galak, devicetree,
linux-kernel, patches
On Sat, 28 Feb 2015, Charles Keepax wrote:
> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
> ---
> drivers/mfd/arizona-core.c | 10 ++++++++++
> 1 files changed, 10 insertions(+), 0 deletions(-)
Same here. Requires DT/Clk Ack.
> diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c
> index dddaaef..6002ce9 100644
> --- a/drivers/mfd/arizona-core.c
> +++ b/drivers/mfd/arizona-core.c
> @@ -564,6 +564,16 @@ static int arizona_of_get_core_pdata(struct arizona *arizona)
> count++;
> }
>
> + count = 0;
> + of_property_for_each_u32(arizona->dev->of_node, "wlf,dmic-ref", prop,
> + cur, val) {
> + if (count == ARRAY_SIZE(arizona->pdata.dmic_ref))
> + break;
> +
> + arizona->pdata.dmic_ref[count] = val;
> + count++;
> + }
> +
> return 0;
> }
>
--
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] 11+ messages in thread* Re: [PATCH 3/5] mfd: arizona: Add DT binding for the DMIC references
2015-03-02 7:53 ` Lee Jones
@ 2015-03-02 9:32 ` Charles Keepax
0 siblings, 0 replies; 11+ messages in thread
From: Charles Keepax @ 2015-03-02 9:32 UTC (permalink / raw)
To: Lee Jones
Cc: lee-DgEjT+Ai2ygdnm+yROfE0A, sameo-VuQAYsv1563Yd54FQh9/CA,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
galak-sgV2jX0FEOL9JmXXK+q4OQ, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
patches-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E
On Mon, Mar 02, 2015 at 07:53:41AM +0000, Lee Jones wrote:
> On Sat, 28 Feb 2015, Charles Keepax wrote:
>
> > Signed-off-by: Charles Keepax <ckeepax-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
> > ---
> > drivers/mfd/arizona-core.c | 10 ++++++++++
> > 1 files changed, 10 insertions(+), 0 deletions(-)
>
> Same here. Requires DT/Clk Ack.
This specifies the reference voltage rather than clock so
probably a clk ack is not appropriate, I guess that means I
should perhaps add some clarification to the commit message
though.
Thanks,
Charles
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 4/5] mfd: arizona: Add DT binding documentation for DMIC references
2015-02-28 14:54 [PATCH 1/5] mfd: arizona: Add DT binding for setting 32kHz clock source Charles Keepax
2015-02-28 14:54 ` [PATCH 2/5] mfd: arizona: Add DT binding documentation for CODEC 32k " Charles Keepax
2015-02-28 14:54 ` [PATCH 3/5] mfd: arizona: Add DT binding for the DMIC references Charles Keepax
@ 2015-02-28 14:54 ` Charles Keepax
[not found] ` <1425135268-32340-1-git-send-email-ckeepax-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
2015-03-02 8:00 ` Lee Jones
4 siblings, 0 replies; 11+ messages in thread
From: Charles Keepax @ 2015-02-28 14:54 UTC (permalink / raw)
To: lee; +Cc: sameo, robh+dt, mark.rutland, galak, devicetree, linux-kernel,
patches
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
Documentation/devicetree/bindings/mfd/arizona.txt | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt
index 7ca7c1f..8709f07 100644
--- a/Documentation/devicetree/bindings/mfd/arizona.txt
+++ b/Documentation/devicetree/bindings/mfd/arizona.txt
@@ -54,6 +54,12 @@ Optional properties:
input singals. If values less than the number of input signals, elements
that has not been specifed are set to 0 by default.
+ - wlf,dmic-ref : DMIC reference for each input, can be selected from either
+ MICVDD or one of the MICBIAS's, defines (ARIZONA_DMIC_xxxx) are provided
+ in <dt-bindings/mfd/arizona.txt>. If present, the number of values should
+ be less than or equal to the number of inputs, unspecified inputs will
+ use the chip default.
+
- DCVDD-supply, MICVDD-supply : Power supplies, only need to be specified if
they are being externally supplied. As covered in
Documentation/devicetree/bindings/regulator/regulator.txt
--
1.7.2.5
^ permalink raw reply related [flat|nested] 11+ messages in thread[parent not found: <1425135268-32340-1-git-send-email-ckeepax-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>]
* [PATCH 5/5] mfd: arizona: Update DT binding documentation for inmode
[not found] ` <1425135268-32340-1-git-send-email-ckeepax-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
@ 2015-02-28 14:54 ` Charles Keepax
2015-03-02 7:52 ` [PATCH 1/5] mfd: arizona: Add DT binding for setting 32kHz clock source Lee Jones
1 sibling, 0 replies; 11+ messages in thread
From: Charles Keepax @ 2015-02-28 14:54 UTC (permalink / raw)
To: lee-DgEjT+Ai2ygdnm+yROfE0A
Cc: sameo-VuQAYsv1563Yd54FQh9/CA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
mark.rutland-5wv7dgnIgG8, galak-sgV2jX0FEOL9JmXXK+q4OQ,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
patches-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E
Update the DT binding documentation for the inmode binding to mention
the new defines and clarify the text slightly.
Signed-off-by: Charles Keepax <ckeepax-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
---
Documentation/devicetree/bindings/mfd/arizona.txt | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt
index 8709f07..f5afa69 100644
--- a/Documentation/devicetree/bindings/mfd/arizona.txt
+++ b/Documentation/devicetree/bindings/mfd/arizona.txt
@@ -47,12 +47,11 @@ Optional properties:
a value that is out of range for a 16 bit register then the chip default
will be used. If present exactly five values must be specified.
- - wlf,inmode : A list of INn_MODE register values, where n is the number
- of input signals. Valid values are 0 (Differential), 1 (Single-ended) and
- 2 (Digital Microphone). If absent, INn_MODE registers set to 0 by default.
- If present, values must be specified less than or equal to the number of
- input singals. If values less than the number of input signals, elements
- that has not been specifed are set to 0 by default.
+ - wlf,inmode : A list of the mode for each input. Each input can be set to
+ differential, single-ended or a digital microphone. Defines for all values
+ (ARIZONA_INMODE_xxxx) are located in <dt-bindings/mfd/arizona.txt>. If
+ present, the number of values should be less than or equal to the number
+ of inputs, unspecified inputs will use the chip default.
- wlf,dmic-ref : DMIC reference for each input, can be selected from either
MICVDD or one of the MICBIAS's, defines (ARIZONA_DMIC_xxxx) are provided
--
1.7.2.5
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 11+ messages in thread* Re: [PATCH 1/5] mfd: arizona: Add DT binding for setting 32kHz clock source
[not found] ` <1425135268-32340-1-git-send-email-ckeepax-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
2015-02-28 14:54 ` [PATCH 5/5] mfd: arizona: Update DT binding documentation for inmode Charles Keepax
@ 2015-03-02 7:52 ` Lee Jones
1 sibling, 0 replies; 11+ messages in thread
From: Lee Jones @ 2015-03-02 7:52 UTC (permalink / raw)
To: Charles Keepax
Cc: lee-DgEjT+Ai2ygdnm+yROfE0A, sameo-VuQAYsv1563Yd54FQh9/CA,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
galak-sgV2jX0FEOL9JmXXK+q4OQ, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
patches-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E
On Sat, 28 Feb 2015, Charles Keepax wrote:
> From: Richard Fitzgerald <rf-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
>
> Signed-off-by: Richard Fitzgerald <rf-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
> Signed-off-by: Charles Keepax <ckeepax-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
> ---
> drivers/mfd/arizona-core.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
Requires a DT, or at least a Clk Ack.
> diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c
> index 09ba8f1..dddaaef 100644
> --- a/drivers/mfd/arizona-core.c
> +++ b/drivers/mfd/arizona-core.c
> @@ -552,6 +552,9 @@ static int arizona_of_get_core_pdata(struct arizona *arizona)
> ret);
> }
>
> + of_property_read_u32(arizona->dev->of_node, "wlf,clk32k-src",
> + &pdata->clk32k_src);
> +
> of_property_for_each_u32(arizona->dev->of_node, "wlf,inmode", prop,
> cur, val) {
> if (count == ARRAY_SIZE(arizona->pdata.inmode))
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/5] mfd: arizona: Add DT binding for setting 32kHz clock source
2015-02-28 14:54 [PATCH 1/5] mfd: arizona: Add DT binding for setting 32kHz clock source Charles Keepax
` (3 preceding siblings ...)
[not found] ` <1425135268-32340-1-git-send-email-ckeepax-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
@ 2015-03-02 8:00 ` Lee Jones
2015-03-02 9:30 ` Charles Keepax
4 siblings, 1 reply; 11+ messages in thread
From: Lee Jones @ 2015-03-02 8:00 UTC (permalink / raw)
To: Charles Keepax
Cc: lee, sameo, robh+dt, mark.rutland, galak, devicetree,
linux-kernel, patches
Charles,
Why have you started using my kernel.org email address?
Where did you even get it from?
Please use my linaro.org one for MFD.
Kind regards,
Lee
On Sat, 28 Feb 2015, Charles Keepax wrote:
> From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
>
> Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
> ---
> drivers/mfd/arizona-core.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c
> index 09ba8f1..dddaaef 100644
> --- a/drivers/mfd/arizona-core.c
> +++ b/drivers/mfd/arizona-core.c
> @@ -552,6 +552,9 @@ static int arizona_of_get_core_pdata(struct arizona *arizona)
> ret);
> }
>
> + of_property_read_u32(arizona->dev->of_node, "wlf,clk32k-src",
> + &pdata->clk32k_src);
> +
> of_property_for_each_u32(arizona->dev->of_node, "wlf,inmode", prop,
> cur, val) {
> if (count == ARRAY_SIZE(arizona->pdata.inmode))
--
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] 11+ messages in thread* Re: [PATCH 1/5] mfd: arizona: Add DT binding for setting 32kHz clock source
2015-03-02 8:00 ` Lee Jones
@ 2015-03-02 9:30 ` Charles Keepax
2015-03-02 9:46 ` Lee Jones
0 siblings, 1 reply; 11+ messages in thread
From: Charles Keepax @ 2015-03-02 9:30 UTC (permalink / raw)
To: Lee Jones
Cc: lee, sameo, robh+dt, mark.rutland, galak, devicetree,
linux-kernel, patches
On Mon, Mar 02, 2015 at 08:00:43AM +0000, Lee Jones wrote:
> Charles,
>
> Why have you started using my kernel.org email address?
>
> Where did you even get it from?
>
> Please use my linaro.org one for MFD.
>
> Kind regards,
> Lee
Apologies I had assumed you have moved over to using that email
address I will switch back to using the Linaro one.
Thanks,
Charles
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/5] mfd: arizona: Add DT binding for setting 32kHz clock source
2015-03-02 9:30 ` Charles Keepax
@ 2015-03-02 9:46 ` Lee Jones
0 siblings, 0 replies; 11+ messages in thread
From: Lee Jones @ 2015-03-02 9:46 UTC (permalink / raw)
To: Charles Keepax
Cc: lee, sameo, robh+dt, mark.rutland, galak, devicetree,
linux-kernel, patches
On Mon, 02 Mar 2015, Charles Keepax wrote:
> On Mon, Mar 02, 2015 at 08:00:43AM +0000, Lee Jones wrote:
> > Charles,
> >
> > Why have you started using my kernel.org email address?
> >
> > Where did you even get it from?
> >
> > Please use my linaro.org one for MFD.
> >
> > Kind regards,
> > Lee
>
> Apologies I had assumed you have moved over to using that email
> address I will switch back to using the Linaro one.
It's better to assume MAINTAINERS is correct (until it isn't). ;)
--
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] 11+ messages in thread