summaryrefslogtreecommitdiffstats
path: root/drivers/clk/davinci
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2018-03-30 20:00:51 +0530
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-04-26 19:55:40 +0200
commita8e3923ab57192547ffad01d78939c5c0d5d0c30 (patch)
treeeb82aab45d27cad873ef3687ea5605112e967d07 /drivers/clk/davinci
parent60cc43fc888428bb2f18f08997432d426a243338 (diff)
mtd: rawnand: davinci: don't acquire and enable clock
NAND itself is an asynchronous interface, it does not have any clock input. DaVinci NAND driver acquires clock for AEMIF (asynchronous external memory interface) which is an on-chip IP to which NAND is connected. The same clock is also enabled in AEMIF driver (either present drivers/memory or from machine code for some older platforms). AEMIF timing must be initialized before NAND can be accessed. This ensures that AEMIF clock is enabled too. Remove the superfluous clock acquisition and enable in DaVinci NAND driver. Tested on K2L, K2HK, K2E, DA850 EVM, DA850 LCDK in device-tree boot and DM644x EVM in legacy boot. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/clk/davinci')
0 files changed, 0 insertions, 0 deletions