diff mbox

ASoC: Atmel: ClassD: add GCK's parent clock in DT binding

Message ID 1448270399-28728-1-git-send-email-songjun.wu@atmel.com (mailing list archive)
State Accepted
Commit 0f611e2551deeedaafc0f01b8607eb580622b7bb
Headers show

Commit Message

Songjun Wu Nov. 23, 2015, 9:19 a.m. UTC
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(+)

Comments

Rob Herring (Arm) Nov. 25, 2015, 11:45 p.m. UTC | #1
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.

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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Mark Brown Nov. 26, 2015, 1:06 a.m. UTC | #2
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.
diff mbox

Patch

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>;