Skip to content
Commit 9b03ed2f authored by Neill Kapron's avatar Neill Kapron Committed by Carlos Llamas
Browse files

ANDROID: usb: gadget: Add Android Accessory Function

USB accessory mode allows users to connect USB host hardware
specifically designed for Android-powered devices. The accessories
must adhere to the Android accessory protocol outlined in the
http://accessories.android.com

 documentation. This allows
Android devices that cannot act as a USB host to still interact with
USB hardware. When an Android device is in USB accessory mode, the
attached Android USB accessory acts as the host, provides power
to the USB bus, and enumerates connected devices.

There are issues (especially with regards to reference counting) which
carry over from prior iterations of this driver, and therefore this
driver should not be used as an example for other development. For these
reasons, this patch is not eligible for android-mainline or future
android16+ branches.

Much of this functionality should be deprecated and removed.

Bug: 120441124
Bug: 317149848
Change-Id: I6b7b6e7b2a348da0d57487e82913de6fe19f2b6e
Signed-off-by: default avatarNeill Kapron <nkapron@google.com>
parent 07ebde8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment