[PATCH v2] mtd: core: Add nand_id sysfs attribute for NAND devices
Miquel Raynal
miquel.raynal at bootlin.com
Wed Oct 22 23:54:39 PDT 2025
Hi Jay,
On 22/10/2025 at 11:53:41 -05, Jay Xu <jayxu1990 at gmail.com> wrote:
> Hi Miquèl:
> Thank you for the feedback and suggestions!
>
> You're right that the current implementation is raw NAND specific. I can look into extending this to support other NAND
> types by moving the functionality to the NAND core
> layer and ensure the ID is populated at probe time.
>
> Let me know if you have any other suggestions/questions,
Not at the moment, I'd like to gather feedback from other MTD folks
before we go forward. Sysfs is part of the stable API, we must be
careful.
> > Reported-by: kernel test robot <lkp at intel.com>
> > Closes:
> > https://lore.kernel.org/oe-kbuild-all/202510120356.STGKDkA5-lkp@intel.com/
Just as an FYI, these do not make any sense in a contribution like
yours. Include these tags if you are fixing something that is already in
the tree. This is a new submission and it is not a fix so "reported-by"
shall not be used.
Thanks,
Miquèl
More information about the linux-mtd
mailing list