[PATCH 07/11] power: pmic: max8997: support maxim,max8997-pmic compatible as well

Henrik Grimler henrik at grimler.se
Fri Aug 22 20:33:29 CEST 2025


Linux's DTSes uses maxim,max8997-pmic, so check for this compatible
as well so that max8997 pmic driver can support both u-boot and
Linux's DTSes.

Signed-off-by: Henrik Grimler <henrik at grimler.se>
---
 drivers/power/pmic/max8997.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/power/pmic/max8997.c b/drivers/power/pmic/max8997.c
index 4afa6c84ef82f986d95edc00255bbd029513f769..ecdad505b2633c3d2e6ef3a39048c602bc18902f 100644
--- a/drivers/power/pmic/max8997.c
+++ b/drivers/power/pmic/max8997.c
@@ -47,6 +47,7 @@ static struct dm_pmic_ops max8997_ops = {
 
 static const struct udevice_id max8997_ids[] = {
 	{ .compatible = "maxim,max8997" },
+	{ .compatible = "maxim,max8997-pmic" },
 	{ },
 };
 

-- 
2.50.1



More information about the U-Boot mailing list