usb: chipidea: add identification registers access APIs
authorPeter Chen <peter.chen@freescale.com>
Wed, 11 Feb 2015 04:44:54 +0000 (12:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 15:19:10 +0000 (16:19 +0100)
commit655d32e9b2b2b912ff86de656eb620627b0df117
tree941ced0bc9bd90178734f71b24a748d8a6b4c35d
parent8721a752cc1bf61be0a0d3f266abd71a270d3a38
usb: chipidea: add identification registers access APIs

Using hw_write_id_reg and hw_read_id_reg to write and read identification
registers contents, they can be used to get controller information, change
some system configurations, and so on.

Reviewed-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci.h