From: George Cherian Date: Wed, 12 Jun 2013 09:23:46 +0000 (+0530) Subject: usb: dwc3: omap: initialize the register offset values for omap5 and AM437x X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~78^2~60^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff7307b534258c8864c356d15c52a84d0a5fbb35;p=pandora-kernel.git usb: dwc3: omap: initialize the register offset values for omap5 and AM437x This patch Initializes the register offset values depending on the X_MAJOR of USBOTGSS_REVISION register. Also adds register offset defines and new debug register defines. X_MAJOR is 2 for both OMAP5 and AM437x. But both have different glue register layout. Differentiate AM437x using dt compatible. Register offsets are cached in dwc3_omap struct for reg reads and writes. Signed-off-by: George Cherian Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed