mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 02:21:16 +00:00
0bd139a841
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
27 lines
1,001 B
Text
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.
|
|
|