From: Koro Chen <koro.chen@mediatek.com>
To: robh+dt@kernel.org, matthias.bgg@gmail.com, broonie@kernel.org,
perex@perex.cz, tiwai@suse.de
Cc: devicetree@vger.kernel.org, koro.chen@mediatek.com,
srv_heupstream@mediatek.com, s.hauer@pengutronix.de,
lgirdwood@gmail.com, linux-kernel@vger.kernel.org,
linux-mediatek@lists.infradead.org, galak@codeaurora.org,
alsa-devel@alsa-project.org,
linux-arm-kernel@lists.infradead.org
Subject: [RESEND RFC PATCH 0/3] ASoC: Mediatek: Add support for MT8173 SOC
Date: Fri, 10 Apr 2015 16:14:06 +0800 [thread overview]
Message-ID: <1428653649-38200-1-git-send-email-koro.chen@mediatek.com> (raw)
Refactor and resend this series because of the 60KB limitation.
This adds basic support for the Mediatek AFE unit for MT8173 SoC.
This patch is based on Linux 4.0-rc1, Sascha's clk patch [1],
and his SCPSYS power patch [2].
The AFE unit comprises several memory interfaces that communicate with CPU,
a multi input multi output digital audio interconnect, and several external
interfaces (e.g. I2S).
The AFE unit is a DMA master, so no external DMA engine is needed.
Each external interface is presented as a DAI to ASoC. A memory interface
must be connected via the interconnect to an external interface.
The connection pathes are configured through the device tree.
[1] http://lists.infradead.org/pipermail/linux-mediatek/2015-March/000079.html
[2] http://lists.infradead.org/pipermail/linux-mediatek/2015-March/000132.html
Koro Chen (3):
ASoC: mediatek: Add binding support for AFE driver
ASoC: mediatek: Add AFE connection control
ASoC: mediatek: Add AFE platform driver
.../devicetree/bindings/sound/mtk-afe-pcm.txt | 105 ++
include/dt-bindings/sound/mtk-afe.h | 36 +
sound/soc/Kconfig | 1 +
sound/soc/Makefile | 1 +
sound/soc/mediatek/Kconfig | 8 +
sound/soc/mediatek/Makefile | 2 +
sound/soc/mediatek/mtk-afe-common.h | 105 ++
sound/soc/mediatek/mtk-afe-connection.c | 416 ++++++
sound/soc/mediatek/mtk-afe-connection.h | 30 +
sound/soc/mediatek/mtk-afe-pcm.c | 1497 ++++++++++++++++++++
10 files changed, 2201 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/mtk-afe-pcm.txt
create mode 100644 include/dt-bindings/sound/mtk-afe.h
create mode 100644 sound/soc/mediatek/Kconfig
create mode 100644 sound/soc/mediatek/Makefile
create mode 100644 sound/soc/mediatek/mtk-afe-common.h
create mode 100644 sound/soc/mediatek/mtk-afe-connection.c
create mode 100644 sound/soc/mediatek/mtk-afe-connection.h
create mode 100644 sound/soc/mediatek/mtk-afe-pcm.c
--
next reply other threads:[~2015-04-10 8:14 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-10 8:14 Koro Chen [this message]
2015-04-10 8:14 ` [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver Koro Chen
2015-04-18 17:34 ` Mark Brown
[not found] ` <20150418173407.GE26185-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-04-20 4:37 ` Sascha Hauer
[not found] ` <20150420043747.GH6325-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-04-20 20:48 ` Mark Brown
[not found] ` <20150420204849.GJ14892-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-04-21 9:49 ` Sascha Hauer
2015-04-21 10:14 ` Mark Brown
2015-04-21 10:15 ` Koro Chen
2015-04-21 10:56 ` Mark Brown
2015-04-22 3:17 ` Koro Chen
2015-04-30 20:12 ` Mark Brown
[not found] ` <20150430201207.GK22845-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-05-04 1:57 ` Koro Chen
2015-04-10 8:14 ` [RESEND RFC PATCH 2/3] ASoC: mediatek: Add AFE connection control Koro Chen
[not found] ` <1428653649-38200-3-git-send-email-koro.chen-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2015-04-18 17:37 ` Mark Brown
[not found] ` <20150418173740.GF26185-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-04-20 4:50 ` Sascha Hauer
[not found] ` <20150420045017.GI6325-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-04-20 20:52 ` Mark Brown
[not found] ` <20150420205230.GK14892-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-04-21 5:50 ` Sascha Hauer
[not found] ` <20150421055041.GQ6325-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-04-21 10:15 ` Mark Brown
2015-04-10 8:14 ` [RESEND RFC PATCH 3/3] ASoC: mediatek: Add AFE platform driver Koro Chen
2015-04-18 17:51 ` Mark Brown
[not found] ` <20150418175139.GG26185-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-04-20 6:22 ` Koro Chen
2015-04-20 20:55 ` Mark Brown
2015-04-21 2:27 ` Koro Chen
2015-04-21 10:05 ` Mark Brown
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=1428653649-38200-1-git-send-email-koro.chen@mediatek.com \
--to=koro.chen@mediatek.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=perex@perex.cz \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=srv_heupstream@mediatek.com \
--cc=tiwai@suse.de \
/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).