Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mfd: qcom-spmi-pmic: Add support for PM8937

Add the subtype and compatible strings for PM8937.

The PM8937 is found in various SoCs, including MSM8917, MSM8937,
MSM8940 and APQ variants.

Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Signed-off-by: Dang Huynh <danct12@riseup.net>
Link: https://lore.kernel.org/r/20231121-pm8937-v2-1-b0171ab62075@riseup.net
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Dang Huynh and committed by
Lee Jones
4773d2f1 e0191f30

+2
+1
drivers/mfd/qcom-spmi-pmic.c
··· 53 53 { .compatible = "qcom,pm8901", .data = N_USIDS(2) }, 54 54 { .compatible = "qcom,pm8909", .data = N_USIDS(2) }, 55 55 { .compatible = "qcom,pm8916", .data = N_USIDS(2) }, 56 + { .compatible = "qcom,pm8937", .data = N_USIDS(2) }, 56 57 { .compatible = "qcom,pm8941", .data = N_USIDS(2) }, 57 58 { .compatible = "qcom,pm8950", .data = N_USIDS(2) }, 58 59 { .compatible = "qcom,pm8994", .data = N_USIDS(2) },
+1
include/soc/qcom/qcom-spmi-pmic.h
··· 31 31 #define PM8998_SUBTYPE 0x14 32 32 #define PMI8998_SUBTYPE 0x15 33 33 #define PM8005_SUBTYPE 0x18 34 + #define PM8937_SUBTYPE 0x19 34 35 #define PM660L_SUBTYPE 0x1a 35 36 #define PM660_SUBTYPE 0x1b 36 37 #define PM8150_SUBTYPE 0x1e