mtd: rawnand: denali_dt: make the core clock optional
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 21 Jan 2020 19:03:10 +0000 (20:03 +0100)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 31 Jan 2020 16:14:32 +0000 (01:14 +0900)
commit11bcc5841ae6765e010a419bd6354b15ae4e1096
tree5db4261de3f1daff72083296ee06ed93f969e9be
parent33672c970b0854586b3c533f3bf17056e96d7cf6
mtd: rawnand: denali_dt: make the core clock optional

The "nand_x" and "ecc" clocks are currently optional. Make the core
clock optional in the same way. This will allow platforms with no clock
driver support to use this driver.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Marek Vasut <marex@denx.de> # On SoCFPGA Arria V
drivers/mtd/nand/raw/denali_dt.c