Re: [PATCH v3 2/5] dt-bindings: mfd: qcom,spmi-pmic: add compatibles for pm4124-codec

From: Krzysztof Kozlowski

Date: Mon Sep 28 2026 - 06:11:28 EST


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:

> + properties:
> + compatible:
> + contains:
> + enum:
> + - qcom,pm4125-codec
> + - qcom,pm8916-wcd-analog-codec

This has only one from that list (+a new one).

This must have rationale in commit msg.

Best regards,
Krzysztof