From: Maxime Ripard Date: Mon, 12 Oct 2015 20:28:46 +0000 (+0200) Subject: ARM: sun7i: Add audio codec clock X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dbe4dd1e617a24b609b92c1551702a73c88858aa;p=linux-beck.git ARM: sun7i: 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/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 433ec1415e56..f4440f6d9621 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -47,6 +47,7 @@ #include #include +#include #include #include @@ -500,6 +501,14 @@ 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"; + }; + mbus_clk: clk@01c2015c { #clock-cells = <0>; compatible = "allwinner,sun5i-a13-mbus-clk";