]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
dt-bindings: cpufreq: cpufreq-qcom-hw: document interrupts
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 27 Dec 2022 14:42:02 +0000 (15:42 +0100)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 4 Jan 2023 06:36:24 +0000 (12:06 +0530)
The Qualcomm Soc cpufreq hardware engine has LMh/thermal throttling
interrupts (already present in SM8250 and SM8450 DTS) and Linux driver
uses them:

  sm8250-hdk.dtb: cpufreq@18591000: 'interrupt-names', 'interrupts' do not match any of the regexes: 'pinctrl-[0-9]+'
  sm8450-qrd.dtb: cpufreq@17d91000: 'interrupt-names', 'interrupts' do not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml

index 903b31129f012b1d755ab612e1ec804ca3407f87..99e159bc5fb13b3f141015621b91249bce20dc1a 100644 (file)
@@ -54,6 +54,17 @@ properties:
       - const: xo
       - const: alternate
 
+  interrupts:
+    minItems: 1
+    maxItems: 3
+
+  interrupt-names:
+    minItems: 1
+    items:
+      - const: dcvsh-irq-0
+      - const: dcvsh-irq-1
+      - const: dcvsh-irq-2
+
   '#freq-domain-cells':
     const: 1