usb: dwc3: omap: Adds dwc3_omap_readl/writel wrappers
authorGeorge Cherian <george.cherian@ti.com>
Wed, 12 Jun 2013 09:23:47 +0000 (14:53 +0530)
committerFelipe Balbi <balbi@ti.com>
Wed, 12 Jun 2013 20:57:13 +0000 (23:57 +0300)
commitb1fd6cb5ee2f97a553d1c4b8a88914bd970daf37
tree1914628bc04ac0b30eaca3a3097330a8b99366dd
parentff7307b534258c8864c356d15c52a84d0a5fbb35
usb: dwc3: omap: Adds dwc3_omap_readl/writel wrappers

This patch adds wrappers to dwc3_omap_readl/writel calls to accomodate
both OMAP5 and AM437x reg maps (It uses the cached register offsets).
Also renames OMAP5 IRQ1 as IRQMISC and IRQ1 bits as IRQMISC bits.

Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-omap.c