Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1393004 > unrolled thread

[PATCH 2/2] Documentation: gadget_configfs: update UDC binding

Started bychangbin.du@intel.com
First post2016-05-03 05:20 +0200
Last post2016-05-03 05:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/2] Documentation: gadget_configfs: update UDC binding changbin.du@intel.com - 2016-05-03 05:20 +0200

#1393004 — [PATCH 2/2] Documentation: gadget_configfs: update UDC binding

Fromchangbin.du@intel.com
Date2016-05-03 05:20 +0200
Subject[PATCH 2/2] Documentation: gadget_configfs: update UDC binding
Message-ID<ruz2p-4U-7@gated-at.bofh.it>
From: "Du, Changbin" <changbin.du@gmail.com>

Add the usage of new binding mode 'any'.
$ echo any > UDC

Signed-off-by: Du, Changbin <changbin.du@gmail.com>
Signed-off-by: Du, Changbin <changbin.du@intel.com>
---
 Documentation/usb/gadget_configfs.txt | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Documentation/usb/gadget_configfs.txt b/Documentation/usb/gadget_configfs.txt
index 635e574..1edeb4f 100644
--- a/Documentation/usb/gadget_configfs.txt
+++ b/Documentation/usb/gadget_configfs.txt
@@ -205,11 +205,13 @@ In order to enable the gadget it must be bound to a UDC (USB Device Controller).
 
 $ echo <udc name> > UDC
 
-where <udc name> is one of those found in /sys/class/udc/*
+where <udc name> is one of those found in /sys/class/udc/* or "any" if you
+doesn't care about which controller to bind.
 e.g.:
 
 $ echo s3c-hsotg > UDC
-
+or
+$ echo any > UDC
 
 6. Disabling the gadget
 -----------------------
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web