]> git.baikalelectronics.ru Git - kernel.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)
commit9a698d982eab3d18f4aaeda155b00ffaca4efcd3
tree668961c36e393c96c949d970e4202c4ae7194f10
parent0c532078aea903cae6f8e83a7258c86364e7d126
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