usb: gadget: accessory: Add Android Accessory function
authorBenoit Goby <benoit@android.com>
Mon, 19 Dec 2011 22:39:37 +0000 (14:39 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:52 +0000 (13:51 -0800)
commit272014a78e113afcdda4aa0b2dd6d386c7523df7
treea222e488c8ecab163bb957687b7b01673cbf9538
parent75636fb2197792d1d03dfcc52e04a4d5d6d0b8aa
usb: gadget: accessory: 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.

Change-Id: I67964b50d278f3c0471d47efbb7b0973a3502681
Signed-off-by: Mike Lockwood <lockwood@android.com>
drivers/usb/gadget/f_accessory.c [new file with mode: 0644]
include/linux/usb/f_accessory.h [new file with mode: 0644]