]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: OMAP2+: HDQ1W: add custom reset function
authorPaul Walmsley <paul@pwsan.com>
Tue, 8 May 2012 17:34:27 +0000 (11:34 -0600)
committerPaul Walmsley <paul@pwsan.com>
Tue, 8 May 2012 23:25:36 +0000 (17:25 -0600)
commit9e1b7498d79ab9076791807172d4603c7be63c1b
tree0eb9a5537123f3a79c0b87a2c811b1ae2f97815e
parentad1b6662eb5fe293e8b402497b3835710848c389
ARM: OMAP2+: HDQ1W: add custom reset function

Implement a custom reset function for the HDQ1W IP block.  This is
because the HDQ1W IP block, like I2C, has an internal clock gating bit
that needs to be toggled after setting the SOFTRESET bit to allow the
reset to propagate.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: NeilBrown <neilb@suse.de>
Cc: Avinash.H.M <avinashhm@ti.com>
Tested-by: NeilBrown <neilb@suse.de>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/hdq1w.c [new file with mode: 0644]
arch/arm/plat-omap/include/plat/hdq1w.h [new file with mode: 0644]