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


Groups > linux.kernel > #1275153

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

From Songjun Wu <songjun.wu@atmel.com>
Newsgroups linux.kernel
Subject [PATCH] ASoC: Atmel: ClassD: add GCK's parent clock in DT binding
Date 2015-11-23 10:30 +0100
Message-ID <qxVBF-8jJ-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH] ASoC: Atmel: ClassD: add GCK's parent clock in DT binding Songjun Wu <songjun.wu@atmel.com> - 2015-11-23 10:30 +0100
  Re: [PATCH] ASoC: Atmel: ClassD: add GCK's parent clock in DT binding Rob Herring <robh@kernel.org> - 2015-11-26 00:50 +0100
    Re: [PATCH] ASoC: Atmel: ClassD: add GCK's parent clock in DT binding Mark Brown <broonie@kernel.org> - 2015-11-26 02:10 +0100

csiph-web