usb: chipidea: add sys inputs for OTG fsm input
authorLi Jun <b47624@freescale.com>
Wed, 23 Apr 2014 07:56:51 +0000 (15:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Apr 2014 19:56:35 +0000 (12:56 -0700)
commit15f75defacd3da412d4c9823d4a9c9f410923766
tree297e0ef987b934927671eeba88eb67339dba471b
parent4dcf720c5d40b27c916e7115ad75b335c9c1e264
usb: chipidea: add sys inputs for OTG fsm input

This patch adds sys input to control and show OTG fsm inputs by application,
user can do host and preipheral role switch by change these inputs.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Li Jun <b47624@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/otg.c
drivers/usb/chipidea/otg_fsm.c
drivers/usb/chipidea/otg_fsm.h