From: Xander Huff <xander.huff@ni.com>
To: lars@metafoo.de, robh+dt@kernel.org, pawel.moll@arm.com,
mark.rutland@arm.com, ijc+devicetree@hellion.org.uk,
galak@codeaurora.org
Cc: michal.simek@xilinx.com, soren.brinkmann@xilinx.com,
jic23@kernel.org, knaack.h@gmx.de, pmeerw@pmeerw.net,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-iio@vger.kernel.org, ben.shelton@ni.com, joshc@ni.com,
joe.hershberger@ni.com, Xander Huff <xander.huff@ni.com>
Subject: [PATCH v2 1/2] devicetree: xilinx-xadc: Add optional label property
Date: Wed, 20 May 2015 10:22:31 -0500 [thread overview]
Message-ID: <1432135352-29848-1-git-send-email-xander.huff@ni.com> (raw)
In-Reply-To: <555B78A3.2030202@metafoo.de>
To better facilitate user-mode access to optional aux channels, allow
device trees to specify a custom label for defined channels.
Signed-off-by: Xander Huff <xander.huff@ni.com>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Josh Cartwright <joshc@ni.com>
---
Documentation/devicetree/bindings/iio/adc/xilinx-xadc.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/iio/adc/xilinx-xadc.txt b/Documentation/devicetree/bindings/iio/adc/xilinx-xadc.txt
index d71258e..19dcd96 100644
--- a/Documentation/devicetree/bindings/iio/adc/xilinx-xadc.txt
+++ b/Documentation/devicetree/bindings/iio/adc/xilinx-xadc.txt
@@ -68,6 +68,7 @@ Optional properties:
Note each channel number should only be used at most
once.
Optional properties:
+ * label: Custom label for the channel.
* xlnx,bipolar: If set the channel is used in bipolar
mode.
@@ -107,6 +108,7 @@ Examples:
#size-cells = <0>;
channel@0 {
reg = <0>;
+ label = "vin_v";
xlnx,bipolar;
};
};
--
1.9.1
next prev parent reply other threads:[~2015-05-20 15:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-07 22:44 [PATCH 1/2] devicetree: xilinx-xadc: Add optional xlnx,extend-name property Xander Huff
2015-05-07 22:44 ` [PATCH 2/2] iio: adc: xilinx-xadc: Add xlnx,extend-name as an optional argument for aux channels Xander Huff
2015-05-19 17:53 ` Lars-Peter Clausen
2015-05-20 15:22 ` Xander Huff [this message]
2015-05-20 15:22 ` [PATCH v2 2/2] iio: adc: xilinx-xadc: Add label " Xander Huff
2015-06-07 16:49 ` Jonathan Cameron
2015-06-08 13:49 ` Josh Cartwright
2015-06-14 11:20 ` Jonathan Cameron
2015-05-23 11:23 ` [PATCH 2/2] iio: adc: xilinx-xadc: Add xlnx,extend-name " Jonathan Cameron
2015-05-26 9:38 ` Lars-Peter Clausen
2015-05-26 19:05 ` Xander Huff
2015-05-08 18:43 ` [PATCH 1/2] devicetree: xilinx-xadc: Add optional xlnx,extend-name property Jonathan Cameron
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=1432135352-29848-1-git-send-email-xander.huff@ni.com \
--to=xander.huff@ni.com \
--cc=ben.shelton@ni.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=jic23@kernel.org \
--cc=joe.hershberger@ni.com \
--cc=joshc@ni.com \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=michal.simek@xilinx.com \
--cc=pawel.moll@arm.com \
--cc=pmeerw@pmeerw.net \
--cc=robh+dt@kernel.org \
--cc=soren.brinkmann@xilinx.com \
/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;
as well as URLs for NNTP newsgroup(s).