mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
61 lines
3.3 KiB
Diff
61 lines
3.3 KiB
Diff
|
From 60df90d6829d16338e2971420220395cfc289247 Mon Sep 17 00:00:00 2001
|
||
|
From: Bjorn Andersson <bjorn.andersson@linaro.org>
|
||
|
Date: Sun, 17 Oct 2021 09:12:16 -0700
|
||
|
Subject: [PATCH] mfd: qcom-spmi-pmic: Sort compatibles in the driver
|
||
|
|
||
|
Sort the compatibles in the driver, to make it easier to validate that
|
||
|
the DT binding and driver are in sync.
|
||
|
|
||
|
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
|
||
|
Signed-off-by: Lee Jones <lee.jones@linaro.org>
|
||
|
Link: https://lore.kernel.org/r/20211017161218.2378176-2-bjorn.andersson@linaro.org
|
||
|
---
|
||
|
drivers/mfd/qcom-spmi-pmic.c | 30 +++++++++++++++---------------
|
||
|
1 file changed, 15 insertions(+), 15 deletions(-)
|
||
|
|
||
|
--- a/drivers/mfd/qcom-spmi-pmic.c
|
||
|
+++ b/drivers/mfd/qcom-spmi-pmic.c
|
||
|
@@ -40,27 +40,27 @@
|
||
|
#define PM660_SUBTYPE 0x1B
|
||
|
|
||
|
static const struct of_device_id pmic_spmi_id_table[] = {
|
||
|
- { .compatible = "qcom,spmi-pmic", .data = (void *)COMMON_SUBTYPE },
|
||
|
- { .compatible = "qcom,pm8941", .data = (void *)PM8941_SUBTYPE },
|
||
|
- { .compatible = "qcom,pm8841", .data = (void *)PM8841_SUBTYPE },
|
||
|
+ { .compatible = "qcom,pm660", .data = (void *)PM660_SUBTYPE },
|
||
|
+ { .compatible = "qcom,pm660l", .data = (void *)PM660L_SUBTYPE },
|
||
|
+ { .compatible = "qcom,pm8004", .data = (void *)PM8004_SUBTYPE },
|
||
|
+ { .compatible = "qcom,pm8005", .data = (void *)PM8005_SUBTYPE },
|
||
|
{ .compatible = "qcom,pm8019", .data = (void *)PM8019_SUBTYPE },
|
||
|
- { .compatible = "qcom,pm8226", .data = (void *)PM8226_SUBTYPE },
|
||
|
{ .compatible = "qcom,pm8110", .data = (void *)PM8110_SUBTYPE },
|
||
|
- { .compatible = "qcom,pma8084", .data = (void *)PMA8084_SUBTYPE },
|
||
|
- { .compatible = "qcom,pmi8962", .data = (void *)PMI8962_SUBTYPE },
|
||
|
- { .compatible = "qcom,pmd9635", .data = (void *)PMD9635_SUBTYPE },
|
||
|
- { .compatible = "qcom,pm8994", .data = (void *)PM8994_SUBTYPE },
|
||
|
- { .compatible = "qcom,pmi8994", .data = (void *)PMI8994_SUBTYPE },
|
||
|
- { .compatible = "qcom,pm8916", .data = (void *)PM8916_SUBTYPE },
|
||
|
- { .compatible = "qcom,pm8004", .data = (void *)PM8004_SUBTYPE },
|
||
|
+ { .compatible = "qcom,pm8226", .data = (void *)PM8226_SUBTYPE },
|
||
|
+ { .compatible = "qcom,pm8841", .data = (void *)PM8841_SUBTYPE },
|
||
|
{ .compatible = "qcom,pm8909", .data = (void *)PM8909_SUBTYPE },
|
||
|
+ { .compatible = "qcom,pm8916", .data = (void *)PM8916_SUBTYPE },
|
||
|
+ { .compatible = "qcom,pm8941", .data = (void *)PM8941_SUBTYPE },
|
||
|
{ .compatible = "qcom,pm8950", .data = (void *)PM8950_SUBTYPE },
|
||
|
- { .compatible = "qcom,pmi8950", .data = (void *)PMI8950_SUBTYPE },
|
||
|
+ { .compatible = "qcom,pm8994", .data = (void *)PM8994_SUBTYPE },
|
||
|
{ .compatible = "qcom,pm8998", .data = (void *)PM8998_SUBTYPE },
|
||
|
+ { .compatible = "qcom,pma8084", .data = (void *)PMA8084_SUBTYPE },
|
||
|
+ { .compatible = "qcom,pmd9635", .data = (void *)PMD9635_SUBTYPE },
|
||
|
+ { .compatible = "qcom,pmi8950", .data = (void *)PMI8950_SUBTYPE },
|
||
|
+ { .compatible = "qcom,pmi8962", .data = (void *)PMI8962_SUBTYPE },
|
||
|
+ { .compatible = "qcom,pmi8994", .data = (void *)PMI8994_SUBTYPE },
|
||
|
{ .compatible = "qcom,pmi8998", .data = (void *)PMI8998_SUBTYPE },
|
||
|
- { .compatible = "qcom,pm8005", .data = (void *)PM8005_SUBTYPE },
|
||
|
- { .compatible = "qcom,pm660l", .data = (void *)PM660L_SUBTYPE },
|
||
|
- { .compatible = "qcom,pm660", .data = (void *)PM660_SUBTYPE },
|
||
|
+ { .compatible = "qcom,spmi-pmic", .data = (void *)COMMON_SUBTYPE },
|
||
|
{ }
|
||
|
};
|
||
|
|