From patchwork Tue Jul 12 00:30:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hotran X-Patchwork-Id: 9224455 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 9E62860572 for ; Tue, 12 Jul 2016 00:31:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8E80827F10 for ; Tue, 12 Jul 2016 00:31:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8224727F88; Tue, 12 Jul 2016 00:31:18 +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 0DF3E27F10 for ; Tue, 12 Jul 2016 00:31:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932450AbcGLAaq (ORCPT ); Mon, 11 Jul 2016 20:30:46 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:35967 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932259AbcGLAan (ORCPT ); Mon, 11 Jul 2016 20:30:43 -0400 Received: by mail-pa0-f41.google.com with SMTP id hu1so241545pad.3 for ; Mon, 11 Jul 2016 17:30:43 -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=KLXTWbUFVWDynvdulFZNGQ0CZkzqAb39N3X3qzvpnuo=; b=cBm+G98IBWF3qKskUgQjqcMTtXueQ6G7f+BNYCwoXgssdzbxo1w0W+s6ecsbUexiqR GYxgKRiywvtpil4aaWdDqCo/Sn31YV7tmqnbrNyuPy7FQMEAphMFM+dgD1XlEuLlIZC3 h5aP9FNT+vhIHCEXZEIPArlKFxMht/9U0HbpA= 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=KLXTWbUFVWDynvdulFZNGQ0CZkzqAb39N3X3qzvpnuo=; b=LSjiMHUhHSE/tJZcO8R1muWxW3WcOZPfUFTJawzVNh/ytV2gQpwe1l5P55rujL75bN 4M/IQ6FkQHxY0+Nj+PbJPP5M01JvmFPJoeH28VB3td38sppMkdnbcOWBQYlHQATlgQcg dHOTr2dN8ARHpwpagW/DH7NMj74DjJuxXWjGdQFYIasHQg36yHjJKirXOKmJkklAza44 mxKzjGiVtKstPaLoyk1zItc6O8WRxLjIRrL/rA3NSs7U4rRjsYjE5jJl/D09PICnp/iJ 9RH6whGGw+a49ZKGL1mLYw+/TBoYfc63bBfwp3fbjOPgIKdt/i4VoEFHa0/NIRHK7MHe u1WQ== X-Gm-Message-State: ALyK8tJAp5VXlunscqRGsLPCS1rN4veS4CSzRrEzxW8zh0MUq4ZWf83Q+HM4T77CFQNJm5tD X-Received: by 10.66.123.77 with SMTP id ly13mr23135683pab.88.1468283442525; Mon, 11 Jul 2016 17:30:42 -0700 (PDT) Received: from hotran_localhost.amcc.com ([206.80.4.98]) by smtp.gmail.com with ESMTPSA id s3sm6957208pfb.87.2016.07.11.17.30.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Jul 2016 17:30:42 -0700 (PDT) From: Hoan Tran To: Jean Delvare , Guenter Roeck , Jonathan Corbet , Rob Herring Cc: Jassi Brar , Ashwin Chaugule , 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, Duc Dang , lho@apm.com, Hoan Tran Subject: [PATCH v2 3/3] arm64: dts: apm: Add X-Gene SoC hwmon to device tree Date: Mon, 11 Jul 2016 17:30:16 -0700 Message-Id: <1468283416-12780-4-git-send-email-hotran@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1468283416-12780-1-git-send-email-hotran@apm.com> References: <1468283416-12780-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 --- 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";