[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DB13YER95DCW.1IBRJ65LED5GX@linaro.org>
Date: Wed, 02 Jul 2025 00:30:12 +0100
From: "Alexey Klimov" <alexey.klimov@...aro.org>
To: "Krzysztof Kozlowski" <krzk@...nel.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 Mon Jun 30, 2025 at 9:21 AM BST, Krzysztof Kozlowski wrote:
> 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.
Dmitry already explained. Ok.
> ...
>
>>
>>>> + 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.
Not really.
Original sentence: "This bindings is for the slave devices."
Sentence from my email: "This bindings is for the soundwire slave devices."
The difference is 1 word.
If it doesn't work, then maybe any suggestions?
Maybe "This bindings is for audio codec node that must be a child node of the
associated soundwire master node."?
Best regards,
Alexey
Powered by blists - more mailing lists