public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hwmon: (ads1015) Add devicetree documentation
@ 2011-03-03  9:16 Dirk Eibach
  2011-03-03 11:51 ` Wolfram Sang
  0 siblings, 1 reply; 11+ messages in thread
From: Dirk Eibach @ 2011-03-03  9:16 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-doc, rdunlap, devicetree-discuss, w.sang, khali,
	Dirk Eibach

Signed-off-by: Dirk Eibach <eibach@gdsys.de>
---
 Documentation/devicetree/bindings/i2c/ads1015.txt |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/i2c/ads1015.txt

diff --git a/Documentation/devicetree/bindings/i2c/ads1015.txt b/Documentation/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 which
+		       inputs should be exported to sysfs.
+
+Example:
+ads1015@49 {
+	compatible = "ti,ads1015";
+	reg = <0x49>;
+	exported-channels = <0x14>;
+};
+
+In this example only in2_input and in4_input would be created.
-- 
1.5.6.5


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-03-17 16:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-03  9:16 [PATCH] hwmon: (ads1015) Add devicetree documentation Dirk Eibach
2011-03-03 11:51 ` Wolfram Sang
2011-03-03 12:20   ` Jean Delvare
2011-03-03 13:25     ` Wolfram Sang
2011-03-03 17:26       ` Grant Likely
2011-03-03 22:02         ` Jean Delvare
2011-03-03 22:09           ` Grant Likely
2011-03-17 10:25             ` Jean Delvare
2011-03-17 16:46               ` Grant Likely
2011-03-03 17:01     ` Grant Likely
2011-03-03 12:32   ` [PATCH v3] " Dirk Eibach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox