From patchwork Thu Jul 21 20:55:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hotran X-Patchwork-Id: 9242507 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 9228460871 for ; Thu, 21 Jul 2016 20:56:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 82FFF27EE2 for ; Thu, 21 Jul 2016 20:56:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 776C327F80; Thu, 21 Jul 2016 20:56:23 +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 1ADEB27F54 for ; Thu, 21 Jul 2016 20:56:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754156AbcGUU4T (ORCPT ); Thu, 21 Jul 2016 16:56:19 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:34519 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754052AbcGUU4R (ORCPT ); Thu, 21 Jul 2016 16:56:17 -0400 Received: by mail-pa0-f45.google.com with SMTP id fi15so32343416pac.1 for ; Thu, 21 Jul 2016 13:56:17 -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=uzro7uadJNAwMH8nRZkbwva67dzsSecb47wKzd6V2Os=; b=jBG1Pzd0WtW6hN/38msNbidCkTakdLMyJ2shmsniEnycCqFZMZWXCufzggX69t7v/G DJUlJ6kyx2XiFp6UmUTEWozFpZpRtBPBSq4gGYw+vUMfXx12QM/kKgucm8VGPWTU7nUc RLsu9Rb+IC+GtjOoRHA+GzZPnxgI8N4nXqq+g= 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=uzro7uadJNAwMH8nRZkbwva67dzsSecb47wKzd6V2Os=; b=nDqNG13ztif4wevFXz6Rl31PAOx0lN90IauZ6k2puyDuiON4YpkL3dkk+uffI5k/SD k8DYUm0XeVCIWevLMJDa8/9qUuUyQvaDJ0wROF5pOB0qnI/RWrzBbIWNUJ5d04NU/WdQ i236RPYZA3ffqAiBcSP1aluunzbqUqUCsYjFpJwJv1WDIGzgcbwx4MUCTZ1VvV4b495Y v/Vfn2SaybjKbJPDhe4VrK3gfDQZ7pV9so1APUC7aAgNGD2MY3s5fAidl3ztDOAkgLjr mpUVQIjiNwsfUNVBIgXbl2dbQMRtun+HIS512ySwUpPZDGIAuh/o2vazo03ptnMte1Ea 3F+w== X-Gm-Message-State: AEkoouvGZ6AwumSQ2k7Rh25umf/5fFOeBNL3aef3mfFpw3W9HS72lk96cemcXFidRk+Tf18U X-Received: by 10.66.155.129 with SMTP id vw1mr399002pab.148.1469134576653; Thu, 21 Jul 2016 13:56:16 -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.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Jul 2016 13:56:15 -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 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation Date: Thu, 21 Jul 2016 13:55:55 -0700 Message-Id: <1469134557-26869-2-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 the APM X-Gene hwmon device tree node documentation. Signed-off-by: Hoan Tran Acked-by: Rob Herring --- .../devicetree/bindings/hwmon/apm-xgene-hwmon.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt diff --git a/Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt b/Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt new file mode 100644 index 0000000..59b3855 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt @@ -0,0 +1,14 @@ +APM X-Gene hwmon driver + +APM X-Gene SOC sensors are accessed over the "SLIMpro" mailbox. + +Required properties : + - compatible : should be "apm,xgene-slimpro-hwmon" + - mboxes : use the label reference for the mailbox as the first parameter. + The second parameter is the channel number. + +Example : + hwmonslimpro { + compatible = "apm,xgene-slimpro-hwmon"; + mboxes = <&mailbox 7>; + };