mtd: nand: atmel_nand: retrieve NFC clock
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Fri, 12 Sep 2014 23:23:59 +0000 (01:23 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 17 Sep 2014 07:45:11 +0000 (00:45 -0700)
commit2d405ec5fdd5b6848beb820301d4fcaa3e2c4159
tree578b734e079cf35ac3fadbd6ac9f26e713a6ba29
parent55ab9ec99bbfb4450dfa9bc0fd9e2c5052f4c3f7
mtd: nand: atmel_nand: retrieve NFC clock

Retrieve the NFC clock to make sure it is enabled. Make that optional to ensure
compatibility with previous device trees but document it as mandatory so newer
device trees will include it.

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Documentation/devicetree/bindings/mtd/atmel-nand.txt
drivers/mtd/nand/atmel_nand.c