diff mbox series

[v6,1/4] dt-bindings: cpufreq: qcom-cpufreq-nvmem: Document krait-cpu

Message ID 20231013173854.7399-2-ansuelsmth@gmail.com
State Accepted
Commit 7f6aa81d68376741ea216f4fe59e5509107116bc
Headers show
Series cpufreq: qcom-nvmem: add support for ipq806x | expand

Commit Message

Christian Marangi Oct. 13, 2023, 5:38 p.m. UTC
Document newly introduced operating-points-v2-krait-cpu compatible to
the list of accepted compatible for opp-v2-kryo-cpu nodes.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
Changes v6:
* Add this patch
---
 .../devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Rob Herring (Arm) Oct. 17, 2023, 7:13 p.m. UTC | #1
On Fri, 13 Oct 2023 19:38:51 +0200, Christian Marangi wrote:
> Document newly introduced operating-points-v2-krait-cpu compatible to
> the list of accepted compatible for opp-v2-kryo-cpu nodes.
> 
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> ---
> Changes v6:
> * Add this patch
> ---
>  .../devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml       | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml b/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml
index 7391660a25ac..185e014eaa31 100644
--- a/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml
+++ b/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml
@@ -46,7 +46,9 @@  patternProperties:
       - if:
           properties:
             compatible:
-              const: operating-points-v2-kryo-cpu
+              enum:
+                - operating-points-v2-krait-cpu
+                - operating-points-v2-kryo-cpu
         then:
           $ref: /schemas/opp/opp-v2-kryo-cpu.yaml#