]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit97fe6648128f9909a8cc86c8e94ce7e322774bf5
tree941ced0bc9bd90178734f71b24a748d8a6b4c35d
parentb383bb7e7163965227db64f18874961c5832e90f
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