Skip to contentSkip to conversation

Revert "mfd: max8997: Add of_compatible to Extcon and Charger mfd_cell"

PATCH Applied Timon Baetz 2 participants 2 messages Apr 5, 2021 – Apr 14, 2021 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "mfd: max8997: Add of_compatible to Extcon and Charger mfd_cell"

This reverts commit 9c03008da125c1007919a9186628af3cc105f526.

commit 41a8a027f4d3 ("regulator: dt-bindings: Document charger-supply for max8997") introduced a binding which uses a property of the max8997 pmic node to configure charger supply, making subnodes for MFD cells obsolete.

---
 drivers/mfd/max8997.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/mfd/max8997.c +2 -2
index 55d3a6f97783..68d8f2b95287 100644
@@ -29,9 +29,9 @@
 static const struct mfd_cell max8997_devs[] = {
 	{ .name = "max8997-pmic", },
 	{ .name = "max8997-rtc", },
-	{ .name = "max8997-battery", .of_compatible = "maxim,max8997-battery", },
+	{ .name = "max8997-battery", },
 	{ .name = "max8997-haptic", },
-	{ .name = "max8997-muic", .of_compatible = "maxim,max8997-muic", },
+	{ .name = "max8997-muic", },
 	{ .name = "max8997-led", .id = 1 },
 	{ .name = "max8997-led", .id = 2 },
 };

--
2.25.1

Applied
#1 lore raw
Quoted 11 lines · Timon Baetz

This reverts commit 9c03008da125c1007919a9186628af3cc105f526.

commit 41a8a027f4d3 ("regulator: dt-bindings: Document charger-supply for max8997") introduced a binding which uses a property of the max8997 pmic node to configure charger supply, making subnodes for MFD cells obsolete.

---
 drivers/mfd/max8997.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

Signature · 4 lines
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog