[PATCH v2 0/3] Adding AM437x support to dwc3-omap glue

From: George Cherian
Date: Wed Jun 12 2013 - 05:24:24 EST


Initial patch set to add support for dwc3 in am437x platform.
This patch series addresses the regiter map differences between
OMAP5 and AM437x, to re-use the same driver.

AM437x and OMAP5 dwc3 subsytem have different register map.
Major differences are as follows.

OMAP5 has one main interrupt and one misc interrupt
Aegis has four main interrupts and one misc interrupt.

Miscellanous Interrupt offsets are changed.
UTMI OTG Control and Status Registers offsets are changed.
DEBUG Configuration and Status Registers are changed.

The main intend of the patch is to re-use the same wrapper driver
for both OMAP5 and AM437x, by using the x_major in revision
register and adjusting the offsets.

changes from v1:
- Added compatible for AM437X since x_major is same for OMAP5 and AM437x
- Added proper wrappers to dwc3_omap_readl/writel


George Cherian (3):
usb: dwc3: omap: Adding am437x specific register map changes
usb: dwc3: omap: Intialize the register offset values for OMAP5 and
AM437x
usb: dwc3: omap: Adds dwc3_omap_readl/writel wrappers

drivers/usb/dwc3/dwc3-omap.c | 234 ++++++++++++++++++++++++++++++++-----------
1 file changed, 178 insertions(+), 56 deletions(-)

--
1.8.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/