dt-bindings: power: rpmpd: Add SDM660 power-domains bindings
authorKonrad Dybcio <konradybcio@gmail.com>
Sun, 18 Oct 2020 12:26:20 +0000 (14:26 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 26 Oct 2020 15:11:58 +0000 (10:11 -0500)
Add the new bindings for SDM660 rpmpd power domains.

Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
Signed-off-by: AngeloGioacchino Del Regno <kholk11@gmail.com>
Link: https://lore.kernel.org/r/20201018122620.9735-2-kholk11@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
include/dt-bindings/power/qcom-rpmpd.h

index 8058955fb3b9770113d0c7c048c587645f82647c..45ec2439ff516274e5f5ec6ff75a6efbb8b4f7a1 100644 (file)
@@ -20,6 +20,7 @@ properties:
       - qcom,msm8996-rpmpd
       - qcom,msm8998-rpmpd
       - qcom,qcs404-rpmpd
+      - qcom,sdm660-rpmpd
       - qcom,sc7180-rpmhpd
       - qcom,sdm845-rpmhpd
       - qcom,sm8150-rpmhpd
index 5e61eaf73bdd79348de74c877e87c5cd334a569b..2a39dc40483dbfbf97d83f382f35656ef50c0527 100644 (file)
 #define QCS404_LPIMX           5
 #define QCS404_LPIMX_VFL       6
 
+/* SDM660 Power Domains */
+#define SDM660_VDDCX           0
+#define SDM660_VDDCX_AO                1
+#define SDM660_VDDCX_VFL       2
+#define SDM660_VDDMX           3
+#define SDM660_VDDMX_AO                4
+#define SDM660_VDDMX_VFL       5
+#define SDM660_SSCCX           6
+#define SDM660_SSCCX_VFL       7
+#define SDM660_SSCMX           8
+#define SDM660_SSCMX_VFL       9
+
 /* RPM SMD Power Domain performance levels */
 #define RPM_SMD_LEVEL_RETENTION       16
 #define RPM_SMD_LEVEL_RETENTION_PLUS  32