Commit 458f3933 authored by Ivan Khoronzhuk's avatar Ivan Khoronzhuk Committed by Brian Norris

mtd: nand: davinci: reuse driver for Keystone arch

The Keystone arch has compatible nand device, so reuse it.
In case with Keystone it depends on TI_AEMIF because AEMIF
driver is responsible to set timings.

See http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdfReviewed-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: default avatarTaras Kondratiuk <taras@ti.com>
Signed-off-by: default avatarIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 75be1ea2
Device tree bindings for Texas instruments Davinci NAND controller Device tree bindings for Texas instruments Davinci/Keystone NAND controller
This file provides information, what the device node for the davinci NAND This file provides information, what the device node for the davinci/keystone
interface contains. NAND interface contains.
Documentation: Documentation:
Davinci DM646x - http://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf Davinci DM646x - http://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf
Kestone - http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf
Required properties: Required properties:
- compatible: "ti,davinci-nand" - compatible: "ti,davinci-nand"
"ti,keystone-nand"
- reg: Contains 2 offset/length values: - reg: Contains 2 offset/length values:
- offset and length for the access window. - offset and length for the access window.
......
...@@ -464,11 +464,11 @@ config MTD_NAND_SH_FLCTL ...@@ -464,11 +464,11 @@ config MTD_NAND_SH_FLCTL
for NAND Flash using FLCTL. for NAND Flash using FLCTL.
config MTD_NAND_DAVINCI config MTD_NAND_DAVINCI
tristate "Support NAND on DaVinci SoC" tristate "Support NAND on DaVinci/Keystone SoC"
depends on ARCH_DAVINCI depends on ARCH_DAVINCI || (ARCH_KEYSTONE && TI_AEMIF)
help help
Enable the driver for NAND flash chips on Texas Instruments Enable the driver for NAND flash chips on Texas Instruments
DaVinci processors. DaVinci/Keystone processors.
config MTD_NAND_TXX9NDFMC config MTD_NAND_TXX9NDFMC
tristate "NAND Flash support for TXx9 SoC" tristate "NAND Flash support for TXx9 SoC"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment