]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
soc: qcom: socinfo: rename PM2250 to PM4125
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 28 Jan 2024 01:32:44 +0000 (03:32 +0200)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:23 +0000 (18:19 -0400)
[ Upstream commit 5155e48128826d0c5999dc9f47aa746df54da448 ]

It seems, the only actual mentions of PM2250 can be found are related to
the Qualcomm RB1 platform. However even RB1 schematics use PM4125 as a
PMIC name. Rename PM2250 to PM4125 to follow the documentation.

Fixes: 082f9bc60f33 ("soc: qcom: spmi-pmic: add more PMIC SUBTYPE IDs")
Fixes: 112d96fd2927 ("soc: qcom: socinfo: Add some PMICs")
Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240128-pm2250-pm4125-rename-v2-1-d51987e9f83a@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/qcom/socinfo.c
include/soc/qcom/qcom-spmi-pmic.h

index 497cfb720fcb04214daff3f307ad4aca03f784b6..880b41a57da0197680ce55bbad9b36315f0452c9 100644 (file)
@@ -114,7 +114,7 @@ static const char *const pmic_models[] = {
        [50] = "PM8350B",
        [51] = "PMR735A",
        [52] = "PMR735B",
-       [55] = "PM2250",
+       [55] = "PM4125",
        [58] = "PM8450",
        [65] = "PM8010",
 };
index c47cc71a999ec94b22c78c9430018fcecd1fda77..fdd462b295927db438a54dd6a261be9db7c6b663 100644 (file)
@@ -48,7 +48,7 @@
 #define PMK8350_SUBTYPE                0x2f
 #define PMR735B_SUBTYPE                0x34
 #define PM6350_SUBTYPE         0x36
-#define PM2250_SUBTYPE         0x37
+#define PM4125_SUBTYPE         0x37
 
 #define PMI8998_FAB_ID_SMIC    0x11
 #define PMI8998_FAB_ID_GF      0x30