From patchwork Sun Feb 28 22:30:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Baker X-Patchwork-Id: 8448131 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 477DDC0553 for ; Sun, 28 Feb 2016 22:39:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7F14B20266 for ; Sun, 28 Feb 2016 22:39:43 +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 B21F420166 for ; Sun, 28 Feb 2016 22:39:42 +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 1aa9yb-0002Mh-R7; Sun, 28 Feb 2016 22:38:09 +0000 Received: from avasout06.plus.net ([212.159.14.18]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aa9yJ-00024J-1n for linux-arm-kernel@lists.infradead.org; Sun, 28 Feb 2016 22:37:52 +0000 Received: from debian.baker-net.org.uk ([212.159.113.184]) by avasout06 with smtp id PydJ1s0093ymAd801ydKWV; Sun, 28 Feb 2016 22:37:27 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=Rr04V3SK c=1 sm=1 tr=0 a=fkd5KTHJFGKPA0tsLFcInQ==:117 a=fkd5KTHJFGKPA0tsLFcInQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=jFJIQSaiL_oA:10 a=gJibsqi4AAAA:8 a=LKwBxzQXBzzQgJHYowcA:9 Received: from wendolene.baker-net.org.uk (wendolene.baker-net.org.uk [192.168.0.6]) by debian.baker-net.org.uk (Postfix) with ESMTP id 4C3A8CD41AA; Sun, 28 Feb 2016 22:37:18 +0000 (GMT) Received: by wendolene.baker-net.org.uk (Postfix, from userid 1000) id A9E4814F2035; Sun, 28 Feb 2016 22:30:29 +0000 (GMT) From: Adam Baker To: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Jean Delvare , Guenter Roeck Subject: [PATCH v3 3/3] ARM: mvebu: Add the hardware monitor to the NSA320 device tree Date: Sun, 28 Feb 2016 22:30:14 +0000 Message-Id: <1456698614-15176-4-git-send-email-linux@baker-net.org.uk> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1456698614-15176-1-git-send-email-linux@baker-net.org.uk> References: <1456698614-15176-1-git-send-email-linux@baker-net.org.uk> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160228_143751_320187_1F20B8BB X-CRM114-Status: GOOD ( 11.10 ) X-Spam-Score: -2.6 (--) 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: Mark Rutland , devicetree@vger.kernel.org, Russell King , Pawel Moll , Ian Campbell , Adam Baker , lm-sensors@lm-sensors.org, Rob Herring , carl.wolfgang@googlemail.com, Kumar Gala , 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.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Add an entry for the hardware monitoring MCU Signed-off-by: Adam Baker --- This patch is unchanged from the version Gregory CLEMENT said he would apply once the hwmon maintainers accept 2/2 --- arch/arm/boot/dts/kirkwood-nsa320.dts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/kirkwood-nsa320.dts b/arch/arm/boot/dts/kirkwood-nsa320.dts index 24f686d..2a935e9 100644 --- a/arch/arm/boot/dts/kirkwood-nsa320.dts +++ b/arch/arm/boot/dts/kirkwood-nsa320.dts @@ -193,10 +193,19 @@ }; }; + hwmon { + compatible = "zyxel,nsa320-mcu"; + pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act>; + pinctrl-names = "default"; + + data-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; + clk-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; + act-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; + }; + /* The following pins are currently not assigned to a driver, some of them should be configured as inputs. - pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act - &pmx_htp &pmx_vid_b1 + pinctrl-0 = <&pmx_htp &pmx_vid_b1 &pmx_power_resume_data &pmx_power_resume_clk>; */ };