[PATCH 2/3] nvmem: Add spmi-nvmem driver
Srinivas Kandagatla
srini at kernel.org
Thu Apr 17 06:57:02 PDT 2025
On Thu, Apr 17, 2025 at 09:49:28AM -0400, Alyssa Rosenzweig wrote:
> > > +config NVMEM_SPMI
> > > + tristate "Generic SPMI NVMEM"
> > > + default ARCH_APPLE
> > Why default is set to ARCH_APPLE?
> >
> > This will endup with y in arm64 defconfig, means increasing the size of
> > kernel.
>
> I mean, eventually I think we /do/ want M1 properly supported in the
> arm64 defconfig, no? I'm not sure what the criteria is for any other
> driver to be defconfig or not, though.
cat arch/arm64/configs/defconfig | grep APPLE
CONFIG_ARCH_APPLE=y
Criteria for other drivers default should be not selected,
and should be module if they are part of defconfig, rather than
inbuilt. Not sure how most of the ARCH_APPLE drivers ended up using
default ARCH_APPLE.
--srini
More information about the linux-arm-kernel
mailing list