[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230915182054.113839-2-danila@jiaxyga.com>
Date: Fri, 15 Sep 2023 21:20:53 +0300
From: Danila Tikhonov <danila@...xyga.com>
To: agross@...nel.org, andersson@...nel.org, konrad.dybcio@...aro.org,
robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org,
conor+dt@...nel.org, ulf.hansson@...aro.org
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
Danila Tikhonov <danila@...xyga.com>
Subject: [PATCH 1/2] dt-bindings: power: qcom,rpmpd: Add SM7150
Add a compatible for SM7150 platforms and relevant defines to the
include file.
Signed-off-by: Danila Tikhonov <danila@...xyga.com>
---
.../devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
include/dt-bindings/power/qcom-rpmpd.h | 10 ++++++++++
2 files changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
index 9b03c41d3604..53886f02d98a 100644
--- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
+++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
@@ -46,6 +46,7 @@ properties:
- qcom,sm6125-rpmpd
- qcom,sm6350-rpmhpd
- qcom,sm6375-rpmpd
+ - qcom,sm7150-rpmhpd
- qcom,sm8150-rpmhpd
- qcom,sm8250-rpmhpd
- qcom,sm8350-rpmhpd
diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h
index 83be996cb5eb..a021907b792c 100644
--- a/include/dt-bindings/power/qcom-rpmpd.h
+++ b/include/dt-bindings/power/qcom-rpmpd.h
@@ -77,6 +77,16 @@
#define SM6375_VDD_LPI_CX 8
#define SM6375_VDD_LPI_MX 9
+/* SM7150 Power Domain Indexes */
+#define SM7150_CX 0
+#define SM7150_CX_AO 1
+#define SM7150_GFX 2
+#define SM7150_LCX 3
+#define SM7150_LMX 4
+#define SM7150_MSS 5
+#define SM7150_MX 6
+#define SM7150_MX_AO 7
+
/* SM8150 Power Domain Indexes */
#define SM8150_MSS 0
#define SM8150_EBI 1
--
2.41.0
Powered by blists - more mailing lists