diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2014-09-13 01:23:59 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-09-17 00:45:11 -0700 |
commit | 2d405ec5fdd5b6848beb820301d4fcaa3e2c4159 (patch) | |
tree | 578b734e079cf35ac3fadbd6ac9f26e713a6ba29 /Documentation | |
parent | 55ab9ec99bbfb4450dfa9bc0fd9e2c5052f4c3f7 (diff) | |
download | op-kernel-dev-2d405ec5fdd5b6848beb820301d4fcaa3e2c4159.zip op-kernel-dev-2d405ec5fdd5b6848beb820301d4fcaa3e2c4159.tar.gz |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/mtd/atmel-nand.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/atmel-nand.txt b/Documentation/devicetree/bindings/mtd/atmel-nand.txt index c472883..6edc3b6 100644 --- a/Documentation/devicetree/bindings/mtd/atmel-nand.txt +++ b/Documentation/devicetree/bindings/mtd/atmel-nand.txt @@ -36,6 +36,7 @@ Optional properties: - reg : should specify the address and size used for NFC command registers, NFC registers and NFC Sram. NFC Sram address and size can be absent if don't want to use it. + - clocks: phandle to the peripheral clock - Optional properties: - atmel,write-by-sram: boolean to enable NFC write by sram. @@ -98,6 +99,7 @@ nand0: nand@40000000 { compatible = "atmel,sama5d3-nfc"; #address-cells = <1>; #size-cells = <1>; + clocks = <&hsmc_clk> reg = < 0x70000000 0x10000000 /* NFC Command Registers */ 0xffffc000 0x00000070 /* NFC HSMC regs */ |