Missing DT code in FSMC driver?
Linus Walleij
linus.walleij at linaro.org
Sat Jan 5 16:13:18 EST 2013
Hi Vipin,
I just found this in the SPEAr devicetree for FSMC:
(...)
reg-names = "fsmc_regs", "nand_data", "nand_addr", "nand_cmd";
st,mode = <2>;
status = "okay";
(...)
st,mode?
I guess this is for setting e.g. DMA mode, but there is no code for parsing
this in the current FSMC driver, so it seems the device tree is out of sync
with the code in the driver.
Also there seems to be no bindings for setting the timings from device
tree.
Do you want me to look into this or do you have code waiting to be
submitted? (I would guess you have some code since you have added
that property to the device tree...)
Documentation/devicetree/bindings/mtd/fsmc-nand.txt need to be
fixed too I guess.
Yours,
Linus Walleij
More information about the linux-mtd
mailing list