diff mbox series

[1/2] dt-bindings: power: qcom,rpmpd: Add SM7150

Message ID 20230915182054.113839-2-danila@jiaxyga.com (mailing list archive)
State Handled Elsewhere, archived
Headers show
Series pmdomain: qcom: rpmhpd: Add support for SM7150 | expand

Commit Message

Danila Tikhonov Sept. 15, 2023, 6:20 p.m. UTC
Add a compatible for SM7150 platforms and relevant defines to the
include file.

Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
---
 .../devicetree/bindings/power/qcom,rpmpd.yaml          |  1 +
 include/dt-bindings/power/qcom-rpmpd.h                 | 10 ++++++++++
 2 files changed, 11 insertions(+)

Comments

Konrad Dybcio Sept. 15, 2023, 6:42 p.m. UTC | #1
On 15.09.2023 20:20, Danila Tikhonov wrote:
> Add a compatible for SM7150 platforms and relevant defines to the
> include file.
> 
> Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
> ---
Please redo this series with commit 7f31667d29f4 ("dt-bindings:
power: qcom,rpmhpd: Add Generic RPMh PD indexes") in mind

Konrad
diff mbox series

Patch

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