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

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

+9
+9
arch/arm/boot/dts/sun4i-a10.dtsi
··· 45 45 46 46 #include <dt-bindings/thermal/thermal.h> 47 47 48 + #include <dt-bindings/clock/sun4i-a10-pll2.h> 48 49 #include <dt-bindings/dma/sun4i-a10.h> 49 50 #include <dt-bindings/pinctrl/sun4i-a10.h> 50 51 ··· 490 489 reg = <0x01c200d4 0x4>; 491 490 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; 492 491 clock-output-names = "spi3"; 492 + }; 493 + 494 + codec_clk: clk@01c20140 { 495 + #clock-cells = <0>; 496 + compatible = "allwinner,sun4i-a10-codec-clk"; 497 + reg = <0x01c20140 0x4>; 498 + clocks = <&pll2 SUN4I_A10_PLL2_1X>; 499 + clock-output-names = "codec"; 493 500 }; 494 501 }; 495 502