summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/hdq1w.c
Commit message (Collapse)AuthorAgeFilesLines
* ARM: OMAP2+: HDQ1W: use omap_devicePaul Walmsley2012-06-211-0/+26
| | | | | | | | | | | | | | | | Convert the old-style device registration code for HDQ1W to use omap_device. This will allow the driver to be converted to use PM runtime and to take advantage of the OMAP IP block management infrastructure (hwmod, PM, etc.). A side benefit of this conversion is that it also makes the HDQ device available on OMAP2420. The previous code only enabled it on 2430 and 3430. Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: NeilBrown <neilb@suse.de> Tested-by: NeilBrown <neilb@suse.de>
* ARM: OMAP2+: HDQ1W: add custom reset functionPaul Walmsley2012-05-081-0/+72
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>
OpenPOWER on IntegriCloud