From patchwork Thu Jul 21 22:37:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hotran X-Patchwork-Id: 9242627 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B995A602F0 for ; Thu, 21 Jul 2016 22:39:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABACE27F54 for ; Thu, 21 Jul 2016 22:39:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F3AF27F89; Thu, 21 Jul 2016 22:39:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DFA727F54 for ; Thu, 21 Jul 2016 22:39:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754891AbcGUWib (ORCPT ); Thu, 21 Jul 2016 18:38:31 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:33350 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754823AbcGUWiH (ORCPT ); Thu, 21 Jul 2016 18:38:07 -0400 Received: by mail-pa0-f54.google.com with SMTP id ks6so33054753pab.0 for ; Thu, 21 Jul 2016 15:38:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apm.com; s=apm; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=H6OOlhhpWzR2mDO3gcDJ9edhtP4smYTgV5tvmQZ9Q+0=; b=Oi0tP3qkL7rz4r/deDNIalQ7WRp0riuLpc+aZW60suFC+l7uIrPE8xss99SGk4Usxy +16jTLTCocqTkIPV80T4UtxB6nOaq7u6V63KDtRuBSgIwU2CnlF6Lmry5j+AYKOIdtte KKmxYRjaUqIx/I3GF3XSCbZooiztz6A76LJHE= 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; bh=H6OOlhhpWzR2mDO3gcDJ9edhtP4smYTgV5tvmQZ9Q+0=; b=CXRdLDzDyUULfMGt8gIcUT/zrvrvmNfcY+gnGiU1ZyYMPeaadpCU+HRy6RCsV/zsXO im02vZ1Hr9xCkjbezOk1xJ9WfV2hUOIV7+0VZMqnE3fyYQ8ZlIhtpZxQmsCdiJ3ICaCC N+i07vlS3+0G8wJLLEAWusvGPmR1NljsKgrxfP8WZoDqtqIXXfViRnyJcLLCt29gHa9U eTwwoqnw/lblrEfdCrzLzhSYC7riubYg8tvGxQVzQ6PFMQgChd9UhYYeBloPUtsLyadO OycqQcfFtK9fakEoy0QtdmsSBFlZI8By3oTYgpfmVxECW4ovfhPrcuz8wBaADiS7J2A1 jccg== X-Gm-Message-State: AEkoouvZu+c0GT+ztWemdqPRiUQMrJaWhe0zMmhRhcC/xltFt99Tj0mR1NfE4JDsufedvLDV X-Received: by 10.66.144.200 with SMTP id so8mr985210pab.94.1469140686709; Thu, 21 Jul 2016 15:38:06 -0700 (PDT) Received: from hotran_localhost.amcc.com ([206.80.4.98]) by smtp.gmail.com with ESMTPSA id k78sm14620965pfa.78.2016.07.21.15.38.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Jul 2016 15:38:06 -0700 (PDT) From: Hoan Tran To: Jean Delvare , Guenter Roeck , Jonathan Corbet , Rob Herring Cc: Jassi Brar , Ashwin Chaugule , Duc Dang , lho@apm.com, linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Hoan Tran Subject: [PATCH v4 3/3] arm64: dts: apm: Add X-Gene SoC hwmon to device tree Date: Thu, 21 Jul 2016 15:37:33 -0700 Message-Id: <1469140653-2287-4-git-send-email-hotran@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1469140653-2287-1-git-send-email-hotran@apm.com> References: <1469140653-2287-1-git-send-email-hotran@apm.com> Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds DT node to enable hwmon driver for APM X-Gene SoC. Signed-off-by: Hoan Tran Acked-by: Guenter Roeck --- arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 5 +++++ arch/arm64/boot/dts/apm/apm-storm.dtsi | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi index c569f76..a5935f5 100644 --- a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi +++ b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi @@ -472,6 +472,11 @@ mboxes = <&mailbox 0>; }; + hwmonslimpro { + compatible = "apm,xgene-slimpro-hwmon"; + mboxes = <&mailbox 7>; + }; + serial0: serial@10600000 { device_type = "serial"; compatible = "ns16550"; diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi index 5147d76..f8ea5b5 100644 --- a/arch/arm64/boot/dts/apm/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi @@ -716,6 +716,11 @@ mboxes = <&mailbox 0>; }; + hwmonslimpro { + compatible = "apm,xgene-slimpro-hwmon"; + mboxes = <&mailbox 7>; + }; + serial0: serial@1c020000 { status = "disabled"; device_type = "serial";