soc: qcom: socinfo: rename PM2250 to PM4125
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 28 Jan 2024 01:32:44 +0000 (03:32 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sun, 28 Jan 2024 03:45:49 +0000 (21:45 -0600)
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>
drivers/soc/qcom/socinfo.c
include/soc/qcom/qcom-spmi-pmic.h

index 321b39b48b80fedbcc66a2f0e370786389019d53..5a44ad870fb6d18483163fe18aeb7ebc01eb3f46 100644 (file)
@@ -124,7 +124,7 @@ static const char *const pmic_models[] = {
        [50] = "PM8350B",
        [51] = "PMR735A",
        [52] = "PMR735B",
-       [55] = "PM2250",
+       [55] = "PM4125",
        [58] = "PM8450",
        [65] = "PM8010",
        [69] = "PM8550VS",
index 17a0a8c3d656087fdb8b53a666b46c13b75fcf14..a62d500a6fdaf200466c64758d8948d86e65d3b2 100644 (file)
@@ -49,7 +49,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