USB: PHY: tegra: Get rid of instance number to differentiate PHY type
authorVenu Byravarasu <vbyravarasu@nvidia.com>
Wed, 16 Jan 2013 03:30:21 +0000 (03:30 +0000)
committerStephen Warren <swarren@nvidia.com>
Mon, 28 Jan 2013 18:20:05 +0000 (11:20 -0700)
commit3f9db1a19a8a17f6000973194c6a1d63c5cebf21
tree6e5c67835b165d579cf94c35ca878a096cdca564
parent3a55c6a8b96f055783a1b9d5497f66b56a9ea0d7
USB: PHY: tegra: Get rid of instance number to differentiate PHY type

Tegra20 USB has 3 PHY instances:
Instance 1 and 3 are UTMI. Instance 2 is ULPI.

As instance number was used to differentiate ULPI from UTMI,
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>
[swarren: moved assignment of phy->is_ulpi_phy into this patch out
of next patch.]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
drivers/usb/phy/tegra_usb_phy.c
include/linux/usb/tegra_usb_phy.h