ARM: OMAP5/DRA7: Split iodelay functionality into sub steps
authorNishanth Menon <nm@ti.com>
Tue, 15 Mar 2016 23:09:15 +0000 (18:09 -0500)
committerTom Rini <trini@konsulko.com>
Sun, 27 Mar 2016 13:12:15 +0000 (09:12 -0400)
commitceb7d77d6f81e63af6e7af83f8d58b2ac4fc8b9d
tree121ca648aba68d557ebf1723209b9a43ca021285
parent6b1c14bb67b261be3b4045e8ce124314a2720ec5
ARM: OMAP5/DRA7: Split iodelay functionality into sub steps

Since many platforms may need different pad configuration required
depending on variation of the platform with minor deltas, it is
easier to maintain a sub step based approach to allow for pin mux
and iodelay configuration which may depend on the platform variations
and need to be done in IO isolation.

While we retain the older __recalibrate_iodelay function which provides
a ready sequencing, __recalibrate_iodelay_start and
__recalibrate_iodelay_end may be alternatively used now and the callers
will be responsible for the correct sequencing of operations.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/omap5/dra7xx_iodelay.c
arch/arm/include/asm/arch-omap5/dra7xx_iodelay.h