All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexey Klimov" <alexey.klimov@linaro.org>
To: "Krzysztof Kozlowski" <krzk@kernel.org>
Cc: <broonie@kernel.org>, <konradybcio@kernel.org>,
	<konrad.dybcio@oss.qualcomm.com>, <andersson@kernel.org>,
	<srinivas.kandagatla@linaro.org>, <tiwai@suse.com>,
	<lgirdwood@gmail.com>, <perex@perex.cz>, <robh@kernel.org>,
	<krzk+dt@kernel.org>, <conor+dt@kernel.org>,
	<dmitry.baryshkov@linaro.org>, <linux-sound@vger.kernel.org>,
	<linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v1 08/10] arm64: dts: qcom: qrb4210-rb2: enable wsa881x amplifier
Date: Thu, 12 Dec 2024 00:46:35 +0000	[thread overview]
Message-ID: <D69B2UDQELCR.2HEVIK3QO8W0G@linaro.org> (raw)
In-Reply-To: <5zkslmf7m5vphs2wjcdg3536eo7tuh3stjthh3ulkr7oic5i25@qtnsog5ladsb>

On Fri Nov 1, 2024 at 8:14 AM GMT, Krzysztof Kozlowski wrote:
> On Fri, Nov 01, 2024 at 05:31:52AM +0000, Alexey Klimov wrote:
> > One WSA881X amplifier is connected on QRB4210 RB2 board
> > hence only mono speaker is supported. This amplifier is set
> > to work in analog mode only. Also add required powerdown
> > pins/gpios.
> > 
> > Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> > Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org>
> > ---
> >  arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 45 ++++++++++++++++++++++++
> >  1 file changed, 45 insertions(+)
> > 
> > diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts
> > index fc71f5930688..76b9ae1b0ebc 100644
> > --- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts
> > +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts
> > @@ -63,6 +63,16 @@ hdmi_con: endpoint {

[..]

> > +	wsa_en_sleep: wsa-en-sleep-state {
> > +		pins = "gpio106";
> > +		function = "gpio";
> > +		drive-strength = <2>;
> > +		bias-pull-down;
> > +		input-enable;
>
> Are you sure this passes dtbs_check? I think this was not allowed since
> 1.5 years.

I guess you were referring to thing that input-enable is not allowed
and output-disable must be used instead introduced by:
c4a48b0df8bf dt-bindings: pinctrl: qcom: tlmm should use output-disable, not input-enable

Noted.
This sleep state seems to be unused hence I will remove it.

Also, I am going to use Konrad's suggestion about i2c gpio for now. Hope it
is okay.

Thanks,
Alexey


  reply	other threads:[~2024-12-12  0:46 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-01  5:31 [PATCH v1 00/10] qrb4210-rb2: add wsa/wcd audio playback support Alexey Klimov
2024-11-01  5:31 ` [PATCH v1 01/10] arm64: dts: qcom: sm6115: add LPASS devices Alexey Klimov
2024-11-01  5:31 ` [PATCH v1 02/10] arm64: dts: qcom: sm4250: add description of soundwire pins Alexey Klimov
2024-11-01  5:31 ` [PATCH v1 03/10] arm64: dts: qcom: qrb4210-rb2: add wcd937x codec support Alexey Klimov
2024-11-01  7:59   ` Krzysztof Kozlowski
2024-12-11 20:37     ` Alexey Klimov
2024-11-01  5:31 ` [PATCH v1 04/10] ASoC: codecs: wsa881x: split into common and soundwire drivers Alexey Klimov
2024-11-01  5:31 ` [PATCH v1 05/10] dt-bindings: arm: qcom-soc: extend pattern matching for QRB4210/QRB2210 SoCs Alexey Klimov
2024-11-01  7:54   ` Krzysztof Kozlowski
2024-12-11 20:12     ` Alexey Klimov
2024-11-01  5:31 ` [PATCH v1 06/10] ASoC: dt-bindings: add wsa881x-i2c binding for analog mode Alexey Klimov
2024-11-01  7:57   ` Krzysztof Kozlowski
2024-11-01  8:00     ` Krzysztof Kozlowski
2024-12-11 20:35     ` Alexey Klimov
2024-12-12  7:23       ` Krzysztof Kozlowski
2024-11-01  5:31 ` [PATCH v1 07/10] ASoC: codecs: add wsa881x-i2c amplifier codec driver Alexey Klimov
2024-11-01  8:12   ` Krzysztof Kozlowski
2024-11-01 13:12     ` Mark Brown
2024-11-01 13:53       ` Krzysztof Kozlowski
2024-11-01 14:03         ` Mark Brown
2024-12-11 21:17     ` Alexey Klimov
2024-11-01 12:02   ` Rob Herring
2024-11-01  5:31 ` [PATCH v1 08/10] arm64: dts: qcom: qrb4210-rb2: enable wsa881x amplifier Alexey Klimov
2024-11-01  8:14   ` Krzysztof Kozlowski
2024-12-12  0:46     ` Alexey Klimov [this message]
2024-11-02  9:30   ` Konrad Dybcio
2024-12-11 23:18     ` Alexey Klimov
2024-11-01  5:31 ` [PATCH v1 09/10] arm64: dts: qcom: qrb4210-rb2: add WSA audio playback support Alexey Klimov
2024-11-01  5:31 ` [PATCH v1 10/10] ASoC: qcom: sm8250: force single channel via RX_1 output Alexey Klimov
2024-11-04 11:19   ` Konrad Dybcio

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=D69B2UDQELCR.2HEVIK3QO8W0G@linaro.org \
    --to=alexey.klimov@linaro.org \
    --cc=andersson@kernel.org \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=robh@kernel.org \
    --cc=srinivas.kandagatla@linaro.org \
    --cc=tiwai@suse.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.