From: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
To: Rob Herring <robh@kernel.org>
Cc: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 3/4] dt-bindings: arm: qcom-soc: Validate nodes with fallbacks
Date: Mon, 20 Jul 2026 22:03:41 +0200 [thread overview]
Message-ID: <86d72cb4-ec52-457b-a175-a7123e341b32@oss.qualcomm.com> (raw)
In-Reply-To: <20260716211439.GA1290290-robh@kernel.org>
On 16/07/2026 23:14, Rob Herring wrote:
>> + - qcom,smmu-500
>> + - qcom,smmu-v2
>> + - qcom,snps-dwc3
>> + - qcom,ssc-block-bus
>> + - qcom,tcsr-mutex
>> + - qcom,trng
>> + - qcom,tsens-v0_1
>> + - qcom,tsens-v1
>> + - qcom,tsens-v2
>> + - qcom,ufshc
>> + - qcom,usb-hs-phy
>> + - qcom,usb-hsic-phy
>> + - qcom,usb-snps-hs-5nm-phy
>> + - qcom,usb-snps-hs-7nm-phy
>> + - simple-mfd
>> + - snps,dwmac
>> + - syscon
>
> You lost me here...
>
> This all looks pretty unmaintainable. Perhaps you should give up on old
> SoCs and only do something on new(er) ones:
Yeah, I think I over complicated this.
>
> select:
> properties:
> compatible:
> contains:
> pattern: '^qcom,'
>
> allOf:
> - if:
> properties:
> compatible:
> contains:
> pattern: '^qcom,.+foosoc'
> then:
> properties:
> compatible:
> contains:
> pattern: '^qcom,foosoc'
This seems to work well, I'll try more, thanks!
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-07-20 20:03 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-07 13:35 [PATCH v2 0/4] dt-bindings: arm: qcom-soc: Improve validation of expected SoC naming Krzysztof Kozlowski
2026-07-07 13:35 ` [PATCH v2 1/4] dt-bindings: arm: qcom-soc: Include Eliza, Kaanapali and others in SoC names Krzysztof Kozlowski
2026-07-07 13:48 ` sashiko-bot
2026-07-07 13:51 ` Krzysztof Kozlowski
2026-07-16 20:58 ` Rob Herring (Arm)
2026-07-07 13:36 ` [PATCH v2 2/4] dt-bindings: arm: qcom-soc: Document more of existing legacy style compatibles Krzysztof Kozlowski
2026-07-16 20:59 ` Rob Herring (Arm)
2026-07-07 13:36 ` [PATCH v2 3/4] dt-bindings: arm: qcom-soc: Validate nodes with fallbacks Krzysztof Kozlowski
2026-07-16 21:14 ` Rob Herring
2026-07-20 20:03 ` Krzysztof Kozlowski [this message]
2026-07-07 13:36 ` [PATCH v2 4/4] dt-bindings: arm: qcom-soc: Allow WSA88xx speaker compatible Krzysztof Kozlowski
2026-07-16 20:59 ` Rob Herring (Arm)
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=86d72cb4-ec52-457b-a175-a7123e341b32@oss.qualcomm.com \
--to=krzysztof.kozlowski@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/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