[PATCH v3 0/5] mtd: mchp23k256: device tree and mchp23lcv1024

Boris Brezillon boris.brezillon at free-electrons.com
Tue May 23 00:39:57 PDT 2017


On Tue, 23 May 2017 12:43:12 +1200
Chris Packham <chris.packham at alliedtelesis.co.nz> wrote:

> This series adds device tree support to the mchp23k256 driver and
> support for the mchp23lcv1024 chip. I suspect there are more compatible
> variants that we could now enumerate if desired.
> 
> Chris Packham (5):
>   mtd: mchp23k256: Add OF device ID table
>   mtd: mchp23k256: switch to mtd_device_register()
>   mtd: handle partitioning on devices with 0 erasesize
>   mtd: mchp23k256: add partitioning support
>   mtd: mchp23k256: Add support for mchp23lcv1024

Shouldn't we add a spi_device_id table to allow non-DT users to probe
mchp23lcv1024 chips?

> 
>  .../bindings/mtd/microchip,mchp23k256.txt          | 18 ++++++
>  drivers/mtd/devices/mchp23k256.c                   | 65 ++++++++++++++++++----
>  drivers/mtd/mtdpart.c                              | 25 ++++++---
>  3 files changed, 87 insertions(+), 21 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/mtd/microchip,mchp23k256.txt
> 




More information about the linux-mtd mailing list