diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-10-12 16:28:46 -0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-10-21 16:43:25 -0400 |
commit | b516fa5def5975261bffe4f50169234ad6fad8db (patch) | |
tree | 6b150f43e8571c7aec9670bc696bfe7280d9414b | |
parent | 88a86aaa613032e0d5cf70a3d0777302ec2ed40b (diff) |
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>
-rw-r--r-- | arch/arm/boot/dts/sun4i-a10.dtsi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index c8595926a721..8993dfadd18c 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++ b/arch/arm/boot/dts/sun4i-a10.dtsi | |||
@@ -45,6 +45,7 @@ | |||
45 | 45 | ||
46 | #include <dt-bindings/thermal/thermal.h> | 46 | #include <dt-bindings/thermal/thermal.h> |
47 | 47 | ||
48 | #include <dt-bindings/clock/sun4i-a10-pll2.h> | ||
48 | #include <dt-bindings/dma/sun4i-a10.h> | 49 | #include <dt-bindings/dma/sun4i-a10.h> |
49 | #include <dt-bindings/pinctrl/sun4i-a10.h> | 50 | #include <dt-bindings/pinctrl/sun4i-a10.h> |
50 | 51 | ||
@@ -490,6 +491,14 @@ | |||
490 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; | 491 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
491 | clock-output-names = "spi3"; | 492 | clock-output-names = "spi3"; |
492 | }; | 493 | }; |
494 | |||
495 | codec_clk: clk@01c20140 { | ||
496 | #clock-cells = <0>; | ||
497 | compatible = "allwinner,sun4i-a10-codec-clk"; | ||
498 | reg = <0x01c20140 0x4>; | ||
499 | clocks = <&pll2 SUN4I_A10_PLL2_1X>; | ||
500 | clock-output-names = "codec"; | ||
501 | }; | ||
493 | }; | 502 | }; |
494 | 503 | ||
495 | soc@01c00000 { | 504 | soc@01c00000 { |