* [PATCH] ASoC: Atmel: ClassD: add GCK's parent clock in DT binding
@ 2015-11-23 9:19 Songjun Wu
[not found] ` <1448270399-28728-1-git-send-email-songjun.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Songjun Wu @ 2015-11-23 9:19 UTC (permalink / raw)
To: broonie
Cc: alsa-devel, linux-arm-kernel, Songjun Wu, Rob Herring, Pawel Moll,
Mark Rutland, Ian Campbell, Kumar Gala, devicetree, linux-kernel
Set GCK's parent as audio clock.
Signed-off-by: Songjun Wu <songjun.wu@atmel.com>
---
.../devicetree/bindings/sound/atmel-classd.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/atmel-classd.txt b/Documentation/devicetree/bindings/sound/atmel-classd.txt
index 0018451..549e701 100644
--- a/Documentation/devicetree/bindings/sound/atmel-classd.txt
+++ b/Documentation/devicetree/bindings/sound/atmel-classd.txt
@@ -16,6 +16,10 @@ Required properties:
Required elements: "pclk", "gclk" and "aclk".
- clocks
Please refer to clock-bindings.txt.
+- assigned-clocks
+ Should be <&classd_gclk>.
+- assigned-clock-parents
+ Should be <&audio_pll_pmc>.
Optional properties:
- pinctrl-names, pinctrl-0
@@ -43,6 +47,8 @@ classd: classd@fc048000 {
dma-names = "tx";
clocks = <&classd_clk>, <&classd_gclk>, <&audio_pll_pmc>;
clock-names = "pclk", "gclk", "aclk";
+ assigned-clocks = <&classd_gclk>;
+ assigned-clock-parents = <&audio_pll_pmc>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_classd_default>;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <1448270399-28728-1-git-send-email-songjun.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] ASoC: Atmel: ClassD: add GCK's parent clock in DT binding [not found] ` <1448270399-28728-1-git-send-email-songjun.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> @ 2015-11-25 23:45 ` Rob Herring 2015-11-26 1:06 ` Mark Brown 0 siblings, 1 reply; 3+ messages in thread From: Rob Herring @ 2015-11-25 23:45 UTC (permalink / raw) To: Songjun Wu Cc: broonie-DgEjT+Ai2ygdnm+yROfE0A, alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA On Mon, Nov 23, 2015 at 05:19:58PM +0800, Songjun Wu wrote: > Set GCK's parent as audio clock. > > Signed-off-by: Songjun Wu <songjun.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> Applied, thanks. Rob > --- > > .../devicetree/bindings/sound/atmel-classd.txt | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sound/atmel-classd.txt b/Documentation/devicetree/bindings/sound/atmel-classd.txt > index 0018451..549e701 100644 > --- a/Documentation/devicetree/bindings/sound/atmel-classd.txt > +++ b/Documentation/devicetree/bindings/sound/atmel-classd.txt > @@ -16,6 +16,10 @@ Required properties: > Required elements: "pclk", "gclk" and "aclk". > - clocks > Please refer to clock-bindings.txt. > +- assigned-clocks > + Should be <&classd_gclk>. > +- assigned-clock-parents > + Should be <&audio_pll_pmc>. > > Optional properties: > - pinctrl-names, pinctrl-0 > @@ -43,6 +47,8 @@ classd: classd@fc048000 { > dma-names = "tx"; > clocks = <&classd_clk>, <&classd_gclk>, <&audio_pll_pmc>; > clock-names = "pclk", "gclk", "aclk"; > + assigned-clocks = <&classd_gclk>; > + assigned-clock-parents = <&audio_pll_pmc>; > > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_classd_default>; > -- > 1.7.9.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 -- 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] 3+ messages in thread
* Re: [PATCH] ASoC: Atmel: ClassD: add GCK's parent clock in DT binding 2015-11-25 23:45 ` Rob Herring @ 2015-11-26 1:06 ` Mark Brown 0 siblings, 0 replies; 3+ messages in thread From: Mark Brown @ 2015-11-26 1:06 UTC (permalink / raw) To: Rob Herring Cc: Mark Rutland, devicetree, alsa-devel, Pawel Moll, Ian Campbell, linux-kernel, Songjun Wu, Kumar Gala, linux-arm-kernel [-- Attachment #1.1: Type: text/plain, Size: 276 bytes --] On Wed, Nov 25, 2015 at 05:45:24PM -0600, Rob Herring wrote: > On Mon, Nov 23, 2015 at 05:19:58PM +0800, Songjun Wu wrote: > > Set GCK's parent as audio clock. > > Signed-off-by: Songjun Wu <songjun.wu@atmel.com> > Applied, thanks. I already applied this to the ASoC tree. [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 473 bytes --] [-- Attachment #2: Type: text/plain, Size: 0 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-26 1:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-23 9:19 [PATCH] ASoC: Atmel: ClassD: add GCK's parent clock in DT binding Songjun Wu
[not found] ` <1448270399-28728-1-git-send-email-songjun.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2015-11-25 23:45 ` Rob Herring
2015-11-26 1:06 ` Mark Brown
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).