linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jerome Brunet <jbrunet@baylibre.com>
To: Kevin Hilman <khilman@baylibre.com>
Cc: Jerome Brunet <jbrunet@baylibre.com>,
	linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH 7/7] arm64: dts: meson: g12: add internal DAC glue
Date: Thu,  7 May 2020 00:16:56 +0200	[thread overview]
Message-ID: <20200506221656.477379-8-jbrunet@baylibre.com> (raw)
In-Reply-To: <20200506221656.477379-1-jbrunet@baylibre.com>

add the internal DAC glue support on the g12 and sm1 family
This glue connects the different TDM interfaces of the SoC to
the internal audio DAC codec.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-g12.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12.dtsi
index 55d39020ec72..0d14409f509c 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12.dtsi
@@ -343,6 +343,15 @@ spdifout_b: audio-controller@680 {
 			status = "disabled";
 		};
 
+		toacodec: audio-controller@740 {
+			compatible = "amlogic,g12a-toacodec";
+			reg = <0x0 0x740 0x0 0x4>;
+			#sound-dai-cells = <1>;
+			sound-name-prefix = "TOACODEC";
+			resets = <&clkc_audio AUD_RESET_TOACODEC>;
+			status = "disabled";
+		};
+
 		tohdmitx: audio-controller@744 {
 			compatible = "amlogic,g12a-tohdmitx";
 			reg = <0x0 0x744 0x0 0x4>;
-- 
2.25.4


  parent reply	other threads:[~2020-05-06 22:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-06 22:16 [PATCH 0/7] arm64: dts: meson: add internal audio DAC support Jerome Brunet
2020-05-06 22:16 ` [PATCH 1/7] arm64: dts: meson: gxl: add acodec support Jerome Brunet
2020-05-06 22:16 ` [PATCH 2/7] arm64: dts: meson: p230-q200: add internal DAC support Jerome Brunet
2020-05-06 22:16 ` [PATCH 3/7] arm64: dts: meson: libretech-cc: " Jerome Brunet
2020-05-06 22:16 ` [PATCH 4/7] arm64: dts: meson: libretech-ac: " Jerome Brunet
2020-05-06 22:16 ` [PATCH 5/7] arm64: dts: meson: libretech-pc: " Jerome Brunet
2020-05-06 22:16 ` [PATCH 6/7] arm64: dts: meson: g12: add internal DAC Jerome Brunet
2020-05-06 22:16 ` Jerome Brunet [this message]
2020-05-20  0:07 ` [PATCH 0/7] arm64: dts: meson: add internal audio DAC support 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=20200506221656.477379-8-jbrunet@baylibre.com \
    --to=jbrunet@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=khilman@baylibre.com \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-kernel@vger.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).