phy: tusb1210: add support for TUSB1211
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 9 Jun 2017 10:20:41 +0000 (13:20 +0300)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 9 Jun 2017 12:09:39 +0000 (17:39 +0530)
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>
drivers/phy/ti/phy-tusb1210.c

index bb3fb03..5dbb9a7 100644 (file)
@@ -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);