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 <henrik@grimler.se>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
Henrik Grimler 2025-08-22 20:33:29 +02:00 committed by Peng Fan
parent 0fdd3b4243
commit 920404409c

View 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" },
{ },
};