From 920404409cf1bb7644199b4194bf137fc62cff82 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Fri, 22 Aug 2025 20:33:29 +0200 Subject: [PATCH] power: pmic: max8997: support maxim,max8997-pmic compatible as well 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 Signed-off-by: Peng Fan --- 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 4afa6c84ef8..ecdad505b26 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.47.3