[PATCH v2 1/3] dt-bindings: spmi: Add generic SPMI NVMEM

Sasha Finkelstein fnkl.kernel at gmail.com
Tue Apr 22 06:44:10 PDT 2025


On Tue, 22 Apr 2025 at 15:36, Rob Herring <robh at kernel.org> wrote:
> > +title: Generic SPMI NVMEM
>
> What makes this generic?
>
> A generic driver is great, but "generic" or "simple" bindings are
> generally a mistake.

There is nothing apple-specific in that driver, just re-exporting
several registers as cells. If you think that it is a mistake, I can
rename it to apple-pmic, or something similar.

> > +      - const: spmi-nvmem
>
> What happens when there's some other feature of the PMIC exposed that's
> not nvmem?

If you have a PMIC that needs more features exposed, then you'd have to
use a different driver. Or am i not understanding the question correctly?



More information about the linux-arm-kernel mailing list