]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: mchp23k256: Add support for mchp23lcv1024
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Fri, 2 Jun 2017 03:21:19 +0000 (15:21 +1200)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 8 Jun 2017 23:32:11 +0000 (16:32 -0700)
commit4379075a870b8de43a9ecd5b46884953234fc669
tree668961c36e393c96c949d970e4202c4ae7194f10
parent2f071ff175ea221710d583222b55f915d90901f0
mtd: mchp23k256: Add support for mchp23lcv1024

The mchp23lcv1024 is similar to the mchp23k256, the differences (from a
software point of view) are the capacity of the chip and the size of the
addresses used.

There is no way to detect the specific chip so we must be told via a
Device Tree or default to mchp23k256 when device tree is not used.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Documentation/devicetree/bindings/mtd/microchip,mchp23k256.txt
drivers/mtd/devices/mchp23k256.c