gadget_smd.txt 1001 B

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