From patchwork Thu Aug 6 15:58:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanchayan X-Patchwork-Id: 6960951 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 73F949F38B for ; Thu, 6 Aug 2015 16:04:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6F511206F6 for ; Thu, 6 Aug 2015 16:04:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 847C4206F1 for ; Thu, 6 Aug 2015 16:04:07 +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 1ZNNcE-0004fj-EP; Thu, 06 Aug 2015 16:01:58 +0000 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZNNcA-0004cV-Ad for linux-arm-kernel@lists.infradead.org; Thu, 06 Aug 2015 16:01:55 +0000 Received: by wibhh20 with SMTP id hh20so30608114wib.0 for ; Thu, 06 Aug 2015 09:01:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=jrKeRqDzuL1rIotYNfJFrnGgaSTat2d7f4+a2IjAfxE=; b=xisRl8ZhCThux1M7ayd91eoZjBfRnur81Vsekm+K4j23aU2wFAgpM94zLyvGuWikNH RQiIZQhn2siIdCBIqo3/ZupJRT/1nHPdZsmj0zcXFL8YuHTv7ARxB4AKDgYCXLs/Zp6Y xAU4UGkoeKShh7wv37chust4+Upg49TUFittYV+6MzNRzIyI8F9FA301MB7j0WK4i124 5ug1lH82LlbPG329BZ10GI+VrjNR5j8GaZISgHniYHEjUZGZkbP+xUC2QXOGunbWUrbL rDpOwx6H9L96EievO0FjDj7TYMATXKIMod+YPjFMpSGxl7RIZcvIcBWyFu97/SVZVTuc nkKA== X-Received: by 10.195.11.3 with SMTP id ee3mr4698925wjd.89.1438876892523; Thu, 06 Aug 2015 09:01:32 -0700 (PDT) Received: from localhost ([46.140.72.82]) by smtp.gmail.com with ESMTPSA id gt10sm3973652wib.20.2015.08.06.09.01.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Aug 2015 09:01:31 -0700 (PDT) From: Sanchayan Maity To: shawnguo@kernel.org Subject: [PATCH] ARM: dts: vfxxx: Add iio_hwmon node for ADC temperature channel Date: Thu, 6 Aug 2015 21:28:22 +0530 Message-Id: X-Mailer: git-send-email 2.5.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150806_090154_628755_2DA6C05A X-CRM114-Status: UNSURE ( 9.82 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Sanchayan Maity , linux-arm-kernel@lists.infradead.org, stefan@agner.ch, linux-kernel@vger.kernel.org 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, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 Add iio_hwmon node to expose the temperature channel on Vybrid as hardware monitor device using the iio_hwmon driver. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index 39173bb..0993d66 100644 --- a/arch/arm/boot/dts/vfxxx.dtsi +++ b/arch/arm/boot/dts/vfxxx.dtsi @@ -597,5 +597,10 @@ status = "disabled"; }; }; + + iio_hwmon { + compatible = "iio-hwmon"; + io-channels = <&adc0 16>; + }; }; };