From patchwork Tue Jul 12 00:30:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hotran X-Patchwork-Id: 9224457 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 698B860572 for ; Tue, 12 Jul 2016 00:31:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5809527F10 for ; Tue, 12 Jul 2016 00:31:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4BD4927F88; Tue, 12 Jul 2016 00:31:29 +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 CED2827F10 for ; Tue, 12 Jul 2016 00:31:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932321AbcGLAb2 (ORCPT ); Mon, 11 Jul 2016 20:31:28 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:33406 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752755AbcGLAaj (ORCPT ); Mon, 11 Jul 2016 20:30:39 -0400 Received: by mail-pa0-f46.google.com with SMTP id ks6so289056pab.0 for ; Mon, 11 Jul 2016 17:30:39 -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=R8oRxEkCiOZhGnwkMF3VewEdsyHwYB2xaUdcTY8Vy+E=; b=J3ceAj2s6fFIKmverAaubhsfKh3we4YwctxqSzhm1YRDGw+1cLMLWYRtC+kyrDXdWa qZ2r5oOZZ+GhZbiCzL2Y5UEBfMVlQGx3pSykZACDjfHNLm26TwKCn5INkXX8nfrW2gxb D0j+wkrzm9d8W1pvgCENrzrf7W1vJWke/EblQ= 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=R8oRxEkCiOZhGnwkMF3VewEdsyHwYB2xaUdcTY8Vy+E=; b=hfofa2mf4q9uWTp+x4jSfzE7HBMoX+94IB2cPtV/lC5/b2OqkkGNoUr0Id0uboshNo 3gecUoMVz9qxEgFyFw6U23g3WtfqB7kwyqjak/wfuT9h2mxSRn5BIxQOxvUjirLQRXZc pb5jJ/ZfYAiK8BkPanHQzHQAeLGHXCtAQqh5OPiVmt2uDYq7coci38vXM6bl4zmDwTb4 MUnQTU5XN0dJEs22cuFrJ4CdGOC/8P5tMtKj8438Dm5BdROBwWfQhecRwEHvUatOazcl qhqg0LgYn66FXEQhqZpy9hJUW4i/AKBkVavngQ0E4pIPJFx21kj4sCqvU0PiYq5b1ygN HQeg== X-Gm-Message-State: ALyK8tJqC+J1TK+U+2oIjut1mNdjz+xDakVPJr4i/Dy82ymeuHvuvthWMMRbAkLBOdbnrLvn X-Received: by 10.66.47.100 with SMTP id c4mr39376497pan.105.1468283438475; Mon, 11 Jul 2016 17:30:38 -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.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Jul 2016 17:30:37 -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 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation Date: Mon, 11 Jul 2016 17:30:14 -0700 Message-Id: <1468283416-12780-2-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 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>; + };