ARM: dts: r8a7794: add audio clocks
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 27 Jul 2016 20:59:18 +0000 (23:59 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 9 Aug 2016 12:36:13 +0000 (14:36 +0200)
Describe  the external audio clocks (signals AUDIO_CLK[ABC]) required by
the sound driver.  Boards that provide audio clocks need to  override the
clock frequencies.

This patch is based on the commit 0d3dbde84a45 ("ARM: shmobile: r8a7791:
add  audio clock on DTSI").

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7794.dtsi

index 55737bca4e63faf8a2d420213014b054b89f6224..5d1fded7963361253b72ed0ece54030cb36ac1d4 100644 (file)
                        clock-frequency = <0>;
                };
 
+               /*
+                * The external audio clocks are configured  as 0 Hz fixed
+                * frequency clocks by default.  Boards that provide audio
+                * clocks should override them.
+                */
+               audio_clka: audio_clka {
+                       compatible = "fixed-clock";
+                       #clock-cells = <0>;
+                       clock-frequency = <0>;
+               };
+               audio_clkb: audio_clkb {
+                       compatible = "fixed-clock";
+                       #clock-cells = <0>;
+                       clock-frequency = <0>;
+               };
+               audio_clkc: audio_clkc {
+                       compatible = "fixed-clock";
+                       #clock-cells = <0>;
+                       clock-frequency = <0>;
+               };
+
                /* Special CPG clocks */
                cpg_clocks: cpg_clocks@e6150000 {
                        compatible = "renesas,r8a7794-cpg-clocks",
This page took 0.026688 seconds and 5 git commands to generate.