]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
power: pmic: max8997: support maxim,max8997-pmic compatible as well
authorHenrik Grimler <henrik@grimler.se>
Fri, 22 Aug 2025 18:33:29 +0000 (20:33 +0200)
committerPeng Fan <peng.fan@nxp.com>
Mon, 1 Sep 2025 02:33:07 +0000 (10:33 +0800)
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@grimler.se>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/power/pmic/max8997.c

index 4afa6c84ef82f986d95edc00255bbd029513f769..ecdad505b2633c3d2e6ef3a39048c602bc18902f 100644 (file)
@@ -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" },
        { },
 };