]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: sun5i: Add audio PLL
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 12 Oct 2015 20:21:49 +0000 (22:21 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 21 Oct 2015 20:43:24 +0000 (22:43 +0200)
The A13 uses the PLL2 as the audio PLL, which is the parent of all the
other audio clocks in the system (i2s, codec, etc.). However, it has a
different divider configuration than the A10, hence the difference
compatible.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sun5i.dtsi

index 9ffee9bb70a743eaf70c8751a150350941880059..9b03eb95a390abd7764e8d25b0e4f0ca77a284aa 100644 (file)
                        clock-output-names = "pll1";
                };
 
+               pll2: clk@01c20008 {
+                       #clock-cells = <1>;
+                       compatible = "allwinner,sun5i-a13-pll2-clk";
+                       reg = <0x01c20008 0x8>;
+                       clocks = <&osc24M>;
+                       clock-output-names = "pll2-1x", "pll2-2x",
+                                            "pll2-4x", "pll2-8x";
+               };
+
                pll4: clk@01c20018 {
                        #clock-cells = <0>;
                        compatible = "allwinner,sun4i-a10-pll1-clk";