From: <sean.wang@mediatek.com>
To: <robh+dt@kernel.org>, <matthias.bgg@gmail.com>,
<john@phrozen.org>, <mark.rutland@arm.com>,
<linux@armlinux.org.uk>, <linus.walleij@linaro.org>,
<devicetree@vger.kernel.org>,
<linux-mediatek@lists.infradead.org>
Cc: <linux-arm-kernel@lists.infradead.org>,
<linux-gpio@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Sean Wang <sean.wang@mediatek.com>
Subject: [PATCH v2 18/30] arm: dts: mt7623: add afe nodes to the mt7623.dtsi file
Date: Wed, 26 Apr 2017 17:26:02 +0800 [thread overview]
Message-ID: <1493198774-4478-19-git-send-email-sean.wang@mediatek.com> (raw)
In-Reply-To: <1493198774-4478-1-git-send-email-sean.wang@mediatek.com>
From: Sean Wang <sean.wang@mediatek.com>
Add afe nodes to the mt7623.dtsi file. Which
is the necessary node for I2S audio in/out.
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
---
arch/arm/boot/dts/mt7623.dtsi | 99 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 99 insertions(+)
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index 76e0840..a2b6238 100644
--- a/arch/arm/boot/dts/mt7623.dtsi
+++ b/arch/arm/boot/dts/mt7623.dtsi
@@ -380,6 +380,105 @@
status = "disabled";
};
+ afe: audio-controller@11220000 {
+ compatible = "mediatek,mt7623-audio",
+ "mediatek,mt2701-audio";
+ reg = <0 0x11220000 0 0x2000>,
+ <0 0x112a0000 0 0x20000>;
+ interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_LOW>;
+ power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>;
+
+ clocks = <&infracfg CLK_INFRA_AUDIO>,
+ <&topckgen CLK_TOP_AUD_MUX1_SEL>,
+ <&topckgen CLK_TOP_AUD_MUX2_SEL>,
+ <&topckgen CLK_TOP_AUD_MUX1_DIV>,
+ <&topckgen CLK_TOP_AUD_MUX2_DIV>,
+ <&topckgen CLK_TOP_AUD_48K_TIMING>,
+ <&topckgen CLK_TOP_AUD_44K_TIMING>,
+ <&topckgen CLK_TOP_AUDPLL_MUX_SEL>,
+ <&topckgen CLK_TOP_APLL_SEL>,
+ <&topckgen CLK_TOP_AUD1PLL_98M>,
+ <&topckgen CLK_TOP_AUD2PLL_90M>,
+ <&topckgen CLK_TOP_HADDS2PLL_98M>,
+ <&topckgen CLK_TOP_HADDS2PLL_294M>,
+ <&topckgen CLK_TOP_AUDPLL>,
+ <&topckgen CLK_TOP_AUDPLL_D4>,
+ <&topckgen CLK_TOP_AUDPLL_D8>,
+ <&topckgen CLK_TOP_AUDPLL_D16>,
+ <&topckgen CLK_TOP_AUDPLL_D24>,
+ <&topckgen CLK_TOP_AUDINTBUS_SEL>,
+ <&clk26m>,
+ <&topckgen CLK_TOP_SYSPLL1_D4>,
+ <&topckgen CLK_TOP_AUD_K1_SRC_SEL>,
+ <&topckgen CLK_TOP_AUD_K2_SRC_SEL>,
+ <&topckgen CLK_TOP_AUD_K3_SRC_SEL>,
+ <&topckgen CLK_TOP_AUD_K4_SRC_SEL>,
+ <&topckgen CLK_TOP_AUD_K5_SRC_SEL>,
+ <&topckgen CLK_TOP_AUD_K6_SRC_SEL>,
+ <&topckgen CLK_TOP_AUD_K1_SRC_DIV>,
+ <&topckgen CLK_TOP_AUD_K2_SRC_DIV>,
+ <&topckgen CLK_TOP_AUD_K3_SRC_DIV>,
+ <&topckgen CLK_TOP_AUD_K4_SRC_DIV>,
+ <&topckgen CLK_TOP_AUD_K5_SRC_DIV>,
+ <&topckgen CLK_TOP_AUD_K6_SRC_DIV>,
+ <&topckgen CLK_TOP_AUD_I2S1_MCLK>,
+ <&topckgen CLK_TOP_AUD_I2S2_MCLK>,
+ <&topckgen CLK_TOP_AUD_I2S3_MCLK>,
+ <&topckgen CLK_TOP_AUD_I2S4_MCLK>,
+ <&topckgen CLK_TOP_AUD_I2S5_MCLK>,
+ <&topckgen CLK_TOP_AUD_I2S6_MCLK>,
+ <&topckgen CLK_TOP_ASM_M_SEL>,
+ <&topckgen CLK_TOP_ASM_H_SEL>,
+ <&topckgen CLK_TOP_UNIVPLL2_D4>,
+ <&topckgen CLK_TOP_UNIVPLL2_D2>,
+ <&topckgen CLK_TOP_SYSPLL_D5>;
+
+ clock-names = "infra_sys_audio_clk",
+ "top_audio_mux1_sel",
+ "top_audio_mux2_sel",
+ "top_audio_mux1_div",
+ "top_audio_mux2_div",
+ "top_audio_48k_timing",
+ "top_audio_44k_timing",
+ "top_audpll_mux_sel",
+ "top_apll_sel",
+ "top_aud1_pll_98M",
+ "top_aud2_pll_90M",
+ "top_hadds2_pll_98M",
+ "top_hadds2_pll_294M",
+ "top_audpll",
+ "top_audpll_d4",
+ "top_audpll_d8",
+ "top_audpll_d16",
+ "top_audpll_d24",
+ "top_audintbus_sel",
+ "clk_26m",
+ "top_syspll1_d4",
+ "top_aud_k1_src_sel",
+ "top_aud_k2_src_sel",
+ "top_aud_k3_src_sel",
+ "top_aud_k4_src_sel",
+ "top_aud_k5_src_sel",
+ "top_aud_k6_src_sel",
+ "top_aud_k1_src_div",
+ "top_aud_k2_src_div",
+ "top_aud_k3_src_div",
+ "top_aud_k4_src_div",
+ "top_aud_k5_src_div",
+ "top_aud_k6_src_div",
+ "top_aud_i2s1_mclk",
+ "top_aud_i2s2_mclk",
+ "top_aud_i2s3_mclk",
+ "top_aud_i2s4_mclk",
+ "top_aud_i2s5_mclk",
+ "top_aud_i2s6_mclk",
+ "top_asm_m_sel",
+ "top_asm_h_sel",
+ "top_univpll2_d4",
+ "top_univpll2_d2",
+ "top_syspll_d5";
+ };
+
mmc0: mmc@11230000 {
compatible = "mediatek,mt7623-mmc",
"mediatek,mt8135-mmc";
--
1.9.1
next prev parent reply other threads:[~2017-04-26 9:35 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-26 9:25 [PATCH v2 00/30] arm: dts: extend mt7623 support sean.wang
2017-04-26 9:25 ` [PATCH v2 01/30] pinctrl: mediatek: Add missing pinctrl bindings for mt7623 sean.wang
2017-04-28 7:55 ` Linus Walleij
2017-04-26 9:25 ` [PATCH v2 02/30] pinctrl: mediatek: reuse pinctrl driver " sean.wang
2017-04-28 8:01 ` Linus Walleij
2017-05-01 6:44 ` Sean Wang
2017-04-26 9:25 ` [PATCH v2 03/30] arm: dts: mt7623: add clock controller device nodes sean.wang
2017-04-26 9:25 ` [PATCH v2 04/30] arm: dts: mt7623: add subsystem " sean.wang
2017-04-26 9:25 ` [PATCH v2 05/30] arm: dts: mt7623: add power domain controller device node sean.wang
2017-04-26 9:25 ` [PATCH v2 06/30] arm: dts: mt7623: add clock-frequency to the a7 timer node to mt7623.dtsi sean.wang
2017-04-26 9:25 ` [PATCH v2 07/30] arm: dts: mt7623: add pinctrl nodes to the mt7623 dtsi file sean.wang
2017-04-28 8:03 ` Linus Walleij
2017-04-26 9:25 ` [PATCH v2 08/30] arm: dts: mt7623: add pmic wrapper " sean.wang
2017-04-26 9:25 ` [PATCH v2 09/30] arm: dts: mt7623: add i2c nodes to the mt7623.dtsi file sean.wang
2017-04-26 9:25 ` [PATCH v2 10/30] arm: dts: mt7623: add spi " sean.wang
2017-04-26 9:25 ` [PATCH v2 11/30] arm: dts: mt7623: add nand " sean.wang
2017-04-26 9:25 ` [PATCH v2 12/30] arm: dts: mt7623: add mmc " sean.wang
2017-04-26 9:25 ` [PATCH v2 13/30] arm: dts: mt7623: add usb " sean.wang
2017-04-26 9:25 ` [PATCH v2 14/30] arm: dts: mt7623: add pwm " sean.wang
2017-04-26 9:25 ` [PATCH v2 15/30] arm: dts: mt7623: add ethernet " sean.wang
2017-04-26 9:26 ` [PATCH v2 16/30] arm: dts: mt7623: add crypto engine " sean.wang
2017-04-26 9:26 ` [PATCH v2 17/30] arm: dts: mt7623: add ir " sean.wang
2017-04-26 9:26 ` sean.wang [this message]
2017-04-26 9:26 ` [PATCH v2 19/30] arm: dts: mt7623: add rng " sean.wang
2017-04-26 9:26 ` [PATCH v2 20/30] arm: dts: mt7623: add auxadc " sean.wang
2017-04-26 9:26 ` [PATCH v2 21/30] arm: dts: mt7623: add efuse " sean.wang
2017-04-26 9:26 ` [PATCH v2 22/30] arm: dts: mt7623: add thermal " sean.wang
2017-04-26 9:26 ` [PATCH v2 23/30] arm: dts: mt7623: add Sean as one of authors for mt7623.dtsi files sean.wang
2017-04-26 9:26 ` [PATCH v2 24/30] arm: dts: mt7623: add mt7623-mt6323.dtsi file sean.wang
2017-04-26 9:26 ` [PATCH v2 25/30] arm: dts: mt7623: rename mt7623-evb.dts to arch/arm/boot/dts/mt7623n-rfb.dtsi sean.wang
2017-04-28 20:30 ` Rob Herring
2017-05-01 7:06 ` Sean Wang
2017-04-26 9:26 ` [PATCH v2 26/30] arm: dts: mt7623: cleanup the mt7623n rfb uart nodes sean.wang
2017-04-26 9:26 ` [PATCH v2 27/30] arm: dts: mt7623: enable the usb device on the mt7623n rfb sean.wang
2017-04-26 9:26 ` [PATCH v2 28/30] arm: dts: mt7623: enable the nand device on the mt7623n nand rfb sean.wang
2017-04-26 9:26 ` [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi sean.wang
2017-04-28 20:37 ` Rob Herring
2017-05-01 6:58 ` Sean Wang
2017-05-02 13:52 ` Rob Herring
2017-05-08 9:53 ` Sean Wang
2017-05-08 11:36 ` Arnd Bergmann
2017-05-09 7:49 ` Matthias Brugger
2017-05-09 8:03 ` Chen-Yu Tsai
2017-05-09 9:40 ` Sean Wang
2017-04-26 9:26 ` [PATCH v2 30/30] arm: dts: mt7623: add dts file for Bananapi R2 (BPI-R2) board sean.wang
2017-05-10 9:58 ` [PATCH v2 00/30] arm: dts: extend mt7623 support Matthias Brugger
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=1493198774-4478-19-git-send-email-sean.wang@mediatek.com \
--to=sean.wang@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=john@phrozen.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=matthias.bgg@gmail.com \
--cc=robh+dt@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).