mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 07:44:21 +08:00
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>
This commit is contained in:
parent
e0191f305f
commit
4773d2f1a5
@ -53,6 +53,7 @@ static const struct of_device_id pmic_spmi_id_table[] = {
|
|||||||
{ .compatible = "qcom,pm8901", .data = N_USIDS(2) },
|
{ .compatible = "qcom,pm8901", .data = N_USIDS(2) },
|
||||||
{ .compatible = "qcom,pm8909", .data = N_USIDS(2) },
|
{ .compatible = "qcom,pm8909", .data = N_USIDS(2) },
|
||||||
{ .compatible = "qcom,pm8916", .data = N_USIDS(2) },
|
{ .compatible = "qcom,pm8916", .data = N_USIDS(2) },
|
||||||
|
{ .compatible = "qcom,pm8937", .data = N_USIDS(2) },
|
||||||
{ .compatible = "qcom,pm8941", .data = N_USIDS(2) },
|
{ .compatible = "qcom,pm8941", .data = N_USIDS(2) },
|
||||||
{ .compatible = "qcom,pm8950", .data = N_USIDS(2) },
|
{ .compatible = "qcom,pm8950", .data = N_USIDS(2) },
|
||||||
{ .compatible = "qcom,pm8994", .data = N_USIDS(2) },
|
{ .compatible = "qcom,pm8994", .data = N_USIDS(2) },
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
#define PM8998_SUBTYPE 0x14
|
#define PM8998_SUBTYPE 0x14
|
||||||
#define PMI8998_SUBTYPE 0x15
|
#define PMI8998_SUBTYPE 0x15
|
||||||
#define PM8005_SUBTYPE 0x18
|
#define PM8005_SUBTYPE 0x18
|
||||||
|
#define PM8937_SUBTYPE 0x19
|
||||||
#define PM660L_SUBTYPE 0x1a
|
#define PM660L_SUBTYPE 0x1a
|
||||||
#define PM660_SUBTYPE 0x1b
|
#define PM660_SUBTYPE 0x1b
|
||||||
#define PM8150_SUBTYPE 0x1e
|
#define PM8150_SUBTYPE 0x1e
|
||||||
|
Loading…
Reference in New Issue
Block a user