USB: PHY: tegra: get rid of instance number to differentiate legacy controller
authorVenu Byravarasu <vbyravarasu@nvidia.com>
Wed, 16 Jan 2013 03:30:20 +0000 (03:30 +0000)
committerStephen Warren <swarren@nvidia.com>
Mon, 28 Jan 2013 18:20:05 +0000 (11:20 -0700)
commit3a55c6a8b96f055783a1b9d5497f66b56a9ea0d7
treeb0561c09cad4137bedb7b2626a60422462f50999
parent540fc9d971a6b38339dfcccb5364640b907ae423
USB: PHY: tegra: get rid of instance number to differentiate legacy controller

Tegra20 USB has 3 PHY instances. Instance 0 is based on
legacy PHY interface and other two are standard interfaces.

As instance number was used to differentiate legacy from
standard interfaces, used DT param to get this info and
processed accordingly.

Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
drivers/usb/phy/tegra_usb_phy.c
include/linux/usb/tegra_usb_phy.h