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:26 -0400 |
commit | ca72f0223760d7f14f092ca65dfccca74fc37c1c (patch) | |
tree | 3f36863db0af0eaabff4af99c6bad48811569f05 | |
parent | b516fa5def5975261bffe4f50169234ad6fad8db (diff) |
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>
-rw-r--r-- | arch/arm/boot/dts/sun5i.dtsi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi index 9b03eb95a390..17a6b7d58fbf 100644 --- a/arch/arm/boot/dts/sun5i.dtsi +++ b/arch/arm/boot/dts/sun5i.dtsi | |||
@@ -44,6 +44,7 @@ | |||
44 | 44 | ||
45 | #include "skeleton.dtsi" | 45 | #include "skeleton.dtsi" |
46 | 46 | ||
47 | #include <dt-bindings/clock/sun4i-a10-pll2.h> | ||
47 | #include <dt-bindings/dma/sun4i-a10.h> | 48 | #include <dt-bindings/dma/sun4i-a10.h> |
48 | #include <dt-bindings/pinctrl/sun4i-a10.h> | 49 | #include <dt-bindings/pinctrl/sun4i-a10.h> |
49 | 50 | ||
@@ -294,6 +295,14 @@ | |||
294 | clock-output-names = "usb_ohci0", "usb_phy"; | 295 | clock-output-names = "usb_ohci0", "usb_phy"; |
295 | }; | 296 | }; |
296 | 297 | ||
298 | codec_clk: clk@01c20140 { | ||
299 | #clock-cells = <0>; | ||
300 | compatible = "allwinner,sun4i-a10-codec-clk"; | ||
301 | reg = <0x01c20140 0x4>; | ||
302 | clocks = <&pll2 SUN4I_A10_PLL2_1X>; | ||
303 | clock-output-names = "codec"; | ||
304 | }; | ||
305 | |||
297 | mbus_clk: clk@01c2015c { | 306 | mbus_clk: clk@01c2015c { |
298 | #clock-cells = <0>; | 307 | #clock-cells = <0>; |
299 | compatible = "allwinner,sun5i-a13-mbus-clk"; | 308 | compatible = "allwinner,sun5i-a13-mbus-clk"; |