ASoC: Atmel: ClassD: add GCK's parent clock in DT binding
authorSongjun Wu <songjun.wu@atmel.com>
Mon, 23 Nov 2015 09:19:58 +0000 (17:19 +0800)
committerRob Herring <robh@kernel.org>
Wed, 9 Dec 2015 21:30:30 +0000 (15:30 -0600)
Set GCK's parent as audio clock.

Signed-off-by: Songjun Wu <songjun.wu@atmel.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/sound/atmel-classd.txt

index 0018451c435148c4cd39b592e04c8e338d4ee3c9..549e701cb7a1c58620863fc0a5e5b08c313ff4ef 100644 (file)
@@ -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>;