]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
soc: qcom: spmi-pmic: add more PMIC SUBTYPE IDs
authorRakesh Kota <rakesh.kota@oss.qualcomm.com>
Fri, 4 Jul 2025 11:30:36 +0000 (17:00 +0530)
committerBjorn Andersson <andersson@kernel.org>
Thu, 17 Jul 2025 03:58:03 +0000 (22:58 -0500)
Add the PMM8650AU and PMM8650AU_PSAIL PMIC SUBTYPE IDs and
These PMICs are used by the qcs8300 and qcs9100 platforms.

Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250704113036.1627695-1-rakesh.kota@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/socinfo.c
include/soc/qcom/qcom-spmi-pmic.h

index e73644058ddd59241eaf5bc37a32afce5d5fdd9b..30f09a8053f1a94da74d4a21342a5d7a225f11b3 100644 (file)
@@ -128,6 +128,8 @@ static const char *const pmic_models[] = {
        [72] = "PMR735D",
        [73] = "PM8550",
        [74] = "PMK8550",
+       [78] = "PMM8650AU",
+       [79] = "PMM8650AU_PSAIL",
        [80] = "PM7550",
        [82] = "PMC8380",
        [83] = "SMB2360",
index df3d3a0af98a3cc6e04132dbad6296b6a91015bc..2cf9e2d8cd55f447cbfca06b2e0452b8404fddef 100644 (file)
@@ -50,6 +50,8 @@
 #define PMR735B_SUBTYPE                0x34
 #define PM6350_SUBTYPE         0x36
 #define PM4125_SUBTYPE         0x37
+#define PMM8650AU_SUBTYPE       0x4e
+#define PMM8650AU_PSAIL_SUBTYPE 0x4f
 
 #define PMI8998_FAB_ID_SMIC    0x11
 #define PMI8998_FAB_ID_GF      0x30