From: Benson Leung <bleung@google.com>
To: Tzung-Bi Shih <tzungbi@google.com>
Cc: gwendal@google.com, devicetree@vger.kernel.org,
alsa-devel@alsa-project.org, cychiang@google.com,
drinkcat@google.com, robh+dt@kernel.org, broonie@kernel.org,
enric.balletbo@collabora.com, dgreid@google.com
Subject: Re: [alsa-devel] [PATCH v3 06/10] ASoC: dt-bindings: cros_ec_codec: add SHM bindings
Date: Wed, 16 Oct 2019 20:12:14 -0700 [thread overview]
Message-ID: <20191017031214.GA78044@google.com> (raw)
In-Reply-To: <20191014180059.06.I0df85fe54162426e31f60a589d9b461c65df2faa@changeid>
[-- Attachment #1.1: Type: text/plain, Size: 2046 bytes --]
On Mon, Oct 14, 2019 at 06:20:18PM +0800, Tzung-Bi Shih wrote:
> - Add "reg" for binding to shared memory exposed by EC.
> - Add "memory-region" for binding to memory region shared by AP.
>
> Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Acked-By: Benson Leung <bleung@chromium.org>
> ---
> .../bindings/sound/google,cros-ec-codec.txt | 20 +++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/sound/google,cros-ec-codec.txt b/Documentation/devicetree/bindings/sound/google,cros-ec-codec.txt
> index 0ce9fafc78e2..8ca52dcc5572 100644
> --- a/Documentation/devicetree/bindings/sound/google,cros-ec-codec.txt
> +++ b/Documentation/devicetree/bindings/sound/google,cros-ec-codec.txt
> @@ -10,8 +10,26 @@ Required properties:
> - compatible: Must contain "google,cros-ec-codec"
> - #sound-dai-cells: Should be 1. The cell specifies number of DAIs.
>
> +Optional properties:
> +- reg: Pysical base address and length of shared memory region from EC.
> + It contains 3 unsigned 32-bit integer. The first 2 integers
> + combine to become an unsigned 64-bit physical address. The last
> + one integer is length of the shared memory.
> +- memory-region: Shared memory region to EC. A "shared-dma-pool". See
> + ../reserved-memory/reserved-memory.txt for details.
> +
> Example:
>
> +{
> + ...
> +
> + reserved_mem: reserved_mem {
> + compatible = "shared-dma-pool";
> + reg = <0 0x52800000 0 0x100000>;
> + no-map;
> + };
> +}
> +
> cros-ec@0 {
> compatible = "google,cros-ec-spi";
>
> @@ -20,5 +38,7 @@ cros-ec@0 {
> cros_ec_codec: ec-codec {
> compatible = "google,cros-ec-codec";
> #sound-dai-cells = <1>;
> + reg = <0x0 0x10500000 0x80000>;
> + memory-region = <&reserved_mem>;
> };
> };
> --
> 2.23.0.700.g56cf767bdb-goog
>
--
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
bleung@google.com
Chromium OS Project
bleung@chromium.org
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 161 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2019-10-17 3:13 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-14 10:20 [alsa-devel] [PATCH v3 00/10] ASoC: mediatek: mt8183-mt6358-ts3a227-max98357: support WoV Tzung-Bi Shih
2019-10-14 10:20 ` Tzung-Bi Shih
2019-10-14 10:20 ` [alsa-devel] [PATCH v3 01/10] platform/chrome: cros_ec: remove unused EC feature Tzung-Bi Shih
2019-10-14 10:20 ` Tzung-Bi Shih
2019-10-15 11:48 ` [alsa-devel] " Mark Brown
2019-10-15 15:37 ` Tzung-Bi Shih
2019-10-17 2:25 ` Benson Leung
2019-10-18 18:06 ` [alsa-devel] Applied "platform/chrome: cros_ec: remove unused EC feature" to the asoc tree Mark Brown
2019-10-18 18:06 ` Mark Brown
2019-10-14 10:20 ` [alsa-devel] [PATCH v3 02/10] ASoC: cros_ec_codec: refactor I2S RX Tzung-Bi Shih
2019-10-14 10:20 ` Tzung-Bi Shih
2019-10-17 2:30 ` [alsa-devel] " Benson Leung
2019-10-18 18:06 ` [alsa-devel] Applied "ASoC: cros_ec_codec: refactor I2S RX" to the asoc tree Mark Brown
2019-10-18 18:06 ` Mark Brown
2019-10-14 10:20 ` [alsa-devel] [PATCH v3 03/10] ASoC: cros_ec_codec: extract DMIC EC command from I2S RX Tzung-Bi Shih
2019-10-14 10:20 ` Tzung-Bi Shih
2019-10-17 2:48 ` [alsa-devel] " Benson Leung
2019-10-18 18:06 ` [alsa-devel] Applied "ASoC: cros_ec_codec: extract DMIC EC command from I2S RX" to the asoc tree Mark Brown
2019-10-18 18:06 ` Mark Brown
2019-10-14 10:20 ` [alsa-devel] [PATCH v3 04/10] platform/chrome: cros_ec: add common commands for EC codec Tzung-Bi Shih
2019-10-14 10:20 ` Tzung-Bi Shih
2019-10-17 2:57 ` [alsa-devel] " Benson Leung
2019-10-14 10:20 ` [alsa-devel] [PATCH v3 05/10] ASoC: cros_ec_codec: read max DMIC gain from " Tzung-Bi Shih
2019-10-14 10:20 ` Tzung-Bi Shih
2019-10-17 3:07 ` [alsa-devel] " Benson Leung
2019-10-14 10:20 ` [alsa-devel] [PATCH v3 06/10] ASoC: dt-bindings: cros_ec_codec: add SHM bindings Tzung-Bi Shih
2019-10-14 10:20 ` Tzung-Bi Shih
2019-10-14 17:23 ` [alsa-devel] " Rob Herring
2019-10-14 17:23 ` Rob Herring
2019-10-17 3:12 ` Benson Leung [this message]
2019-10-14 10:20 ` [alsa-devel] [PATCH v3 07/10] ASoC: cros_ec_codec: support WoV Tzung-Bi Shih
2019-10-14 10:20 ` Tzung-Bi Shih
2019-10-15 1:34 ` [alsa-devel] " kbuild test robot
2019-10-15 1:34 ` kbuild test robot
2019-10-15 1:34 ` kbuild test robot
2019-10-15 6:49 ` [alsa-devel] " Tzung-Bi Shih
2019-10-15 6:49 ` Tzung-Bi Shih
2019-10-15 6:49 ` Tzung-Bi Shih
2019-10-17 11:43 ` [alsa-devel] " Mark Brown
2019-10-17 11:43 ` Mark Brown
2019-10-15 3:20 ` kbuild test robot
2019-10-15 3:20 ` kbuild test robot
2019-10-15 3:20 ` kbuild test robot
2019-10-14 10:20 ` [alsa-devel] [PATCH v3 08/10] ASoC: mediatek: mt6358: " Tzung-Bi Shih
2019-10-14 10:20 ` Tzung-Bi Shih
2019-10-14 10:20 ` [alsa-devel] [PATCH v3 09/10] ASoC: dt-bindings: mt8183: add ec-codec Tzung-Bi Shih
2019-10-14 10:20 ` Tzung-Bi Shih
2019-10-14 17:23 ` [alsa-devel] " Rob Herring
2019-10-14 17:23 ` Rob Herring
2019-10-14 10:20 ` [alsa-devel] [PATCH v3 10/10] ASoC: mediatek: mt8183: support WoV Tzung-Bi Shih
2019-10-14 10:20 ` Tzung-Bi Shih
2019-10-14 12:34 ` [alsa-devel] [PATCH v3 00/10] ASoC: mediatek: mt8183-mt6358-ts3a227-max98357: " Tzung-Bi Shih
2019-10-14 12:34 ` 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=20191017031214.GA78044@google.com \
--to=bleung@google.com \
--cc=alsa-devel@alsa-project.org \
--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 \
--cc=tzungbi@google.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.