]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: shmobile: lager: use CCF for audio clock
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 20 Aug 2015 03:09:52 +0000 (03:09 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 14 Sep 2015 01:16:43 +0000 (10:16 +0900)
Because of historical reason, audio clock didn't use CCF.
Let's use it now.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7790-lager.dts

index 37dec52694911ea39ed7f44fd7939c48110fa63c..6f5d7f50d5ca09869dc229c8ae1fc090dd9430cf 100644 (file)
                          1800000 0>;
        };
 
+       audio_clock: clock {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <11289600>;
+               clock-output-names = "audio_clock";
+       };
+
        rsnd_ak4643: sound {
                compatible = "simple-audio-card";
 
 
                sndcodec: simple-audio-card,codec {
                        sound-dai = <&ak4643>;
-                       system-clock-frequency = <11289600>;
+                       clocks = <&audio_clock>;
                };
        };