usb: isp1760: add peripheral/device controller chip id
authorSudeep Holla <sudeep.holla@arm.com>
Thu, 26 Feb 2015 11:47:57 +0000 (11:47 +0000)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:24 +0000 (15:33 -0500)
commitab7580c1479f9cc9d6a70a5184687a4d807fc612
tree94202d0ee42ba432cf41fdad7b8eb4390ba78ca4
parentadf9c3c85615f41c08559086e0d9ecdc6cc9db71
usb: isp1760: add peripheral/device controller chip id

As per the SAF1761 data sheet[0], the DcChipID register represents
the hardware version number (0001h) and the chip ID (1582h) for the
Peripheral Controller.

However as per the ISP1761 data sheet[1], the DcChipID register
represents the hardware version number (0015h) and the chip ID (8210h)
for the Peripheral Controller.

This patch adds support for both the chip ID values.

[0] http://www.nxp.com/documents/data_sheet/SAF1761.pdf
[1] http://pdf.datasheetcatalog.com/datasheets2/74/742102_1.pdf

Cc: Felipe Balbi <balbi@ti.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/isp1760/isp1760-udc.c