From: "Alexey Klimov" <alexey.klimov@linaro.org>
To: "Krzysztof Kozlowski" <krzk@kernel.org>
Cc: "Srinivas Kandagatla" <srini@kernel.org>,
"Liam Girdwood" <lgirdwood@gmail.com>,
"Mark Brown" <broonie@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Stephen Boyd" <sboyd@kernel.org>, "Lee Jones" <lee@kernel.org>,
"Jaroslav Kysela" <perex@perex.cz>,
"Takashi Iwai" <tiwai@suse.com>, <linux-arm-msm@vger.kernel.org>,
<linux-sound@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
"Dmitry Baryshkov" <dmitry.baryshkov@oss.qualcomm.com>,
"Srinivas Kandagatla" <srinivas.kandagatla@oss.qualcomm.com>,
<christophe.jaillet@wanadoo.fr>
Subject: Re: [PATCH v4 2/4] dt-bindings: mfd: qcom,spmi-pmic: add qcom,pm4125-codec compatible
Date: Wed, 08 Oct 2025 03:18:47 +0100 [thread overview]
Message-ID: <DDCKWVH8ORLM.357D9IKQK9YN8@linaro.org> (raw)
In-Reply-To: <20250918-wonderful-deft-jackal-7d3bbc@kuoka>
On Thu Sep 18, 2025 at 3:03 AM BST, Krzysztof Kozlowski wrote:
> On Mon, Sep 15, 2025 at 05:27:49PM +0100, Alexey Klimov wrote:
>> Add qcom,pm4125-codec compatible to pattern properties in mfd
>> qcom,spmi-pmic schema so the devicetree for this audio block of PMIC
>> can be validated properly.
>>
>> Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org>
>> ---
>> Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 6 ++++++
>> 1 file changed, 6 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
>> index 078a6886f8b1e9ceb2187e988ce7c9514ff6dc2c..776c51a66f6e7260b7e3e183d693e3508cbc531e 100644
>> --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
>> +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
>> @@ -137,6 +137,12 @@ patternProperties:
>>
>> "^audio-codec@[0-9a-f]+$":
>> type: object
>> + oneOf:
>> + - $ref: /schemas/sound/qcom,pm8916-wcd-analog-codec.yaml#
>> + - properties:
>> + compatible:
>> + const: qcom,pm4125-codec
>
>
> Not much improved. Same feedback applies.
Around the time of sending this I thought to set separate follow-up patch
that fixes the other part here -- pm8916-wcd-analog-codec.
At this point, is it fine to send follow-up patch that does smth like
this:
+ oneOf:
+ - $ref: /schemas/sound/qcom,pm8916-wcd-analog-codec.yaml#
+ - properties:
+ compatible:
+ - enaum:
+ - qcom,pm4125-codec
+ - qcom,pm8916-wcd-analog-codec
?
(I didn't check how if it will compile or pass checks)
Hope this is okay.
Best regards,
Alexey
next prev parent reply other threads:[~2025-10-08 2:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-15 16:27 [PATCH v4 0/4] Add PM4125 audio codec driver Alexey Klimov
2025-09-15 16:27 ` [PATCH v4 1/4] dt-bindings: sound: add bindings for pm4125 audio codec Alexey Klimov
2025-09-15 16:27 ` [PATCH v4 2/4] dt-bindings: mfd: qcom,spmi-pmic: add qcom,pm4125-codec compatible Alexey Klimov
2025-09-18 2:03 ` Krzysztof Kozlowski
2025-10-08 2:18 ` Alexey Klimov [this message]
2025-10-08 2:56 ` Krzysztof Kozlowski
2025-09-15 16:27 ` [PATCH v4 3/4] ASoC: codecs: add new pm4125 audio codec driver Alexey Klimov
2025-09-15 16:27 ` [PATCH v4 4/4] MAINTAINERS: add Qualcomm PM4125 audio codec to drivers list Alexey Klimov
2025-09-16 13:28 ` [PATCH v4 0/4] Add PM4125 audio codec driver Srinivas Kandagatla
2025-09-17 10:21 ` (subset) " Mark Brown
2025-09-18 2:02 ` Krzysztof Kozlowski
2025-09-18 4:16 ` Dmitry Baryshkov
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=DDCKWVH8ORLM.357D9IKQK9YN8@linaro.org \
--to=alexey.klimov@linaro.org \
--cc=broonie@kernel.org \
--cc=christophe.jaillet@wanadoo.fr \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=lee@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=sboyd@kernel.org \
--cc=srini@kernel.org \
--cc=srinivas.kandagatla@oss.qualcomm.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox