mbox series

[0/3] dt-bindings: cpufreq: cpufreq-qcom-hw: Few improvements

Message ID 20250313-dt-bindings-cpufreq-qcom-epss-v1-0-62b0f96ba888@linaro.org
Headers show
Series dt-bindings: cpufreq: cpufreq-qcom-hw: Few improvements | expand

Message

Krzysztof Kozlowski March 13, 2025, 9:08 a.m. UTC
Make the cpufreq-epss/hw schema a bit stricter for each variant.

Best regards,
Krzysztof

---
Krzysztof Kozlowski (3):
      dt-bindings: cpufreq: cpufreq-qcom-hw: Add missing constraint for interrupt-names
      dt-bindings: cpufreq: cpufreq-qcom-hw: Drop redundant minItems:1
      dt-bindings: cpufreq: cpufreq-qcom-hw: Narrow properties on SDX75, SA8775p and SM8650

 .../bindings/cpufreq/cpufreq-qcom-hw.yaml          | 33 +++++++++++++++++++---
 1 file changed, 29 insertions(+), 4 deletions(-)
---
base-commit: eea255893718268e1ab852fb52f70c613d109b99
change-id: 20250313-dt-bindings-cpufreq-qcom-epss-9ab649df8626

Best regards,

Comments

Rob Herring March 14, 2025, 11:26 p.m. UTC | #1
On Thu, 13 Mar 2025 10:08:20 +0100, Krzysztof Kozlowski wrote:
> When narrowing properties per variant, the 'interrupt-names' should have
> the same constraints as 'interrupts'.  Add missing upper bound on the
> property.
> 
> Fixes: e69003202434 ("dt-bindings: cpufreq: cpufreq-qcom-hw: Add QCM2290")
> Fixes: 7ae24e054f75 ("dt-bindings: cpufreq: cpufreq-qcom-hw: Sanitize data per compatible")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml | 4 ++++
>  1 file changed, 4 insertions(+)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>
Rob Herring March 14, 2025, 11:28 p.m. UTC | #2
On Thu, 13 Mar 2025 10:08:22 +0100, Krzysztof Kozlowski wrote:
> Add SDX75 and SA8775p compatibles to respective if:then: blocks to
> narrow their properties and add a new section for SM8650 with four 'reg'
> and 'interrupts' (top-level already allows four).
> 
> SA8755p DTS comes without interrupts, but only because they might not
> be available for OS under given firmware.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../bindings/cpufreq/cpufreq-qcom-hw.yaml          | 25 ++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>