ASoC: atmel-classd: remove aclk clock from DT binding
authorQuentin Schulz <quentin.schulz@free-electrons.com>
Thu, 10 Aug 2017 06:34:06 +0000 (08:34 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 1 Sep 2017 22:46:56 +0000 (15:46 -0700)
Since gclk (generated-clk) is now able to determine the rate of the
audio_pll, there is no need for classd to have a direct phandle to the
audio_pll while already having a phandle to gclk.

This binding is used by no board in mainline so it is safe to be
modified.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Documentation/devicetree/bindings/sound/atmel-classd.txt

index 549e701cb7a1c58620863fc0a5e5b08c313ff4ef..898551076382abef7941b3772cbbc5511a8ac476 100644 (file)
@@ -13,13 +13,11 @@ Required properties:
        Must be "tx".
 - clock-names
        Tuple listing input clock names.
-       Required elements: "pclk", "gclk" and "aclk".
+       Required elements: "pclk" and "gclk".
 - 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
@@ -45,10 +43,9 @@ classd: classd@fc048000 {
                        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
                        | AT91_XDMAC_DT_PERID(47))>;
                dma-names = "tx";
-               clocks = <&classd_clk>, <&classd_gclk>, <&audio_pll_pmc>;
-               clock-names = "pclk", "gclk", "aclk";
+               clocks = <&classd_clk>, <&classd_gclk>;
+               clock-names = "pclk", "gclk";
                assigned-clocks = <&classd_gclk>;
-               assigned-clock-parents = <&audio_pll_pmc>;
 
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_classd_default>;