From 491587c3c9aeca93a34052fd0d326ac647835d51 Mon Sep 17 00:00:00 2001 From: Rashid Zafar Date: Mon, 22 May 2023 20:35:41 -0700 Subject: [PATCH] dt-bindings: snapshot of cluster device documentation cluster device doumentation snapshot taken from qcom-6.1 branch commit 040e6d35b731 ("dt-bindings: Add documentation for cluster device"). Updates: - Rewritten in YAML format. Change-Id: I765a50dce03fa7ecdf2c0ba9ace7bbf671102017 Signed-off-by: Rashid Zafar --- bindings/arm/msm/qcom,lpm-cluster-dev.yaml | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 bindings/arm/msm/qcom,lpm-cluster-dev.yaml diff --git a/bindings/arm/msm/qcom,lpm-cluster-dev.yaml b/bindings/arm/msm/qcom,lpm-cluster-dev.yaml new file mode 100644 index 00000000..4bf99b7c --- /dev/null +++ b/bindings/arm/msm/qcom,lpm-cluster-dev.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/msm/qcom,lpm-cluster-dev.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. Low Power Management Cluster Device + +description: | + The application processor can do a variety of cluster level low power modes. + It does so by predicting the low power mode based on latency and residency + information of various CPUs and clusters. + + To make cluster low power mode decision, cluster device use the different prediction + algorithms so that chosen the particular low power mode more efficiently. + +properties: + compatible: + const: qcom,lpm-cluster-dev + + power-domains: + maxItems: 1 + +required: + - compatible + - power-domains + +additionalProperties: false + +examples: + - | + + cluster-device { + compatible = "qcom,lpm-cluster-dev"; + power-domains = <&CLUSTER_PD>; + };