dt-bindings: power: qcom,rpmpd: add missing RPMH levels
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Wed, 17 May 2023 20:12:50 +0000 (22:12 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 18 May 2023 02:25:48 +0000 (19:25 -0700)
There are a lot of RPMh levels that we haven't included yet.. some
sadly turned out to be necessary, add them!

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230517-topic-kailua-rpmhpd-v2-1-3063ce19c491@linaro.org
include/dt-bindings/power/qcom-rpmpd.h

index 1bf8e87..e34c01e 100644 (file)
 /* SDM845 Power Domain performance levels */
 #define RPMH_REGULATOR_LEVEL_RETENTION 16
 #define RPMH_REGULATOR_LEVEL_MIN_SVS   48
+#define RPMH_REGULATOR_LEVEL_LOW_SVS_D2        52
 #define RPMH_REGULATOR_LEVEL_LOW_SVS_D1        56
+#define RPMH_REGULATOR_LEVEL_LOW_SVS_D0        60
 #define RPMH_REGULATOR_LEVEL_LOW_SVS   64
+#define RPMH_REGULATOR_LEVEL_LOW_SVS_P1        72
 #define RPMH_REGULATOR_LEVEL_LOW_SVS_L1        80
+#define RPMH_REGULATOR_LEVEL_LOW_SVS_L2        96
 #define RPMH_REGULATOR_LEVEL_SVS       128
 #define RPMH_REGULATOR_LEVEL_SVS_L0    144
 #define RPMH_REGULATOR_LEVEL_SVS_L1    192
 #define RPMH_REGULATOR_LEVEL_SVS_L2    224
 #define RPMH_REGULATOR_LEVEL_NOM       256
+#define RPMH_REGULATOR_LEVEL_NOM_L0    288
 #define RPMH_REGULATOR_LEVEL_NOM_L1    320
 #define RPMH_REGULATOR_LEVEL_NOM_L2    336
 #define RPMH_REGULATOR_LEVEL_TURBO     384
+#define RPMH_REGULATOR_LEVEL_TURBO_L0  400
 #define RPMH_REGULATOR_LEVEL_TURBO_L1  416
+#define RPMH_REGULATOR_LEVEL_TURBO_L2  432
+#define RPMH_REGULATOR_LEVEL_TURBO_L3  448
+#define RPMH_REGULATOR_LEVEL_SUPER_TURBO 464
+#define RPMH_REGULATOR_LEVEL_SUPER_TURBO_NO_CPR        480
 
 /* MDM9607 Power Domains */
 #define MDM9607_VDDCX          0