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>
This commit is contained in:
parent
b516fa5def
commit
ca72f02237
1 changed files with 9 additions and 0 deletions
|
|
@ -44,6 +44,7 @@
|
||||||
|
|
||||||
#include "skeleton.dtsi"
|
#include "skeleton.dtsi"
|
||||||
|
|
||||||
|
#include <dt-bindings/clock/sun4i-a10-pll2.h>
|
||||||
#include <dt-bindings/dma/sun4i-a10.h>
|
#include <dt-bindings/dma/sun4i-a10.h>
|
||||||
#include <dt-bindings/pinctrl/sun4i-a10.h>
|
#include <dt-bindings/pinctrl/sun4i-a10.h>
|
||||||
|
|
||||||
|
|
@ -294,6 +295,14 @@
|
||||||
clock-output-names = "usb_ohci0", "usb_phy";
|
clock-output-names = "usb_ohci0", "usb_phy";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
codec_clk: clk@01c20140 {
|
||||||
|
#clock-cells = <0>;
|
||||||
|
compatible = "allwinner,sun4i-a10-codec-clk";
|
||||||
|
reg = <0x01c20140 0x4>;
|
||||||
|
clocks = <&pll2 SUN4I_A10_PLL2_1X>;
|
||||||
|
clock-output-names = "codec";
|
||||||
|
};
|
||||||
|
|
||||||
mbus_clk: clk@01c2015c {
|
mbus_clk: clk@01c2015c {
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
compatible = "allwinner,sun5i-a13-mbus-clk";
|
compatible = "allwinner,sun5i-a13-mbus-clk";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue