From: Henrik Grimler Date: Fri, 22 Aug 2025 18:33:29 +0000 (+0200) Subject: power: pmic: max8997: support maxim,max8997-pmic compatible as well X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=920404409cf1bb7644199b4194bf137fc62cff82;p=thirdparty%2Fu-boot.git 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 --- 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" }, { }, };