usb: otg-fsm: Add documentation for struct otg_fsm
authorRoger Quadros <rogerq@ti.com>
Wed, 30 Mar 2016 09:56:28 +0000 (12:56 +0300)
committerPeter Chen <peter.chen@nxp.com>
Wed, 6 Apr 2016 09:14:50 +0000 (17:14 +0800)
commitfa59507f720077a856c9952a31cfd45cd97ef6f9
treee2fbaa5216ce0c43c71029360cd31fde4ebe8eab
parent2b2fe36def086f0b721be2f34223cf662dd87902
usb: otg-fsm: Add documentation for struct otg_fsm

struct otg_fsm is the interface to the OTG state machine.

Document the input, output and internal state variables.
Definations are taken from Table 7-2 and Table 7-4 of
the USB OTG & EH Specification Rev.2.0

Re-arrange some of the members as per use case for more
clarity.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
include/linux/usb/otg-fsm.h