From patchwork Thu Jul 21 22:37:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hotran X-Patchwork-Id: 9242617 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 30230602F0 for ; Thu, 21 Jul 2016 22:38:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FDF127F88 for ; Thu, 21 Jul 2016 22:38:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1424327F93; Thu, 21 Jul 2016 22:38:28 +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 9760027F88 for ; Thu, 21 Jul 2016 22:38:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754892AbcGUWiI (ORCPT ); Thu, 21 Jul 2016 18:38:08 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:36527 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754697AbcGUWiF (ORCPT ); Thu, 21 Jul 2016 18:38:05 -0400 Received: by mail-pf0-f178.google.com with SMTP id h186so34423415pfg.3 for ; Thu, 21 Jul 2016 15:38:05 -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=ZWD43q4kPw3C6iKFxtm7OSiRevTneoF+t+Ny2vqeejeGPq+CBoU80ERvKG77b/NM1c sC8Hs3+9pJ5SGagMlRRfSPKNVFnclWGJTrOS+V9x2dKp69Xd0ah1bDvApZIgh7VXzbLD CCyjRmwNRNfY+9r8gmDRKjIRNrsO7Bmpawbik= 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=DcSRXGwc5Q9eGZqkKI3Wqsa9kuX2LAPriLIj6I1PPFwtvXNejU1gpHFNHNHYFjtbUq d6k0oN32aztTOvTt2zRY4U1YcWkHTSFAJ3MM/zKeUpXvwGF8aDzNwS8qG10sKEp76VFt 4CoTy778KKNnA3pYvATLB5P122E/Qa1fYobUhsThjQ30hxYOYY3oTOCqnheQCwKnG8nt o4KXLBnTysAYsaB0kwRjNBWdy2gQubH5S//Egv/HdzV+/v5efkSBtqSgs6wEzeEpkOQT Mmhl7aVx7VQw1OcFW4inK6f9m62AUlDpuw0VZL8B2EW5czX+1pIAwuJ3aJzizipVt56z pV9g== X-Gm-Message-State: AEkoouv4ZustL6DnDsWRD/0waZO0WxmipvzyUkPkrhc+M5sr23t7JHPaCzD3g0/k2ghgiMAO X-Received: by 10.98.95.5 with SMTP id t5mr955703pfb.103.1469140684220; Thu, 21 Jul 2016 15:38:04 -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.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Jul 2016 15:38:03 -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 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation Date: Thu, 21 Jul 2016 15:37:31 -0700 Message-Id: <1469140653-2287-2-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 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>; + };