diff --git a/bindings/soc/qcom/qcom,cpucp_fast.yaml b/bindings/soc/qcom/qcom,cpucp_fast.yaml new file mode 100644 index 00000000..7269c4cc --- /dev/null +++ b/bindings/soc/qcom/qcom,cpucp_fast.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,cpucp_fast.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. CPUCP FAST driver + +maintainers: + - Chandrasekhar Lingutla + +description: | + This device listens interrupts from CPUCP via mailbox and + sends notification to scheduler. + +properties: + compatible: + const: qcom,cpucp_fast + + mboxes: + description: Mailboxes used for Interrupt from CPUCP + + qcom,policy-cpus: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Base CPU index for cpufreq policy + +required: + - compatible + - mboxes + - qcom,policy-cpus + +additionalProperties: false + +examples: + - | + soc { + cpucp_fast: qcom,cpucp_fast { + compatible = "qcom,cpucp_fast"; + mboxes = <&cpucp 5>; + qcom,policy-cpus = <6>; + }; + }; +... diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index 154e21cf..3416109b 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -3183,6 +3183,12 @@ }; }; + cpucp_fast: qcom,cpucp_fast { + compatible = "qcom,cpucp_fast"; + mboxes = <&cpucp 7>; + qcom,policy-cpus = < 6 >; + }; + cpucp_log: qcom,cpucp_log@0x81210000 { compatible = "qcom,cpucp-log"; reg = <0x81210000 0x10000>,