mfd: qcom-spmi-pmic: Add support for pm8005,pm8998,pmi8998
PATCH v2 1/1 mfd: qcom-spmi-pmic: Add support for pm8005,pm8998,pmi8998
Add the compatibles and PMIC ids for the pm8005, pm8998, and pmi8998 PMICS found on MSM8998 and SDM845 based platforms.
---
Changes from v1:
* Picked up review tags
* Reordered lists to be based on id numbers
Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.txt | 3 +++ drivers/mfd/qcom-spmi-pmic.c | 6 ++++++ 2 files changed, 9 insertions(+)
Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.txt +3 -0
@@ -29,6 +29,9 @@ Required properties: "qcom,pm8916", "qcom,pm8004", "qcom,pm8909", + "qcom,pm8998", + "qcom,pmi8998", + "qcom,pm8005", or generalized "qcom,spmi-pmic". - reg: Specifies the SPMI USID slave address for this device. For more information see:
drivers/mfd/qcom-spmi-pmic.c +6 -0
@@ -39,6 +39,9 @@#define PM8916_SUBTYPE 0x0b#define PM8004_SUBTYPE 0x0c#define PM8909_SUBTYPE 0x0d +#define PM8998_SUBTYPE 0x14 +#define PMI8998_SUBTYPE 0x15 +#define PM8005_SUBTYPE 0x18static const struct of_device_id pmic_spmi_id_table[] = { { .compatible ="qcom,spmi-pmic" , .data = (void *)COMMON_SUBTYPE },
@@ -55,6 +58,9 @@ static const struct of_device_id pmic_spmi_id_table[] = { { .compatible = "qcom,pm8916", .data = (void *)PM8916_SUBTYPE }, { .compatible = "qcom,pm8004", .data = (void *)PM8004_SUBTYPE }, { .compatible = "qcom,pm8909", .data = (void *)PM8909_SUBTYPE }, + { .compatible = "qcom,pm8998", .data = (void *)PM8998_SUBTYPE }, + { .compatible = "qcom,pmi8998", .data = (void *)PMI8998_SUBTYPE }, + { .compatible = "qcom,pm8005", .data = (void *)PM8005_SUBTYPE }, { } };
Signature · 1 line
Sent by a computer through tubes
Quoted 7 lines · Stephen Boyd
Add the compatibles and PMIC ids for the pm8005, pm8998, and pmi8998 PMICS found on MSM8998 and SDM845 based platforms.
Cc <[email protected]>Reviewed-by Rob Herring <[email protected]>Reviewed-by Doug Anderson <[email protected]>Signed-off-by Stephen Boyd <[email protected]>
Quoted 5 lines
---
Changes from v1:
* Picked up review tags
* Reordered lists to be based on id numbers
Not the color I would have picked for the shed ;)
Regards,
Bjorn
Quoted 46 lines
Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.txt | 3 +++ drivers/mfd/qcom-spmi-pmic.c | 6 ++++++ 2 files changed, 9 insertions(+)Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.txt +3
-0@@ -29,6 +29,9 @@ Required properties: "qcom,pm8916", "qcom,pm8004", "qcom,pm8909", + "qcom,pm8998", + "qcom,pmi8998", + "qcom,pm8005", or generalized "qcom,spmi-pmic". - reg: Specifies the SPMI USID slave address for this device. For more information see:drivers/mfd/qcom-spmi-pmic.c +6
-0@@ -39,6 +39,9 @@#define PM8916_SUBTYPE 0x0b#define PM8004_SUBTYPE 0x0c#define PM8909_SUBTYPE 0x0d +#define PM8998_SUBTYPE 0x14 +#define PMI8998_SUBTYPE 0x15 +#define PM8005_SUBTYPE 0x18static const struct of_device_id pmic_spmi_id_table[] = { { .compatible ="qcom,spmi-pmic" , .data = (void *)COMMON_SUBTYPE },@@ -55,6 +58,9 @@ static const struct of_device_id pmic_spmi_id_table[] = { { .compatible = "qcom,pm8916", .data = (void *)PM8916_SUBTYPE }, { .compatible = "qcom,pm8004", .data = (void *)PM8004_SUBTYPE }, { .compatible = "qcom,pm8909", .data = (void *)PM8909_SUBTYPE }, + { .compatible = "qcom,pm8998", .data = (void *)PM8998_SUBTYPE }, + { .compatible = "qcom,pmi8998", .data = (void *)PMI8998_SUBTYPE }, + { .compatible = "qcom,pm8005", .data = (void *)PM8005_SUBTYPE }, { } };Signature · 1 line
Sent by a computer through tubes
Lee Jones
AppliedQuoted 9 lines · Stephen Boyd
Add the compatibles and PMIC ids for the pm8005, pm8998, and pmi8998 PMICS found on MSM8998 and SDM845 based platforms.
Cc <[email protected]>Reviewed-by Rob Herring <[email protected]>Reviewed-by Doug Anderson <[email protected]>Signed-off-by Stephen Boyd <[email protected]>---
Quoted 7 lines
Changes from v1:
* Picked up review tags
* Reordered lists to be based on id numbersDocumentation/devicetree/bindings/mfd/qcom,spmi-pmic.txt | 3 +++ drivers/mfd/qcom-spmi-pmic.c | 6 ++++++ 2 files changed, 9 insertions(+)
Applied, thanks.
Signature · 4 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog