[1/2] dt-bindings: power: qcom,rpmpd: Add SM7150
Commit Message
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
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
@@ -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
@@ -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