From: Petr Kulhavy <petr@barix.com>
To: nsekhar@ti.com, khilman@kernel.org, lgirdwood@gmail.com,
broonie@kernel.org, devicetree@vger.kernel.org
Cc: mark.rutland@arm.com, alsa-devel@alsa-project.org,
pawel.moll@arm.com, ijc+devicetree@hellion.org.uk,
brain@jikos.cz, Petr Kulhavy <petr@barix.com>,
robh+dt@kernel.org, galak@codeaurora.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 4/4] ARM: DTS: da850: Add McBSP0 and McBSP1
Date: Mon, 9 May 2016 16:35:22 +0200 [thread overview]
Message-ID: <1462804522-29544-5-git-send-email-petr@barix.com> (raw)
In-Reply-To: <1462804522-29544-1-git-send-email-petr@barix.com>
Add SoC nodes for McBSP0 and McBSP1 as well as the corresponding pinmux
configurations.
Signed-off-by: Petr Kulhavy <petr@barix.com>
---
v1: initial
v2: add missing TC channel in dmas properties (for compatibility with the new EDMA3 binding)
remove "-audio" postfix from the compatible string
v3: no change
v4: no change
v5: rebased to current master of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci.git
using "sound@" prefix instead of "mcbsp@" prefix
address corrected to match the reg value
removed leading zeros from the reg values
arch/arm/boot/dts/da850.dtsi | 45 +++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 44 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index cf1aad8190f1..3a4450b7ae4a 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -166,7 +166,24 @@
0xc 0x88888888 0xffffffff
>;
};
-
+ mcbsp0_pins: pinmux_mcbsp0_pins {
+ pinctrl-single,bits = <
+ /* PINMUX2:
+ * CLKS0, DX0, DR0, FSX0
+ * FSR0, CLKX0, CLKR0
+ */
+ 0x8 0x02222220 0xfffffff0
+ >;
+ };
+ mcbsp1_pins: pinmux_mcbsp1_pins {
+ pinctrl-single,bits = <
+ /* PINMUX1:
+ * CLKS1, DX1, DR1, FSX1,
+ * FSR1, CLKX1, CLKR1
+ */
+ 0x4 0x22222220 0xfffffff0
+ >;
+ };
};
edma0: edma@0 {
compatible = "ti,edma3-tpcc";
@@ -374,6 +391,32 @@
<&edma0 0 1>;
dma-names = "tx", "rx";
};
+
+ mcbsp0: sound@110000 {
+ compatible = "ti,da850-mcbsp";
+ reg = <0x110000 0x1000>,
+ <0x310000 0x1000>;
+ reg-names = "mpu", "dat";
+ interrupts = <97 98>;
+ interrupts-names = "rx", "tx";
+ dmas = <&edma0 3 1
+ &edma0 2 1>;
+ dma-names = "tx", "rx";
+ status = "disabled";
+ };
+ mcbsp1: sound@111000 {
+ compatible = "ti,da850-mcbsp";
+ reg = <0x111000 0x1000>,
+ <0x311000 0x1000>;
+ reg-names = "mpu", "dat";
+ interrupts = <99 100>;
+ interrupts-names = "rx", "tx";
+ dmas = <&edma0 5 1
+ &edma0 4 1>;
+ dma-names = "tx", "rx";
+ status = "disabled";
+ };
+
};
nand_cs3@62000000 {
compatible = "ti,davinci-nand";
--
1.9.1
prev parent reply other threads:[~2016-05-09 14:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-09 14:35 [PATCH v5 0/4] ASoC: davinci-mcbsp: add binding for McBSP Petr Kulhavy
2016-05-09 14:35 ` [PATCH v5 1/4] " Petr Kulhavy
[not found] ` <1462804522-29544-2-git-send-email-petr-Qh/3xLP0EvwAvxtiuMwx3w@public.gmane.org>
2016-05-11 14:34 ` Rob Herring
[not found] ` <1462804522-29544-1-git-send-email-petr-Qh/3xLP0EvwAvxtiuMwx3w@public.gmane.org>
2016-05-09 14:35 ` [PATCH v5 2/4] ASoC: Davinci: McBSP: add device tree support " Petr Kulhavy
[not found] ` <1462804522-29544-3-git-send-email-petr-Qh/3xLP0EvwAvxtiuMwx3w@public.gmane.org>
2016-05-11 14:57 ` Mark Brown
[not found] ` <20160511145717.GJ6261-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-05-11 15:10 ` Petr Kulhavy
2016-05-09 14:35 ` [PATCH v5 3/4] ARM: davinci: da8xx-dt: add OF_DEV_AUXDATA entries for mcbsp0 and mcbsp1 Petr Kulhavy
2016-05-09 14:35 ` Petr Kulhavy [this message]
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=1462804522-29544-5-git-send-email-petr@barix.com \
--to=petr@barix.com \
--cc=alsa-devel@alsa-project.org \
--cc=brain@jikos.cz \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=khilman@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=nsekhar@ti.com \
--cc=pawel.moll@arm.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).