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

ARM: sun5i: 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/sun5i.dtsi
··· 44 44 45 45 #include "skeleton.dtsi" 46 46 47 + #include <dt-bindings/clock/sun4i-a10-pll2.h> 47 48 #include <dt-bindings/dma/sun4i-a10.h> 48 49 #include <dt-bindings/pinctrl/sun4i-a10.h> 49 50 ··· 293 292 reg = <0x01c200cc 0x4>; 294 293 clocks = <&pll6 1>; 295 294 clock-output-names = "usb_ohci0", "usb_phy"; 295 + }; 296 + 297 + codec_clk: clk@01c20140 { 298 + #clock-cells = <0>; 299 + compatible = "allwinner,sun4i-a10-codec-clk"; 300 + reg = <0x01c20140 0x4>; 301 + clocks = <&pll2 SUN4I_A10_PLL2_1X>; 302 + clock-output-names = "codec"; 296 303 }; 297 304 298 305 mbus_clk: clk@01c2015c {