From: Valerio Setti <vsetti@baylibre.com>
To: jbrunet@baylibre.com, neil.armstrong@linaro.org,
khilman@baylibre.com, martin.blumenstingl@googlemail.com,
linux-amlogic@lists.infradead.org, linux-sound@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Valerio Setti <vsetti@baylibre.com>
Subject: [PATCH RFC 5/6] arm64: dts: meson-gx: add audin support
Date: Mon, 10 Feb 2025 16:01:28 +0100 [thread overview]
Message-ID: <20250210150129.40248-6-vsetti@baylibre.com> (raw)
In-Reply-To: <20250210150129.40248-1-vsetti@baylibre.com>
Add the AUDIN audio device to the Amlogic GX SoC family DT.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 8 +++++++
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 25 +++++++++++++++++++++
2 files changed, 33 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
index 2673f0dbafe7..594d7de606ec 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
@@ -304,6 +304,14 @@ aiu: audio-controller@5400 {
status = "disabled";
};
+ audin: audio-input-controller@a000 {
+ compatible = "amlogic,audin";
+ #sound-dai-cells = <1>;
+ sound-name-prefix = "AUDIN";
+ reg = <0x0 0xa000 0x0 0x308>;
+ status = "disabled";
+ };
+
uart_A: serial@84c0 {
compatible = "amlogic,meson-gx-uart";
reg = <0x0 0x84c0 0x0 0x18>;
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
index e2026b7aa03f..2db6916684fc 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
@@ -94,6 +94,31 @@ &aiu {
resets = <&reset RESET_AIU>;
};
+&audin {
+ compatible = "amlogic,audin-gxbb", "amlogic,audin";
+ clocks = <&clkc CLKID_AIU_GLUE>,
+ <&clkc CLKID_I2S_OUT>,
+ <&clkc CLKID_AOCLK_GATE>,
+ <&clkc CLKID_CTS_AMCLK>,
+ <&clkc CLKID_MIXER_IFACE>,
+ <&clkc CLKID_I2S_SPDIF>,
+ <&aiu AIU_AOCLK_DIV_GATE>,
+ <&aiu AIU_AOCLK_BASIC_DIV>,
+ <&aiu AIU_AOCLK_MORE_DIV>,
+ <&aiu AIU_LRCLK_DIV>;
+ clock-names = "pclk",
+ "i2s_pclk",
+ "i2s_aoclk",
+ "i2s_mclk",
+ "i2s_mixer",
+ "i2s_input_clk",
+ "i2s_aoclk_div_gate",
+ "i2s_aoclk_basic_div",
+ "i2s_aoclk_more_div",
+ "i2s_lrclk_div";
+ resets = <&reset RESET_AIU>;
+};
+
&aobus {
pinctrl_aobus: pinctrl@14 {
compatible = "amlogic,meson-gxbb-aobus-pinctrl";
--
2.39.5
next prev parent reply other threads:[~2025-02-10 15:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-10 15:01 [PATCH RFC 0/6] Add support for AUDIN driver in Amlogic GXBB Valerio Setti
2025-02-10 15:01 ` [PATCH RFC 1/6] ASoC: meson: [HACK] let AIU export its clocks through clk-regmap Valerio Setti
2025-02-10 15:01 ` [PATCH RFC 2/6] ASoC: meson: audin: add audio input dt-bindings Valerio Setti
2025-02-11 7:33 ` Krzysztof Kozlowski
2025-02-10 15:01 ` [PATCH RFC 3/6] ASoC: meson: add AUDIN driver Valerio Setti
2025-02-11 9:21 ` Jerome Brunet
2025-02-10 15:01 ` [PATCH RFC 4/6] ASoC: meson: add support for AUDIN in gx-card Valerio Setti
2025-02-10 15:01 ` Valerio Setti [this message]
2025-02-10 15:01 ` [PATCH RFC 6/6] arm64: dts: meson-gx: enable audin on odroidc2 platform Valerio Setti
2025-02-11 0:10 ` [PATCH RFC 0/6] Add support for AUDIN driver in Amlogic GXBB Rob Herring (Arm)
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=20250210150129.40248-6-vsetti@baylibre.com \
--to=vsetti@baylibre.com \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=neil.armstrong@linaro.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