Skip to content

Commit 4773d2f

Browse files
Danct12lag-linaro
authored andcommitted
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 <[email protected]> Signed-off-by: Dang Huynh <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent e0191f3 commit 4773d2f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/mfd/qcom-spmi-pmic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ static const struct of_device_id pmic_spmi_id_table[] = {
5353
{ .compatible = "qcom,pm8901", .data = N_USIDS(2) },
5454
{ .compatible = "qcom,pm8909", .data = N_USIDS(2) },
5555
{ .compatible = "qcom,pm8916", .data = N_USIDS(2) },
56+
{ .compatible = "qcom,pm8937", .data = N_USIDS(2) },
5657
{ .compatible = "qcom,pm8941", .data = N_USIDS(2) },
5758
{ .compatible = "qcom,pm8950", .data = N_USIDS(2) },
5859
{ .compatible = "qcom,pm8994", .data = N_USIDS(2) },

include/soc/qcom/qcom-spmi-pmic.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#define PM8998_SUBTYPE 0x14
3232
#define PMI8998_SUBTYPE 0x15
3333
#define PM8005_SUBTYPE 0x18
34+
#define PM8937_SUBTYPE 0x19
3435
#define PM660L_SUBTYPE 0x1a
3536
#define PM660_SUBTYPE 0x1b
3637
#define PM8150_SUBTYPE 0x1e

0 commit comments

Comments
 (0)