From patchwork Tue Feb 16 05:00:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanchayan X-Patchwork-Id: 8321031 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0A0A9C02AA for ; Tue, 16 Feb 2016 05:08:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3BB99202BE for ; Tue, 16 Feb 2016 05:08:32 +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 6CE5A2025A for ; Tue, 16 Feb 2016 05:08:31 +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 1aVXqx-00038R-7s; Tue, 16 Feb 2016 05:07:11 +0000 Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aVXqY-0002r0-JE for linux-arm-kernel@lists.infradead.org; Tue, 16 Feb 2016 05:06:47 +0000 Received: by mail-pa0-x22a.google.com with SMTP id yy13so96540790pab.3 for ; Mon, 15 Feb 2016 21:06:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=T+wkpCT/HSIRJNMQoMTcQNFwUc0kl5tv+I1uhaeWxYw=; b=OxPd55s+wP5t0JeWpwt740t2lPP7XuhLayQAXWR3v+yJ6I+qYikCHMBJPouEDSp4jQ 2zMbiojDfEXTWNyqDBrLT1XEyIgjJa/1kOdi4v/RHKdUepyCREk8JktKsXyzGPX+kF8m SOLj//eeVS5TUX3+yZ408vZrm5uxW/Ab+XMjg9+Jg04ln5lckgo2jJd2iJLJef27Zt2z jOB4zzIjsZ+ESfoKEbfsueZzI3QeFn2do3tKsyvsFj6+v1eMD8VztnnBtufZM8ZWsu/M 3mV8SckTdlCD+4v08xhA3BTCqLZvO6n5UgA/c9VU/FR/lqI460YEyEqIRN+UNq3maC6p Dw4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=T+wkpCT/HSIRJNMQoMTcQNFwUc0kl5tv+I1uhaeWxYw=; b=EuhC3EsYqfUa4K4LDQ0tO8amVoPGIVi9jf1wEfWZjkrEa8rkju6nvkVGA4M4xXOQsv Seg7bhkS4qY8tNiVOeZfwjVYtQhT8DIXdJU/L2UBTmuzHXDai9LFXzGDB4nvw3P3LT1q yrft/K8gga9qJHprf44ARIpplXI+GVDBM6Eu5HPSPYxmg0pSBWyGOgz0qzslWW0NsJZX fT4B447Eq7YSXDO6IgXF3qO8lIM04W6foPkTt7fyDa5i9qDHWBT+amaH0ilgAX7UDLa7 JT7basYEzxHNszQjhdb/bttdlYrR6zIu6Pof7KyHIlj8ADrWtHMjtHeJgwmdCS7lHT7e 3EBA== X-Gm-Message-State: AG10YORjPGsJfkPhG2v/xCuahBfXMH00Fi/n7v0Kzfxg05evGh0U0TSz3DB+w6cc1QQifA== X-Received: by 10.66.189.165 with SMTP id gj5mr28455454pac.157.1455599187000; Mon, 15 Feb 2016 21:06:27 -0800 (PST) Received: from localhost ([115.115.225.206]) by smtp.gmail.com with ESMTPSA id u64sm42075209pfa.86.2016.02.15.21.06.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Feb 2016 21:06:25 -0800 (PST) From: Sanchayan Maity To: linux@roeck-us.net, shawnguo@kernel.org Subject: [PATCH v3 3/3] ARM: dts: vfxxx: Add iio_hwmon node for ADC temperature channel Date: Tue, 16 Feb 2016 10:30:55 +0530 Message-Id: <88b677c3ab62d965b70846618fe566523f95c9bb.1455597464.git.maitysanchayan@gmail.com> X-Mailer: git-send-email 2.7.1 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160215_210646_793530_C6562D3E X-CRM114-Status: UNSURE ( 9.32 ) 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, jdelvare@suse.com, linux-kernel@vger.kernel.org, stefan@agner.ch, lm-sensors@lm-sensors.org, Sanchayan Maity , linux-arm-kernel@lists.infradead.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.1 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 Acked-by: Stefan Agner --- 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 a5f07e3..24ac5b1 100644 --- a/arch/arm/boot/dts/vfxxx.dtsi +++ b/arch/arm/boot/dts/vfxxx.dtsi @@ -673,5 +673,10 @@ status = "disabled"; }; }; + + iio-hwmon { + compatible = "iio-hwmon"; + io-channels = <&adc0 16>, <&adc1 16>; + }; }; };