phy-rcar-usb: add platform data
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 1 Jun 2013 21:52:28 +0000 (01:52 +0400)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 11 Jun 2013 07:10:48 +0000 (16:10 +0900)
commit6a82e2a83e568dc121326b4bab24035ce7a2f50e
tree43a0193fbe852dd0ccc0058eca9c40d692b74a63
parent725bf9dcafe16aa69c8ab34c63ba36c6eb4492f2
phy-rcar-usb: add platform data

Currently the driver hard-codes  USBPCTRL0 register to 0. It is wrong since this
register contains board-specific USB ports configuration and so its value should
be somehow passed via the platform data.  Add the global header file containing
'struct rcar_phy_platform_data' consisting of the various bit fields describing
USB ports' pin configuration.

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>
include/linux/platform_data/usb-rcar-phy.h [new file with mode: 0644]