[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALprXBY8FUc_w=JO3bp9m1e=1d5Fcvrou_En1JG8Hx0BYuETKw@mail.gmail.com>
Date: Sat, 29 Oct 2022 02:26:30 +0800
From: Ajye Huang <ajye_huang@...pal.corp-partner.google.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc: linux-kernel@...r.kernel.org, Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
linux-mediatek@...ts.infradead.org,
"chunxu . li" <chunxu.li@...iatek.com>,
Takashi Iwai <tiwai@...e.com>,
Jaroslav Kysela <perex@...ex.cz>,
Jiaxin Yu <jiaxin.yu@...iatek.com>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
NĂcolas F . R . A . Prado
<nfraprado@...labora.com>, linux-arm-kernel@...ts.infradead.org,
devicetree@...r.kernel.org, alsa-devel@...a-project.org
Subject: Re: [PATCH v2 1/2] ASoC: mediatek: dt-bindings: modify machine
bindings for two MICs case
On Sat, Oct 29, 2022 at 1:58 AM Krzysztof Kozlowski
<krzysztof.kozlowski@...aro.org> wrote:
> >
> > + dmic-gpios:
> > + maxItems: 1
> > + description: GPIO for switching between DMICs
>
> Switching how? Enabling? What is the meaning of each GPIO pin value?
>
I think I should add more like an example,
description: dmic-gpios optional prop for switching between two DMICs.
Ex, the GPIO can control a MUX HW component to
select dmic clk and data form a Front or Rear dmic.
Do you agree with that or have other suggestions? If do, I will send
the v3 patch for you to check, thanks
> >
> > + dmic-gpios = <&pio 23 0>;
>
> Use defines for flags.
Yes, you are right, I will change it to
dmic-gpios = <&pio 23 GPIO_ACTIVE_HIGH>;
Powered by blists - more mailing lists