From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 04/13] ARM: sun4i: Add audio codec clock
Date: Wed, 21 Oct 2015 22:52:57 +0200 [thread overview]
Message-ID: <1445460786-18280-5-git-send-email-maxime.ripard@free-electrons.com> (raw)
In-Reply-To: <1445460786-18280-1-git-send-email-maxime.ripard@free-electrons.com>
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>
---
arch/arm/boot/dts/sun4i-a10.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
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 @@
#include <dt-bindings/thermal/thermal.h>
+#include <dt-bindings/clock/sun4i-a10-pll2.h>
#include <dt-bindings/dma/sun4i-a10.h>
#include <dt-bindings/pinctrl/sun4i-a10.h>
@@ -490,6 +491,14 @@
clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
clock-output-names = "spi3";
};
+
+ codec_clk: clk at 01c20140 {
+ #clock-cells = <0>;
+ compatible = "allwinner,sun4i-a10-codec-clk";
+ reg = <0x01c20140 0x4>;
+ clocks = <&pll2 SUN4I_A10_PLL2_1X>;
+ clock-output-names = "codec";
+ };
};
soc at 01c00000 {
--
2.6.2
next prev parent reply other threads:[~2015-10-21 20:52 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-21 20:52 [PATCH 00/13] ARM: sunxi: Enable the audio codec Maxime Ripard
2015-10-21 20:52 ` [PATCH 01/13] ARM: sun4i: Add audio PLL Maxime Ripard
2015-10-21 20:52 ` [PATCH 02/13] ARM: sun5i: " Maxime Ripard
2015-10-21 20:52 ` [PATCH 03/13] ARM: sun7i: " Maxime Ripard
2015-10-21 20:52 ` Maxime Ripard [this message]
2015-10-21 20:52 ` [PATCH 05/13] ARM: sun5i: Add audio codec clock Maxime Ripard
2015-10-21 20:52 ` [PATCH 06/13] ARM: sun7i: " Maxime Ripard
2015-10-21 20:53 ` [PATCH 07/13] ARM: sun4i: Add sunxi codec device node Maxime Ripard
2015-10-21 20:53 ` [PATCH 08/13] ARM: sun5i: Add the Audio codec DT node Maxime Ripard
2015-10-21 20:53 ` [PATCH 09/13] ARM: sun7i: Add sunxi codec device node Maxime Ripard
2015-10-21 20:53 ` [PATCH 10/13] ARM: sun7i: dt: enable audio codec on Cubietruck Maxime Ripard
2015-10-22 3:41 ` Chen-Yu Tsai
2015-10-21 20:53 ` [PATCH 11/13] ARM: sun7i: Enable cubieboard2 audio codec Maxime Ripard
2015-10-22 4:27 ` Chen-Yu Tsai
2015-10-22 8:54 ` Maxime Ripard
2015-10-21 20:53 ` [PATCH 12/13] ARM: sun4i: Enable audio-codec on Mele A1000 Maxime Ripard
2015-10-21 20:53 ` [PATCH 13/13] ARM: sun5i: chip: Enable the audio codec Maxime Ripard
2015-10-22 3:43 ` [PATCH 00/13] ARM: sunxi: " Chen-Yu Tsai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1445460786-18280-5-git-send-email-maxime.ripard@free-electrons.com \
--to=maxime.ripard@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox