From patchwork Thu Jul 21 20:55:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hotran X-Patchwork-Id: 9242515 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 5D65F60756 for ; Thu, 21 Jul 2016 20:56:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4EFBF27EE2 for ; Thu, 21 Jul 2016 20:56:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4367627F80; Thu, 21 Jul 2016 20:56:58 +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 BB46B27EE2 for ; Thu, 21 Jul 2016 20:56:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754206AbcGUU40 (ORCPT ); Thu, 21 Jul 2016 16:56:26 -0400 Received: from mail-pf0-f180.google.com ([209.85.192.180]:33253 "EHLO mail-pf0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754160AbcGUU4U (ORCPT ); Thu, 21 Jul 2016 16:56:20 -0400 Received: by mail-pf0-f180.google.com with SMTP id y134so33824764pfg.0 for ; Thu, 21 Jul 2016 13:56:20 -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=R9EyYfdSgXOgYFF9aT69y8t+VKJsVwL2cGndCsyWHBm+JgfyzL6X7mvcmgxz+UEEJx 5bf59DQQLkJ2CqlAc9Kb71rUXBttU71zRFbUzsOYsLaBR7cUIFK7jdC6PXy0td8FT9PS CTOSrHDpXWhJnPsCI72P/yiuyGPmrplbaedKA= 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=EKMrWpZS1CT87KjZ42jfOcmiLjNK4b9Em9G+mSMyO19NFDrmsp0QKWshDOPw5YdRyL 4s6XvcYGc0X2ARjqSLVCNIpH+Cb+UlM7lHERwf8U/vT+vkrXVmcjMrdUnMO9SVp0boLS QPf8eWSiB7P9TJVZOJBR9WDjbLwrQTpxihBtlCa7bOt7nThyabFRDbHf0IVZQBjDNynS UKqyWQLzJBQuKqO8uyfx6fLGaGjt+XLeipVvFLI1os5+ikHqHt2evKQELjD0NF8kSq2a bNLynT0dP7BeFly8DlEC2JM3GLCAnON4lQ5UOiyTmJO01Cw1DOOxrfm3PaTgdM8qleBN bFvw== X-Gm-Message-State: AEkoouusinsdFnIs4FasnprDUHy6SKunljjOfIrBPKuhRAdGd8KNFqBi0LlTKTtWwLdMT2uv X-Received: by 10.98.205.6 with SMTP id o6mr388711pfg.37.1469134579554; Thu, 21 Jul 2016 13:56:19 -0700 (PDT) Received: from hotran_localhost.amcc.com ([206.80.4.98]) by smtp.gmail.com with ESMTPSA id f6sm14401967pfa.17.2016.07.21.13.56.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Jul 2016 13:56:18 -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 v3 3/3] arm64: dts: apm: Add X-Gene SoC hwmon to device tree Date: Thu, 21 Jul 2016 13:55:57 -0700 Message-Id: <1469134557-26869-4-git-send-email-hotran@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1469134557-26869-1-git-send-email-hotran@apm.com> References: <1469134557-26869-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";