diff options
author | Timon Baetz <timon.baetz@protonmail.com> | 2020-12-22 07:31:32 +0000 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-02-08 13:54:09 +0000 |
commit | 9c03008da125c1007919a9186628af3cc105f526 (patch) | |
tree | 8a0bf3bc76bf13d3178bc01f54c291a6c503926f | |
parent | 951e92d141ea4ac5b68d9e6eac895e5988852d3c (diff) | |
download | lwn-9c03008da125c1007919a9186628af3cc105f526.tar.gz lwn-9c03008da125c1007919a9186628af3cc105f526.zip |
mfd: max8997: Add of_compatible to Extcon and Charger mfd_cell
Add of_compatible ("maxim,max8997-muic") to the mfd_cell to have a
of_node set in the extcon driver.
Add of_compatible ("maxim,max8997-battery") to the mfd_cell to configure
the charger driver.
Signed-off-by: Timon Baetz <timon.baetz@protonmail.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r-- | drivers/mfd/max8997.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/max8997.c b/drivers/mfd/max8997.c index 68d8f2b95287..55d3a6f97783 100644 --- a/drivers/mfd/max8997.c +++ b/drivers/mfd/max8997.c @@ -29,9 +29,9 @@ static const struct mfd_cell max8997_devs[] = { { .name = "max8997-pmic", }, { .name = "max8997-rtc", }, - { .name = "max8997-battery", }, + { .name = "max8997-battery", .of_compatible = "maxim,max8997-battery", }, { .name = "max8997-haptic", }, - { .name = "max8997-muic", }, + { .name = "max8997-muic", .of_compatible = "maxim,max8997-muic", }, { .name = "max8997-led", .id = 1 }, { .name = "max8997-led", .id = 2 }, }; |