RE: [PATCH 6/6] hwmon: (pmbus/max20830): add support for max20830c and max20840c

From: Torreno, Alexis Czezar

Date: Tue Jun 30 2026 - 04:08:16 EST



> >
> > static const struct of_device_id max20830_of_match[] = {
> > - { .compatible = "adi,max20830" },
> > + { .compatible = "adi,max20830", .data = &max20830_chip },
> > + { .compatible = "adi,max20830c", .data = &max20830c_chip },
> > + { .compatible = "adi,max20840c", .data = &max20840c_chip },
>
> "adi,max20830" is a fallback for the other two chips, but that is not how the
> code is implemented.
>

I may be inclined to just not use fallback as it seems to be more complicated
and a bit unnecessary. There's also other devices that may be added on top
of this so it lessens the complexity. Will edit the bindings regarding this.

Regards,
Alexis