[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1439493140-22207-1-git-send-email-amit.pundir@linaro.org>
Date: Fri, 14 Aug 2015 00:42:18 +0530
From: Amit Pundir <amit.pundir@...aro.org>
To: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org, linux-api@...r.kernel.org
Cc: Mike Lockwood <lockwood@...roid.com>,
Benoit Goby <benoit@...roid.com>,
Colin Cross <ccross@...roid.com>,
Arve Hjønnevåg <arve@...roid.com>,
Peter Oh <poh@...adcom.com>,
Greg Hackmann <ghackmann@...gle.com>,
Badhri Jagan Sridharan <Badhri@...gle.com>,
Android Kernel Team <kernel-team@...roid.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jonathan Corbet <corbet@....net>, Felipe Balbi <balbi@...com>,
Andrzej Pietrasiewicz <andrzej.p@...sung.com>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Yegor Yefremov <yegorslists@...glemail.com>,
Philippe Reynes <tremyfr@...il.com>,
John Stultz <john.stultz@...aro.org>,
Sumit Semwal <sumit.semwal@...aro.org>
Subject: [RFC][PATCH 0/2] usb: gadget: add MTP function and Uevent userspace notifications
RFC on Android's ConfigFS based MTP function implementation and usage
of Uevents to notify the userspace about the USB state changes.
The MTP function is based on years of work originally done in the
Android kernel tree by:
Mike Lockwood <lockwood@...roid.com>
Benoit Goby <benoit@...roid.com>
Colin Cross <ccross@...roid.com>
Arve Hjønnevåg <arve@...roid.com>
Peter Oh <poh@...adcom.com>
Greg Hackmann <ghackmann@...gle.com>
Badhri Jagan Sridharan <Badhri@...gle.com>
The Uevent notification patch is more of an RFC than an actual
submission. It is based on Android patchset originaly authored by
Badhri to send uevent notifications to Android userpace for USB
state changes.
I've folded the series up to make it easier to review, provided a
coherent patch description and modified it enough that I don't want
them to be blamed for any mistakes I've made condensing their patches
down.
Thoughts and feedback would be appreciated.
Thanks,
Amit Pundir
Cc: Mike Lockwood <lockwood@...roid.com>
Cc: Benoit Goby <benoit@...roid.com>
Cc: Colin Cross <ccross@...roid.com>
Cc: Arve Hjønnevåg <arve@...roid.com>
Cc: Peter Oh <poh@...adcom.com>
Cc: Greg Hackmann <ghackmann@...gle.com>
Cc: Badhri Jagan Sridharan <Badhri@...gle.com>
Cc: Android Kernel Team <kernel-team@...roid.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Jonathan Corbet <corbet@....net>
Cc: Felipe Balbi <balbi@...com>
Cc: Andrzej Pietrasiewicz <andrzej.p@...sung.com>
Cc: Laurent Pinchart <laurent.pinchart@...asonboard.com>
Cc: Yegor Yefremov <yegorslists@...glemail.com>
Cc: Philippe Reynes <tremyfr@...il.com>
Cc: John Stultz <john.stultz@...aro.org>
Cc: Sumit Semwal <sumit.semwal@...aro.org>
Amit Pundir (2):
usb: gadget: configfs: add MTP function
usb: gadget: configfs: notify userspace of usb state changes
Documentation/ABI/testing/configfs-usb-gadget-mtp | 7 +
Documentation/usb/gadget-testing.txt | 24 +
drivers/usb/gadget/Kconfig | 21 +
drivers/usb/gadget/configfs.c | 201 ++-
drivers/usb/gadget/function/Makefile | 2 +
drivers/usb/gadget/function/f_mtp.c | 1365 +++++++++++++++++++++
include/linux/usb/f_mtp.h | 23 +
include/uapi/linux/usb/f_mtp.h | 61 +
8 files changed, 1702 insertions(+), 2 deletions(-)
create mode 100644 Documentation/ABI/testing/configfs-usb-gadget-mtp
create mode 100644 drivers/usb/gadget/function/f_mtp.c
create mode 100644 include/linux/usb/f_mtp.h
create mode 100644 include/uapi/linux/usb/f_mtp.h
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists