From: Tzung-Bi Shih <tzungbi@google.com>
To: broonie@kernel.org
Cc: gwendal@google.com, devicetree@vger.kernel.org,
alsa-devel@alsa-project.org, cychiang@google.com,
drinkcat@google.com, tzungbi@google.com, robh+dt@kernel.org,
enric.balletbo@collabora.com, bleung@google.com,
dgreid@google.com
Subject: [PATCH v3 00/10] ASoC: mediatek: mt8183-mt6358-ts3a227-max98357: support WoV
Date: Mon, 14 Oct 2019 18:20:12 +0800 [thread overview]
Message-ID: <20191014102022.236013-1-tzungbi@google.com> (raw)
This series makes mt6358, cros_ec_codec, and mt8183-mt6358-ts3a227-max98357
support WoV (wake on voice).
The first 3 commits are some cleanups and refactors. It looks like
breaking the existing interface. But please be noticed that, the
cros_ec_codec has not used by any real device yet. The refactor is
very necessary to keep the style consistent and for easier to further
extend and maintain.
platform/chrome: cros_ec: remove unused EC feature
ASoC: cros_ec_codec: refactor I2S RX
ASoC: cros_ec_codec: extract DMIC EC command from I2S RX
The 4th commit extends the feature offered from EC codec.
platform/chrome: cros_ec: add common commands for EC codec
The 5th commit changes the behavior of setting and getting DMIC gains.
ASoC: cros_ec_codec: read max DMIC gain from EC codec
The 6th and 7th commit make cros_ec_codec support WoV.
ASoC: dt-bindings: cros_ec_codec: add SHM bindings
ASoC: cros_ec_codec: support WoV
The 8th commit sets necessary registers on mt6358 to support WoV.
ASoC: mediatek: mt6358: support WoV
The last 2 commit make machine driver mt8183-mt6358-ts3a227-max98357
support WoV if ec-codec is in DTS.
ASoC: dt-bindings: mt8183: add ec-codec
ASoC: mediatek: mt8183: support WoV
Changes from v1:
- fix a compile error and make kbuild bot happy
https://mailman.alsa-project.org/pipermail/alsa-devel/2019-October/156315.html
Changes from v2:
- rebase upon to "don't use snd_pcm_ops" series
https://mailman.alsa-project.org/pipermail/alsa-devel/2019-October/156170.html
- fix sparse errors
https://mailman.alsa-project.org/pipermail/alsa-devel/2019-October/156328.html
- use "reg" for SHM binding
https://mailman.alsa-project.org/pipermail/alsa-devel/2019-October/156657.html
Tzung-Bi Shih (10):
WIP: platform/chrome: cros_ec: remove unused EC feature
WIP: ASoC: cros_ec_codec: refactor I2S RX
WIP: ASoC: cros_ec_codec: extract DMIC EC command from I2S RX
WIP: platform/chrome: cros_ec: add common commands for EC codec
WIP: ASoC: cros_ec_codec: read max DMIC gain from EC codec
WIP: ASoC: dt-bindings: cros_ec_codec: add SHM bindings
WIP: ASoC: cros_ec_codec: support WoV
WIP: ASoC: mediatek: mt6358: support WoV
WIP: ASoC: dt-bindings: mt8183: add ec-codec
WIP: ASoC: mediatek: mt8183: support WoV
.../bindings/sound/google,cros-ec-codec.txt | 24 +-
.../sound/mt8183-mt6358-ts3a227-max98357.txt | 3 +
drivers/platform/chrome/cros_ec_trace.c | 5 +-
.../linux/platform_data/cros_ec_commands.h | 285 ++++-
sound/soc/codecs/cros_ec_codec.c | 1128 +++++++++++++----
sound/soc/codecs/mt6358.c | 105 ++
sound/soc/mediatek/Kconfig | 1 +
.../mt8183/mt8183-mt6358-ts3a227-max98357.c | 70 +-
8 files changed, 1296 insertions(+), 325 deletions(-)
--
2.23.0.700.g56cf767bdb-goog
next reply other threads:[~2019-10-14 10:20 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-14 10:20 Tzung-Bi Shih [this message]
2019-10-14 10:20 ` [PATCH v3 01/10] platform/chrome: cros_ec: remove unused EC feature Tzung-Bi Shih
2019-10-18 18:06 ` Applied "platform/chrome: cros_ec: remove unused EC feature" to the asoc tree Mark Brown
2019-10-14 10:20 ` [PATCH v3 02/10] ASoC: cros_ec_codec: refactor I2S RX Tzung-Bi Shih
2019-10-18 18:06 ` Applied "ASoC: cros_ec_codec: refactor I2S RX" to the asoc tree Mark Brown
2019-10-14 10:20 ` [PATCH v3 03/10] ASoC: cros_ec_codec: extract DMIC EC command from I2S RX Tzung-Bi Shih
2019-10-18 18:06 ` Applied "ASoC: cros_ec_codec: extract DMIC EC command from I2S RX" to the asoc tree Mark Brown
2019-10-14 10:20 ` [PATCH v3 04/10] platform/chrome: cros_ec: add common commands for EC codec Tzung-Bi Shih
2019-10-14 10:20 ` [PATCH v3 05/10] ASoC: cros_ec_codec: read max DMIC gain from " Tzung-Bi Shih
2019-10-14 10:20 ` [PATCH v3 06/10] ASoC: dt-bindings: cros_ec_codec: add SHM bindings Tzung-Bi Shih
2019-10-14 17:23 ` Rob Herring
2019-10-14 10:20 ` [PATCH v3 07/10] ASoC: cros_ec_codec: support WoV Tzung-Bi Shih
2019-10-15 1:34 ` kbuild test robot
2019-10-15 6:49 ` Tzung-Bi Shih
2019-10-15 3:20 ` kbuild test robot
2019-10-14 10:20 ` [PATCH v3 08/10] ASoC: mediatek: mt6358: " Tzung-Bi Shih
2019-10-14 10:20 ` [PATCH v3 09/10] ASoC: dt-bindings: mt8183: add ec-codec Tzung-Bi Shih
2019-10-14 17:23 ` Rob Herring
2019-10-14 10:20 ` [PATCH v3 10/10] ASoC: mediatek: mt8183: support WoV Tzung-Bi Shih
2019-10-14 12:34 ` [PATCH v3 00/10] ASoC: mediatek: mt8183-mt6358-ts3a227-max98357: " Tzung-Bi Shih
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=20191014102022.236013-1-tzungbi@google.com \
--to=tzungbi@google.com \
--cc=alsa-devel@alsa-project.org \
--cc=bleung@google.com \
--cc=broonie@kernel.org \
--cc=cychiang@google.com \
--cc=devicetree@vger.kernel.org \
--cc=dgreid@google.com \
--cc=drinkcat@google.com \
--cc=enric.balletbo@collabora.com \
--cc=gwendal@google.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).