From 111913d7dadbe1b5c9b21100faccdc1022b81a96 Mon Sep 17 00:00:00 2001 From: Srinivasarao Kuppala Date: Fri, 11 Apr 2025 16:36:31 +0530 Subject: [PATCH] dt-bindings: arm: add binding for cx-ipeak Adding bindings for cx-ipeak. Change-Id: I06a90f4f72ae5a77d1da2a477754b92f40f17f6b Signed-off-by: Srinivasarao Kuppala --- bindings/soc/qcom/cx-ipeak.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 bindings/soc/qcom/cx-ipeak.yaml diff --git a/bindings/soc/qcom/cx-ipeak.yaml b/bindings/soc/qcom/cx-ipeak.yaml new file mode 100644 index 00000000..040b2e19 --- /dev/null +++ b/bindings/soc/qcom/cx-ipeak.yaml @@ -0,0 +1,28 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/soc/qcom/cx-ipeak.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Qualcomm CX Ipeak driver + +maintainers: + - vtalluri@qti.quacomm.com + +description: + Cx ipeak HW module is used to limit the current drawn by various subsystem + blocks on Cx power rail. Each client needs to set their bit in tcsr register + if it is going to cross its own threshold. If all clients are going to cross + their thresholds then Cx ipeak hw module will raise an interrupt to cDSP block + to throttle cDSP's fmax. + +properties: + compatible: + enum: + - qcom,cx-ipeak-v1 + - qcom,cx-ipeak-v2 + +required: + - compatible + +additionalProperties: false