[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d24b2a88-fda7-4a8a-bb5b-73d8a928ff89@kernel.org>
Date: Mon, 30 Jun 2025 10:21:13 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Alexey Klimov <alexey.klimov@...aro.org>
Cc: Srinivas Kandagatla <srini@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Stephen Boyd <sboyd@...nel.org>,
Lee Jones <lee@...nel.org>, Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, linux-arm-msm@...r.kernel.org,
linux-sound@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>,
Srinivas Kandagatla <srinivas.kandagatla@....qualcomm.com>
Subject: Re: [PATCH 1/3] dt-bindings: sound: add bindings for pm4125 audio
codec
On 28/06/2025 18:41, Alexey Klimov wrote:
>
>>> + #address-cells = <1>;
>>> + #size-cells = <0>;
>>> +
>>> + audio-codec@...0 {
>>> + compatible = "qcom,pm4125-codec";
>>> + reg = <0xf000>;
>>> + vdd-io-supply = <&pm4125_l15>;
>>> + vdd-cp-supply = <&pm4125_s4>;
>>> + vdd-pa-vpos-supply = <&pm4125_s4>;
>>> + vdd-mic-bias-supply = <&pm4125_l22>;
>>> + qcom,micbias1-microvolt = <1800000>;
>>> + qcom,micbias2-microvolt = <1800000>;
>>> + qcom,micbias3-microvolt = <1800000>;
>>> + qcom,rx-device = <&pm4125_rx>;
>>> + qcom,tx-device = <&pm4125_tx>;
>>> + #sound-dai-cells = <1>;
>>> + };
>>> + };
>>> + };
>>> +
>>> + /* ... */
>>> +
>>> + soundwire@...0000 {
>>
>> Drop this and next one.
>
> The audio-codec node supposed to have qcom,{rx,tx}-device properties.
> If I'll drop it then the example doesn't compile well unless I am missing
> something?
What did you drop and what did I ask to drop?
>
> For example when I removed soundwire tx node completely and dropped
> qcom,tx-device then:
I did not ask to drop qcom,tx-device.
...
>
>>> + The audio codec IC found on Qualcomm PM4125/PM2250 PMICs.
>>> + It has RX and TX Soundwire slave devices. This bindings is for the
>>> + slave devices.
>>
>> Last sentence is redundant and makes no sense. Codec has only slave
>> devices, so how this can be anything else than for slave devices?
>
> This came from other similar files that describe bindings for child codec nodes
> of soundwire nodes. For example from qcom,wcd937x-sdw.yaml.
> Should this be rephrased to "This bindings is for the soundwire slave devices." ?
You just pasted the same, so I don't get how you want to rephrase into
the same sentence.
>
Best regards,
Krzysztof
Powered by blists - more mailing lists