M7350/kernel/Documentation/usb/gadget_smd.txt

28 lines
1001 B
Plaintext
Raw Normal View History

2024-09-09 08:52:07 +00:00
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.