From: Maxime Ripard Date: Mon, 12 Oct 2015 20:28:46 +0000 (+0200) Subject: ARM: sun4i: Add audio codec clock X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b516fa5def5975261bffe4f50169234ad6fad8db;p=linux-beck.git ARM: sun4i: Add audio codec clock The audio codec functional clock is a child of PLL2 and is used to control the audio rate, enable it in the DT. Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai --- diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index c8595926a721..8993dfadd18c 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++ b/arch/arm/boot/dts/sun4i-a10.dtsi @@ -45,6 +45,7 @@ #include +#include #include #include @@ -490,6 +491,14 @@ clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; clock-output-names = "spi3"; }; + + codec_clk: clk@01c20140 { + #clock-cells = <0>; + compatible = "allwinner,sun4i-a10-codec-clk"; + reg = <0x01c20140 0x4>; + clocks = <&pll2 SUN4I_A10_PLL2_1X>; + clock-output-names = "codec"; + }; }; soc@01c00000 {