phy-rcar-usb: correct base address
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 1 Jun 2013 21:50:25 +0000 (01:50 +0400)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 11 Jun 2013 07:10:47 +0000 (16:10 +0900)
commit725bf9dcafe16aa69c8ab34c63ba36c6eb4492f2
tree6e55071261b8d7c95233c7df904865bf4427aba3
parentbb6e7d61dd95153c8c5d0ee52f303e0f475b736e
phy-rcar-usb: correct base address

The memory region that is used by the driver overlaps EHCI and OHCI  register
regions for absolutely no reason now  -- fix it  by adding offset of 0x800 to
the base address, changing the register #define's accordingly. This has extra
positive effect that we now can use devm_ioremap_resource()...

Note that the driver and the SoC code have to be in one patch to keep the code
bisectable...

The patch has been tested on the Marzen board.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-r8a7779.c
drivers/usb/phy/phy-rcar-usb.c