]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mtd: rawnand: davinci: Add clock resource
authorBastien Curutchet <bastien.curutchet@bootlin.com>
Wed, 4 Dec 2024 09:43:18 +0000 (10:43 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 24 Dec 2024 14:48:00 +0000 (15:48 +0100)
commita873eaed31a76979404ab7078d39f9e9324e7a17
tree06cb46efab5880426b61c44a66d72ab68ffd0b99
parentea11788df2ac07c2ddc126ffc89c4692aa78cb4d
mtd: rawnand: davinci: Add clock resource

NAND controller has a reference clock inherited from the AEMIF
(cf. Documentation/devicetree/bindings/memory-controllers/ti-aemif.txt)
This clock isn't used yet by the driver.

Add a struct clock in the struct davinci_nand_info so it can be used
to compute timings.

Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/davinci_nand.c