소스 검색

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>
Felipe Balbi 8 년 전
부모
커밋
82d9d5e0c0
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      drivers/phy/ti/phy-tusb1210.c

+ 2 - 1
drivers/phy/ti/phy-tusb1210.c

@@ -124,7 +124,8 @@ static void tusb1210_remove(struct ulpi *ulpi)
 #define TI_VENDOR_ID 0x0451
 #define TI_VENDOR_ID 0x0451
 
 
 static const struct ulpi_device_id tusb1210_ulpi_id[] = {
 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);
 MODULE_DEVICE_TABLE(ulpi, tusb1210_ulpi_id);