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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Nov 2021 18:16:53 +0000 (19:16 +0100)
[ Upstream commit 2fae3ecc70405b72ea6c923b216d34547559d6a9 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/qcom/socinfo.c

index 52e5811..5beb452 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",