devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ASoC: Mediatek: Add support for MT8173 SOC
@ 2015-04-10  7:10 Koro Chen
  2015-04-10  7:10 ` [PATCH RFC 1/2] ASoC: mediatek: Add binding support for AFE driver Koro Chen
  2015-04-10  7:10 ` [PATCH RFC 2/2] ASoC: mediatek: Add AFE platform driver Koro Chen
  0 siblings, 2 replies; 3+ messages in thread
From: Koro Chen @ 2015-04-10  7:10 UTC (permalink / raw)
  To: robh+dt, matthias.bgg, broonie, perex, tiwai
  Cc: devicetree, koro.chen, srv_heupstream, s.hauer, lgirdwood,
	linux-kernel, linux-mediatek, galak, alsa-devel, linux-arm-kernel

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 (2):
  ASoC: mediatek: Add binding support for AFE driver
  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

--

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-10  7:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-10  7:10 ASoC: Mediatek: Add support for MT8173 SOC Koro Chen
2015-04-10  7:10 ` [PATCH RFC 1/2] ASoC: mediatek: Add binding support for AFE driver Koro Chen
2015-04-10  7:10 ` [PATCH RFC 2/2] ASoC: mediatek: Add AFE platform driver Koro Chen

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).