soc: qcom: socinfo: add two missing PMIC IDs
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 16 Oct 2021 19:06:07 +0000 (22:06 +0300)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 16 Oct 2021 23:19:56 +0000 (18:19 -0500)
Add IDs for PMK8001 and PMI8996. They also fall in the list of
'duplicated' IDs, where the same index was used for multiple chips.

Fixes: 7fda2b0bfbd9 ("soc: qcom: socinfo: import PMIC IDs from pmic-spmi")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211016190607.49866-1-dmitry.baryshkov@linaro.org
drivers/soc/qcom/socinfo.c

index 288897868435f81b05c306297abec3fd9f80bb53..bec6eb910cba3a5f95768cb43d59ba8c21d67bdd 100644 (file)
@@ -87,8 +87,8 @@ static const char *const pmic_models[] = {
        [15] = "PM8901",
        [16] = "PM8950/PM8027",
        [17] = "PMI8950/ISL9519",
-       [18] = "PM8921",
-       [19] = "PM8018",
+       [18] = "PMK8001/PM8921",
+       [19] = "PMI8996/PM8018",
        [20] = "PM8998/PM8015",
        [21] = "PMI8998/PM8014",
        [22] = "PM8821",