Skip to content

Commit

Permalink
ASoC: Atmel: ClassD: add GCK's parent clock in DT binding
Browse files Browse the repository at this point in the history
Set GCK's parent as audio clock.

Signed-off-by: Songjun Wu <songjun.wu@atmel.com>
Signed-off-by: Rob Herring <robh@kernel.org>
  • Loading branch information
Songjun Wu authored and Rob Herring committed Dec 9, 2015
1 parent 2193377 commit bf40024
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Documentation/devicetree/bindings/sound/atmel-classd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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>;
Expand Down

0 comments on commit bf40024

Please sign in to comment.