Change the way McBSP registers are maintained: store values written to the
device in a cache in order to make use of those cached values when
convenient.
This could help for developing the McBSP context save/restore features, as
well as solve the problem of possible register corruption, experienced on
OMAP1510 based Amstrad Delta board at least.
Series created against linux-omap for-next, commit
82f1d8f22f2c65e70206e40a6f17688bf64a892c.
All patches tested on OMAP1510 based Amstrad Delta and compile-tested using
omap_3430sdp_defconfig at least.
Janusz Krzysztofik (5):
OMAP: McBSP: Use macros for all register read/write operations
OMAP: McBSP: Modify macros/functions API for easy cache access
OMAP: McBSP: Introduce caching in register write operations
OMAP: McBSP: Use cache when modifying individual register bits
OMAP: McBSP: Split and move read/write functions to mach-omap1/2
arch/arm/mach-omap1/mcbsp.c | 28 +
arch/arm/mach-omap2/mcbsp.c | 42 ++
arch/arm/plat-omap/include/plat/mcbsp.h | 6
arch/arm/plat-omap/mcbsp.c | 470 +++++++++++++++-----------------
4 files changed, 292 insertions(+), 254 deletions(-)
Thanks,
Janusz
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html