summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2017-06-09 13:20:41 +0300
committerKishon Vijay Abraham I <kishon@ti.com>2017-06-09 17:39:39 +0530
commit82d9d5e0c0f9d22decacbca25ec53782140c8bb9 (patch)
treeb087edae584b26242e8c83766fd9fc39dda7d75f
parent7c7356bab8e85c8d2e335752dcb89d94fe10d660 (diff)
downloadlinux-82d9d5e0c0f9d22decacbca25ec53782140c8bb9.tar.bz2
phy: tusb1210: add support for TUSB1211
TUSB1211 is software compatible with TUSB1210 and as such we don't need an entire new driver to control it. Let's add its product ID to the existing TUSB1210 driver instead. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
-rw-r--r--drivers/phy/ti/phy-tusb1210.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/phy/ti/phy-tusb1210.c b/drivers/phy/ti/phy-tusb1210.c
index bb3fb031c478..5dbb9a7b4945 100644
--- a/drivers/phy/ti/phy-tusb1210.c
+++ b/drivers/phy/ti/phy-tusb1210.c
@@ -124,7 +124,8 @@ static void tusb1210_remove(struct ulpi *ulpi)
#define TI_VENDOR_ID 0x0451
static const struct ulpi_device_id tusb1210_ulpi_id[] = {
- { TI_VENDOR_ID, 0x1507, },
+ { TI_VENDOR_ID, 0x1507, }, /* TUSB1210 */
+ { TI_VENDOR_ID, 0x1508, }, /* TUSB1211 */
{ },
};
MODULE_DEVICE_TABLE(ulpi, tusb1210_ulpi_id);