blob: 18b93d8ff31c26c5745cc9f7d521aa4cb64ac462 [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001Introduction
2============
3
4Gadget serial driver is divided into two parts.
51. f_serial.c : Interacts with USB Gadget Layer
62. u_serial.c : Interacts with TTY Layer
7
8Gadget smd driver adds capability to interact with smd layer in
9case modem device is inter-connected with smd interface.
10
11S/W Description
12===============
13Gadget smd driver is a simple bridge driver between usb serial
14gadget and smd abstraction layer. It registers with smd
15abstraction layer with notification call back and provides
16USB connect/disconnect call backs usb gadget serial driver.
17
18
19S/W Control Flow:
20=================
21USB SMD driver registers w/ SMD driver and provides notification
22call back. SMD Driver calls this call back whenever DATA is available
23to read, buffer is available to write or modem control signals changed.
24Upon receiving notification from SMD driver, USB driver appropriately
25schedules read/write works. In case of control singals, USB driver
26notifies gadget component with changed control information.
27