Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1680902

[PATCH v2 7/9] ASoC: atmel-classd: remove aclk clock from DT binding

From Quentin Schulz <quentin.schulz@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH v2 7/9] ASoC: atmel-classd: remove aclk clock from DT binding
Date 2017-07-04 14:10 +0200
Message-ID <tZuOu-83k-17@gated-at.bofh.it> (permalink)
References <tZuOt-83k-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

added in v2

 Documentation/devicetree/bindings/sound/atmel-classd.txt | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/sound/atmel-classd.txt b/Documentation/devicetree/bindings/sound/atmel-classd.txt
index 549e701cb7a1..898551076382 100644
--- a/Documentation/devicetree/bindings/sound/atmel-classd.txt
+++ b/Documentation/devicetree/bindings/sound/atmel-classd.txt
@@ -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>;
-- 
2.11.0

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/9] add support for Sama5d2 audio PLLs and enable ClassD Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-07-04 14:10 +0200
  [PATCH v2 1/9] clk: at91: clk-generated: remove useless divisor loop Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-07-04 14:10 +0200
  [PATCH v2 4/9] ARM: dts: at91: sama5d2: add classd nodes Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-07-04 14:10 +0200
  [PATCH v2 8/9] ASoC: atmel-classd: remove aclk clock Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-07-04 14:10 +0200
    Re: [PATCH v2 8/9] ASoC: atmel-classd: remove aclk clock Mark Brown <broonie@kernel.org> - 2017-07-07 14:50 +0200
  [PATCH v2 7/9] ASoC: atmel-classd: remove aclk clock from DT binding Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-07-04 14:10 +0200
    Re: [PATCH v2 7/9] ASoC: atmel-classd: remove aclk clock from DT  binding Mark Brown <broonie@kernel.org> - 2017-07-07 14:50 +0200
    Re: [PATCH v2 7/9] ASoC: atmel-classd: remove aclk clock from DT  binding Rob Herring <robh@kernel.org> - 2017-07-10 03:10 +0200
  [PATCH v2 3/9] clk: at91: add audio pll clock drivers Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-07-04 14:10 +0200
  [PATCH v2 2/9] clk: at91: add audio plls to the compatible list in DT binding Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-07-04 14:10 +0200

csiph-web