[PATCH v6 07/10] ARM: OMAP2+: gpmc: generic timing calculation

Tony Lindgren tony at atomide.com
Fri Aug 24 15:54:47 EDT 2012


* Jon Hunter <jon-hunter at TI.COM> [120822 19:58]:
> 
> So although this may consolidate how the timings are calculated today, I
> am concerned it will be confusing to add timings for a new device. At
> least if I am calculating timings, I am taking the timing information
> for the device and translating that to the how I need to program the
> gpmc register fields.

Yes agreed. Also as some values make sense only in cycles, converting them
back and forth to time is wrong. So at least some values should have an
option to specify them in cycles directly, and then ignore any time based
values.

Regards,

Tony



More information about the linux-arm-kernel mailing list