public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: changbin.du@intel.com
To: balbi@kernel.org
Cc: gregkh@linuxfoundation.org, corbet@lwn.net,
	linux-usb@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org, "Du,
	Changbin" <changbin.du@gmail.com>,
	Du@vger.kernel.org, Changbin <changbin.du@intel.com>
Subject: [PATCH 2/2] Documentation: gadget_configfs: update UDC binding
Date: Tue,  3 May 2016 11:04:25 +0800	[thread overview]
Message-ID: <1462244665-27681-3-git-send-email-changbin.du@intel.com> (raw)
In-Reply-To: <1462244665-27681-1-git-send-email-changbin.du@intel.com>

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

      parent reply	other threads:[~2016-05-03  3:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-03  3:04 [PATCH 0/2] Add binding rule *any* support for USB Gadget Configfs changbin.du
2016-05-03  3:04 ` [PATCH 1/2] usb: configfs: allow UDC binding rule configured as binding to *any* UDC changbin.du
2016-05-04  8:14   ` Krzysztof Opasiak
2016-05-05  5:46     ` Du, Changbin
2016-05-05  7:31       ` Krzysztof Opasiak
2016-05-06  2:46         ` Du, Changbin
2016-05-06  5:49           ` Krzysztof Opasiak
2016-06-04 20:56   ` Pavel Machek
2016-06-06  2:21     ` Du, Changbin
2016-05-03  3:04 ` changbin.du [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1462244665-27681-3-git-send-email-changbin.du@intel.com \
    --to=changbin.du@intel.com \
    --cc=Du@vger.kernel.org \
    --cc=balbi@kernel.org \
    --cc=changbin.du@gmail.com \
    --cc=corbet@lwn.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox