]> git.baikalelectronics.ru Git - kernel.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)
commit0f6aae19e8deac758e1da58e653006c7a71216f2
tree0eb9a5537123f3a79c0b87a2c811b1ae2f97815e
parent96285de9b82abe6857671e9c95198d5287224b87
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]