Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753424AbbDQWOl (ORCPT ); Fri, 17 Apr 2015 18:14:41 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:36586 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751275AbbDQWOj (ORCPT ); Fri, 17 Apr 2015 18:14:39 -0400 Date: Sat, 18 Apr 2015 00:14:36 +0200 From: Pavel Machek To: NeilBrown Cc: Kishon Vijay Abraham I , Tony Lindgren , GTA04 owners , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/6] phy: twl4030-usb: add ABI documentation Message-ID: <20150417221436.GA11429@amd> References: <20150416075945.23307.24424.stgit@notabene.brown> <20150416080304.23307.7824.stgit@notabene.brown> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150416080304.23307.7824.stgit@notabene.brown> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1407 Lines: 38 On Thu 2015-04-16 18:03:04, NeilBrown wrote: > From: NeilBrown > > This driver device one local attribute: vbus. > Describe that in Documentation/ABI/testing/sysfs-platform/twl4030-usb. > > Signed-off-by: NeilBrown > --- > .../ABI/testing/sysfs-platform-twl4030-usb | 8 ++++++++ > 1 file changed, 8 insertions(+) > create mode 100644 Documentation/ABI/testing/sysfs-platform-twl4030-usb > > diff --git a/Documentation/ABI/testing/sysfs-platform-twl4030-usb b/Documentation/ABI/testing/sysfs-platform-twl4030-usb > new file mode 100644 > index 000000000000..512c51be64ae > --- /dev/null > +++ b/Documentation/ABI/testing/sysfs-platform-twl4030-usb > @@ -0,0 +1,8 @@ > +What: /sys/bus/platform/devices/*twl4030-usb/vbus > +Description: > + Read-only status reporting if VBUS (approx 5V) > + is being supplied by the USB bus. > + > + Possible values: "on", "off". Would bit be better to have values "0" and "1"? Kernel usually does that for booleans... Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/