android_kernel_samsung_msm8976/Documentation/usb/gadget_smd.txt
Manu Gautam 0bd139a841 gadget: android: Add RMNET function drivers
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-09-04 14:51:07 -07:00

27 lines
1,001 B
Text

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