[PATCH] dt-bindings: cpufreq: qcom-nvmem: Allow generic OPP tables

From: Varadarajan Narayanan

Date: Thu Oct 15 2026 - 07:10:24 EST


The OPP table node-name pattern also matches peripheral OPP tables on
supported SoCs. However, it only handles Qualcomm CPU and level OPP
compatibles, causing unevaluatedProperties errors for generic
operating-points-v2 tables.

Reference the generic OPP binding when compatible is operating-points-v2
so these tables are validated against the appropriate schema.

Signed-off-by: Varadarajan Narayanan <varadarajan.narayanan@xxxxxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml b/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml
index 547265b8b118..fa9330cb3223 100644
--- a/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml
+++ b/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml
@@ -60,6 +60,13 @@ patternProperties:
then:
$ref: /schemas/opp/opp-v2-qcom-level.yaml#

+ - if:
+ properties:
+ compatible:
+ const: operating-points-v2
+ then:
+ $ref: /schemas/opp/opp-v2.yaml#
+
unevaluatedProperties: false

allOf:

---
base-commit: ab8eada9868faeee95f25d81d3d6fed0d1c98b78
change-id: 20261015-opp-8f55ee1c9baf

Best regards,
--
Varadarajan Narayanan <varadarajan.narayanan@xxxxxxxxxxxxxxxx>