Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757962Ab1CCLv7 (ORCPT ); Thu, 3 Mar 2011 06:51:59 -0500 Received: from metis.ext.pengutronix.de ([92.198.50.35]:33920 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757762Ab1CCLv5 (ORCPT ); Thu, 3 Mar 2011 06:51:57 -0500 Date: Thu, 3 Mar 2011 12:51:51 +0100 From: Wolfram Sang To: Dirk Eibach Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, rdunlap@xenotime.net, devicetree-discuss@lists.ozlabs.org, khali@linux-fr.org Subject: Re: [PATCH] hwmon: (ads1015) Add devicetree documentation Message-ID: <20110303115151.GF3649@pengutronix.de> References: <1299143805-13133-1-git-send-email-eibach@gdsys.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5Mfx4RzfBqgnTE/w" Content-Disposition: inline In-Reply-To: <1299143805-13133-1-git-send-email-eibach@gdsys.de> User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: 2001:6f8:1178:2:221:70ff:fe71:1890 X-SA-Exim-Mail-From: w.sang@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1973 Lines: 61 --5Mfx4RzfBqgnTE/w Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 03, 2011 at 10:16:45AM +0100, Dirk Eibach wrote: > Signed-off-by: Dirk Eibach > --- > Documentation/devicetree/bindings/i2c/ads1015.txt | 15 +++++++++++++++ > 1 files changed, 15 insertions(+), 0 deletions(-) > create mode 100644 Documentation/devicetree/bindings/i2c/ads1015.txt >=20 > diff --git a/Documentation/devicetree/bindings/i2c/ads1015.txt b/Document= ation/devicetree/bindings/i2c/ads1015.txt > new file mode 100644 > index 0000000..3a7d67a > --- /dev/null > +++ b/Documentation/devicetree/bindings/i2c/ads1015.txt > @@ -0,0 +1,15 @@ > +ADS1015 (I2C) > + > +Optional properties: > + > + - exported-channels : exported_channels is a bitmask that specifies whi= ch > + inputs should be exported to sysfs. Hmm, device tree bindings should be OS-neutral, sysfs is not. Maybe "active-channels" would be better; then the OS could decide what to do with the active channels. Then again, what is the drawback of exporting all channels? Is there another hwmon-driver doing so (couldn't find one)? Regards, Wolfram --=20 Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ | --5Mfx4RzfBqgnTE/w Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1vgNcACgkQD27XaX1/VRvkIACZAaLxtgm8KgjKOnoqQM9skwDG uDwAoIhgJTes0oEt3ojx8aZKjgG3CAoq =Mrgf -----END PGP SIGNATURE----- --5Mfx4RzfBqgnTE/w-- -- 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/