From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755358AbcECDQH (ORCPT ); Mon, 2 May 2016 23:16:07 -0400 Received: from mga14.intel.com ([192.55.52.115]:61811 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755338AbcECDQF (ORCPT ); Mon, 2 May 2016 23:16:05 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,570,1455004800"; d="scan'208";a="96028625" 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" , Du@vger.kernel.org, Changbin Subject: [PATCH 2/2] Documentation: gadget_configfs: update UDC binding Date: Tue, 3 May 2016 11:04:25 +0800 Message-Id: <1462244665-27681-3-git-send-email-changbin.du@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1462244665-27681-1-git-send-email-changbin.du@intel.com> References: <1462244665-27681-1-git-send-email-changbin.du@intel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Du, Changbin" Add the usage of new binding mode 'any'. $ echo any > UDC Signed-off-by: Du, Changbin Signed-off-by: Du, Changbin --- 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 -where is one of those found in /sys/class/udc/* +where 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