[PATCH 04/11] fsmc/nand: Accept nand timing parameters via DT
viresh kumar
viresh.kumar at linaro.org
Tue Oct 9 13:20:47 EDT 2012
On Tue, Oct 9, 2012 at 4:14 PM, Vipin Kumar <vipin.kumar at st.com> wrote:
> diff --git a/Documentation/devicetree/bindings/mtd/fsmc-nand.txt b/Documentation/devicetree/bindings/mtd/fsmc-nand.txt
> +- nand-timings-enabled: Indicates if the timing parameters are passed
> + via DT
> +- nand-timings,tclr:
> +- nand-timings,tar:
> +- nand-timings,thiz:
> +- nand-timings,thold:
> +- nand-timings,twait:
> +- nand-timings,tset: All these timing parameters come from the actual
> + nand device specification. Each of this represents a number of time
> + period of hclk ie a number 4 in thold with hclk = 166MHz means that
> + thold = (1000 / 166) * 4 ns = 24.09ns
Are they specific to fsmc controller or nand memory type? If to fsmc then
please add my
Reviewed-by: Viresh Kumar <viresh.kumar at linaro.org>
else
I would suggest to add these to mtd bindings instead, so that same fields
can be used by multiple drivers....
Similar approach is used for mmc controllers too.
More information about the linux-arm-kernel
mailing list