Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>

+9
+9
arch/arm/boot/dts/sun7i-a20.dtsi
··· 47 47 #include <dt-bindings/interrupt-controller/arm-gic.h> 48 48 #include <dt-bindings/thermal/thermal.h> 49 49 50 + #include <dt-bindings/clock/sun4i-a10-pll2.h> 50 51 #include <dt-bindings/dma/sun4i-a10.h> 51 52 #include <dt-bindings/pinctrl/sun4i-a10.h> 52 53 ··· 499 498 reg = <0x01c200d4 0x4>; 500 499 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; 501 500 clock-output-names = "spi3"; 501 + }; 502 + 503 + codec_clk: clk@01c20140 { 504 + #clock-cells = <0>; 505 + compatible = "allwinner,sun4i-a10-codec-clk"; 506 + reg = <0x01c20140 0x4>; 507 + clocks = <&pll2 SUN4I_A10_PLL2_1X>; 508 + clock-output-names = "codec"; 502 509 }; 503 510 504 511 mbus_clk: clk@01c2015c {