Re: [PATCH v2] nvmem: core: add NVMEM_SYSFS Kconfig
From: Marc Gonzalez
Date: Wed Apr 17 2019 - 05:26:37 EST
On 16/04/2019 11:59, Srinivas Kandagatla wrote:
> Many nvmem providers are not very keen on having default sysfs
> nvmem entry, as most of the usecases for them are inside kernel
> itself. And in some cases read/writes to some areas in nvmem are
> restricted and trapped at secure monitor level, so accessing them
> from userspace would result in board reboots.
>
> This patch adds new NVMEM_SYSFS Kconfig to make binary sysfs entry
> an optional one. This provision will give more flexibility to users.
> This patch also moves existing sysfs code to a new file so that its
> not compiled in when its not really required.
"it's" ;-)
Regards.