Re: [PATCH v3 2/5] dt-bindings: mfd: qcom,spmi-pmic: add compatibles for pm4124-codec
From: Srinivas Kandagatla
Date: Mon Sep 28 2026 - 13:57:22 EST
On 9/28/26 11:09 AM, Krzysztof Kozlowski wrote:
> On Tue, Sep 22, 2026 at 11:11:24PM +0100, Srinivas Kandagatla wrote:
>> From: Alexey Klimov <alexey.klimov@xxxxxxxxxx>
>>
>> Qualcomm Agatti SoC has PM4125 PMIC, which includes audio codec.
>> Audio codec has TX and RX soundwire slave devices to connect to on-chip
>> soundwire master.
>>
>> Add missing qcom,pm4125-codec compatible to pattern of audio-codec node
>> properties in mfd qcom,spmi-pmic schema to complete the audio codec support.
>>
>> Signed-off-by: Alexey Klimov <alexey.klimov@xxxxxxxxxx>
>> [Srini: reworked the patch]
>> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxxxxxxxx>
>> ---
>> .../devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 10 +++++++++-
>> 1 file changed, 9 insertions(+), 1 deletion(-)
>>
>> diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
>> index f6534e9e9912..d750da31ae3f 100644
>> --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
>> +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
>> @@ -148,7 +148,15 @@ patternProperties:
>>
>> "^audio-codec@[0-9a-f]+$":
>> type: object
>> - $ref: /schemas/sound/qcom,pm8916-wcd-analog-codec.yaml#
>
> This had three compatibles:
That is true, things have moved under the hood.
Thanks for spotting this, I will fix this and send v4.
>
>> + properties:
>> + compatible:
>> + contains:
>> + enum:
>> + - qcom,pm4125-codec
>> + - qcom,pm8916-wcd-analog-codec
>
> This has only one from that list (+a new one).
>
This model was suggested by Rob in last review, I will add the context
in msg.
> This must have rationale in commit msg.
>
--srini
> Best regards,
> Krzysztof
>