From: Jerome Brunet <jbrunet@baylibre.com>
To: Kevin Hilman <khilman@baylibre.com>
Cc: Jerome Brunet <jbrunet@baylibre.com>,
devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org
Subject: [PATCH 1/7] arm64: dts: meson: g12a: add audio clock controller
Date: Fri, 12 Apr 2019 14:51:30 +0200 [thread overview]
Message-ID: <20190412125136.28232-2-jbrunet@baylibre.com> (raw)
In-Reply-To: <20190412125136.28232-1-jbrunet@baylibre.com>
Add the controller dedicated to audio clocks found on the g12a SoC.
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 37 +++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
index d6ca0bbd8f74..1ab2a77b01eb 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
@@ -7,6 +7,7 @@
#include <dt-bindings/clock/g12a-clkc.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/reset/amlogic,meson-g12a-reset.h>
/ {
compatible = "amlogic,g12a";
@@ -202,6 +203,42 @@
};
};
};
+
+ audio: bus@42000 {
+ compatible = "simple-bus";
+ reg = <0x0 0x42000 0x0 0x2000>;
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges = <0x0 0x0 0x0 0x42000 0x0 0x2000>;
+
+ clkc_audio: clock-controller@0 {
+ status = "disabled";
+ compatible = "amlogic,g12a-audio-clkc";
+ reg = <0x0 0x0 0x0 0xb4>;
+ #clock-cells = <1>;
+
+ clocks = <&clkc CLKID_AUDIO>,
+ <&clkc CLKID_MPLL0>,
+ <&clkc CLKID_MPLL1>,
+ <&clkc CLKID_MPLL2>,
+ <&clkc CLKID_MPLL3>,
+ <&clkc CLKID_HIFI_PLL>,
+ <&clkc CLKID_FCLK_DIV3>,
+ <&clkc CLKID_FCLK_DIV4>,
+ <&clkc CLKID_GP0_PLL>;
+ clock-names = "pclk",
+ "mst_in0",
+ "mst_in1",
+ "mst_in2",
+ "mst_in3",
+ "mst_in4",
+ "mst_in5",
+ "mst_in6",
+ "mst_in7";
+
+ resets = <&reset RESET_AUDIO>;
+ };
+ };
};
aobus: bus@ff800000 {
--
2.20.1
next prev parent reply other threads:[~2019-04-12 12:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-12 12:51 [PATCH 0/7] arm64: meson: g12a: add audio devices Jerome Brunet
2019-04-12 12:51 ` Jerome Brunet [this message]
2019-04-12 12:51 ` [PATCH 2/7] arm64: dts: meson: g12a: add audio memory arbitrer Jerome Brunet
2019-04-12 12:51 ` [PATCH 3/7] arm64: dts: meson: g12a: add audio fifos Jerome Brunet
2019-04-12 12:51 ` [PATCH 4/7] arm64: dts: meson: g12a: add tdm devices Jerome Brunet
2019-04-12 12:51 ` [PATCH 5/7] arm64: dts: meson: g12a: add spdifouts Jerome Brunet
2019-04-12 12:51 ` [PATCH 6/7] arm64: dts: meson: g12a: add pdm Jerome Brunet
2019-04-12 12:51 ` [PATCH 7/7] arm64: dts: meson: g12a: add spdifin Jerome Brunet
2019-04-16 18:52 ` [PATCH 0/7] arm64: meson: g12a: add audio devices Kevin Hilman
2019-04-16 19:22 ` Kevin Hilman
2019-04-17 7:07 ` Jerome Brunet
2019-04-17 14:58 ` Kevin Hilman
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=20190412125136.28232-2-jbrunet@baylibre.com \
--to=jbrunet@baylibre.com \
--cc=devicetree@vger.kernel.org \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patchwork-bot+notify@kernel.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;
as well as URLs for NNTP newsgroup(s).