Re: [PATCH] dt-bindings: cpufreq: cpufreq-qcom-hw: document interrupts

From: Viresh Kumar
Date: Wed Jan 04 2023 - 01:37:05 EST


On 27-12-22, 15:42, Krzysztof Kozlowski wrote:
> 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@xxxxxxxxxx>
> ---
> .../devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml
> index b69b71d497cc..2494e90a2fda 100644
> --- a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml
> +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml
> @@ -58,6 +58,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

Applied. Thanks.

--
viresh