From: Timon Baetz Date: Tue, 22 Dec 2020 07:31:32 +0000 (+0000) Subject: mfd: max8997: Add of_compatible to Extcon and Charger mfd_cell X-Git-Tag: accepted/tizen/unified/20230118.172025~7814^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c03008da125c1007919a9186628af3cc105f526;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Krzysztof Kozlowski Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/max8997.c b/drivers/mfd/max8997.c index 68d8f2b9..55d3a6f9 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 }, };