From patchwork Wed May 20 15:22:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xander Huff X-Patchwork-Id: 6447551 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6A25D9F444 for ; Wed, 20 May 2015 15:29:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 95031202FE for ; Wed, 20 May 2015 15:29:12 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CB3BD20295 for ; Wed, 20 May 2015 15:29:11 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yv5sf-0003p2-5n; Wed, 20 May 2015 15:26:01 +0000 Received: from skprod3.natinst.com ([130.164.80.24] helo=ni.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yv5qA-0000fy-PA for linux-arm-kernel@lists.infradead.org; Wed, 20 May 2015 15:23:27 +0000 Received: from us-aus-mgwout2.amer.corp.natinst.com (nb-snip2-1338.natinst.com [130.164.19.135]) by us-aus-skprod3.natinst.com (8.15.0.59/8.15.0.59) with ESMTP id t4KFMjXN032367; Wed, 20 May 2015 10:22:45 -0500 Received: from xander-mint.amer.corp.natinst.com ([130.164.14.198]) by us-aus-mgwout2.amer.corp.natinst.com (Lotus Domino Release 8.5.3FP6 HF1218) with ESMTP id 2015052010224513-249427 ; Wed, 20 May 2015 10:22:45 -0500 From: Xander Huff To: lars@metafoo.de, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org Subject: [PATCH v2 1/2] devicetree: xilinx-xadc: Add optional label property Date: Wed, 20 May 2015 10:22:31 -0500 Message-Id: <1432135352-29848-1-git-send-email-xander.huff@ni.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <555B78A3.2030202@metafoo.de> References: <555B78A3.2030202@metafoo.de> X-MIMETrack: Itemize by SMTP Server on US-AUS-MGWOut2/AUS/H/NIC(Release 8.5.3FP6 HF1218|December 12, 2014) at 05/20/2015 10:22:45 AM, Serialize by Router on US-AUS-MGWOut2/AUS/H/NIC(Release 8.5.3FP6 HF1218|December 12, 2014) at 05/20/2015 10:22:45 AM, Serialize complete at 05/20/2015 10:22:45 AM X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2015-05-20_05:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150520_082327_061302_323BD264 X-CRM114-Status: UNSURE ( 6.46 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Xander Huff , joe.hershberger@ni.com, linux-iio@vger.kernel.org, joshc@ni.com, michal.simek@xilinx.com, ben.shelton@ni.com, soren.brinkmann@xilinx.com, pmeerw@pmeerw.net, knaack.h@gmx.de, jic23@kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Joe Hershberger Reviewed-by: Josh Cartwright --- 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; }; };