From: Ajye Huang <ajye_huang@compal.corp-partner.google.com>
To: Ajye Huang <ajye.huang@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Mark Brown <broonie@kernel.org>,
Rohit kumar <rohitkr@codeaurora.org>,
Banajit Goswami <bgoswami@codeaurora.org>,
Patrick Lai <plai@codeaurora.org>,
Srinivasa Rao Mandadapu <srivasam@codeaurora.org>,
Srini Kandagatla <srinivas.kandagatla@linaro.org>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Rob Herring <robh+dt@kernel.org>, Rob Herring <robh@kernel.org>,
Jaroslav Kysela <perex@perex.cz>,
Cheng-yi Chiang <cychiang@chromium.org>,
Tzung-Bi Shih <tzungbi@chromium.org>,
Douglas Anderson <dianders@chromium.org>,
"moderated list:ARM/Mediatek SoC support"
<linux-arm-kernel@lists.infradead.org>,
linux-arm-msm <linux-arm-msm@vger.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>,
ALSA development <alsa-devel@alsa-project.org>
Subject: Re: [PATCH v6 1/2] ASoC: google: dt-bindings: modify machine bindings for two MICs case
Date: Mon, 9 Nov 2020 21:55:14 +0800 [thread overview]
Message-ID: <CALprXBZmC=Qxk5fkGn=QJ4xW4tSGMZxb9LFUbqfMge0vLcP-dQ@mail.gmail.com> (raw)
In-Reply-To: <20201106061433.1483129-2-ajye_huang@compal.corp-partner.google.com>
Hi, Rob
I follow your suggests that adding (maxItems: 1) for dmic-gpis property,
and keep one example of adding dmic-gpios property in it
Could you please kindly review it ?
Thank you so much
Ajye
On Fri, Nov 6, 2020 at 2:14 PM Ajye Huang <ajye.huang@gmail.com> wrote:
>
> Add a property "dmic-gpios" for switching between two MICs.
>
> Signed-off-by: Ajye Huang <ajye_huang@compal.corp-partner.google.com>
> ---
> .../devicetree/bindings/sound/google,sc7180-trogdor.yaml | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml b/Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml
> index efc34689d6b5..ce050a9dec94 100644
> --- a/Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml
> +++ b/Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml
> @@ -34,6 +34,10 @@ properties:
> "#size-cells":
> const: 0
>
> + dmic-gpios:
> + maxItems: 1
> + description: GPIO for switching between DMICs
> +
> patternProperties:
> "^dai-link(@[0-9])?$":
> description:
> @@ -83,7 +87,7 @@ examples:
> - |
> sound {
> compatible = "google,sc7180-trogdor";
> - model = "sc7180-rt5682-max98357a-1mic";
> + model = "sc7180-rt5682-max98357a-2mic";
>
> audio-routing =
> "Headphone Jack", "HPOL",
> @@ -92,6 +96,8 @@ examples:
> #address-cells = <1>;
> #size-cells = <0>;
>
> + dmic-gpios = <&tlmm 86 0>;
> +
> dai-link@0 {
> link-name = "MultiMedia0";
> reg = <0>;
> --
> 2.25.1
>
next prev parent reply other threads:[~2020-11-09 13:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-06 6:14 [PATCH v6 0/2] Modify documentation and machine driver for SC7180 sound card Ajye Huang
2020-11-06 6:14 ` [PATCH v6 1/2] ASoC: google: dt-bindings: modify machine bindings for two MICs case Ajye Huang
2020-11-09 13:55 ` Ajye Huang [this message]
2020-11-09 20:41 ` Rob Herring
2020-11-06 6:14 ` [PATCH v6 2/2] ASoC: qcom: sc7180: Modify machine driver for 2mic Ajye Huang
2020-11-10 9:40 ` [PATCH v6 0/2] Modify documentation and machine driver for SC7180 sound card Ajye Huang
2020-11-10 11:56 ` Mark Brown
2020-11-10 16:07 ` Ajye Huang
2020-11-10 16:02 ` 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='CALprXBZmC=Qxk5fkGn=QJ4xW4tSGMZxb9LFUbqfMge0vLcP-dQ@mail.gmail.com' \
--to=ajye_huang@compal.corp-partner.google.com \
--cc=agross@kernel.org \
--cc=ajye.huang@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=bgoswami@codeaurora.org \
--cc=bjorn.andersson@linaro.org \
--cc=broonie@kernel.org \
--cc=cychiang@chromium.org \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=plai@codeaurora.org \
--cc=robh+dt@kernel.org \
--cc=robh@kernel.org \
--cc=rohitkr@codeaurora.org \
--cc=srinivas.kandagatla@linaro.org \
--cc=srivasam@codeaurora.org \
--cc=tzungbi@chromium.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).