From patchwork Fri Oct 7 15:21:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pantelis Antoniou X-Patchwork-Id: 679341 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3srCxT1vYlz9t35 for ; Sat, 8 Oct 2016 02:24:45 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b=Hnq8Hgab; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757155AbcJGPYf (ORCPT ); Fri, 7 Oct 2016 11:24:35 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:36909 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932791AbcJGPXx (ORCPT ); Fri, 7 Oct 2016 11:23:53 -0400 Received: by mail-wm0-f50.google.com with SMTP id b201so46118229wmb.0 for ; Fri, 07 Oct 2016 08:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/OCFbfqv2aQKQtNKtnWXzKHpq56zcO+DRBYC+1SVF1k=; b=Hnq8HgabnVPeE1VMhOAK1b86yfG6AXDU5oajQT26kcO+271nywXjQ2DJIZevGrT2KA AFFCd9r+gK2ppD03DEyy+BiuYQb2tJBKYx9OkAnOht/UpmuMd6GiPGP1tBl3/QrcGNqr EmLF61e5uEbKc+mtRcXhP9TEex0v1PsoPudaw= 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=/OCFbfqv2aQKQtNKtnWXzKHpq56zcO+DRBYC+1SVF1k=; b=bgaSbvoP4bTkNQqyblbM0rEoPNQhePqYPa3PEsRQ70PP1R0OjEDodxHMYwVZM9vCrk 00cdGmW6jTEqIf1gQcIZ4m4VWL0/TnbUDoZFDB+nMlF87Fj6dDX1VH2ULiPfGRb1Agcw PsepOncPbDnjofyPGyc/Vi4SjwZbhhP3/+CAKnNHa5X5U5VwhyVCB24i6x3ZaFfRlncF k16i096Z+S8jqrrPddjBNAvsGW6+/JRDhL7djgnVq1FJnd9y42GlS0frmNyH84YTBhHs G9VwP6MhF+Jx5wuPpQLP/oYqajfDHNsr7dXdq7Oev8isORwXJsHgtc7ZUIz9lPNbDaOl O0Lw== X-Gm-Message-State: AA6/9Rli02lwNAhJQc+YW005y4JExfyshxXO/MG3oa2yke2Xz1yXd8+DUoiWrb+lHJwYBQ== X-Received: by 10.194.28.166 with SMTP id c6mr15974331wjh.40.1475853830846; Fri, 07 Oct 2016 08:23:50 -0700 (PDT) Received: from localhost.localdomain ([195.97.110.117]) by smtp.gmail.com with ESMTPSA id n5sm20048269wjv.35.2016.10.07.08.23.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 07 Oct 2016 08:23:50 -0700 (PDT) From: Pantelis Antoniou To: Lee Jones Cc: Linus Walleij , Alexandre Courbot , Rob Herring , Mark Rutland , Frank Rowand , Wolfram Sang , Richard Purdie , Jacek Anaszewski , Jean Delvare , Peter Rosin , Avirup Banerjee , Georgi Vlaev , Guenter Roeck , JawaharBalaji Thirumalaisamy , Pantelis Antoniou , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-leds@vger.kernel.org, linux-hwmon@vger.kernel.org Subject: [PATCH 10/10] hwmon: i2cs-fan: Add hwmon dts binding documentation Date: Fri, 7 Oct 2016 18:21:09 +0300 Message-Id: <1475853669-22480-11-git-send-email-pantelis.antoniou@konsulko.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1475853669-22480-1-git-send-email-pantelis.antoniou@konsulko.com> References: <1475853669-22480-1-git-send-email-pantelis.antoniou@konsulko.com> Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org From: Georgi Vlaev Adds the I2CS Fan Tray hwmon device tree node documentation. Signed-off-by: Georgi Vlaev [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou --- Documentation/devicetree/bindings/hwmon/i2cs-fan.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/i2cs-fan.txt diff --git a/Documentation/devicetree/bindings/hwmon/i2cs-fan.txt b/Documentation/devicetree/bindings/hwmon/i2cs-fan.txt new file mode 100644 index 0000000..4ef880c --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/i2cs-fan.txt @@ -0,0 +1,19 @@ +Hwmon driver for Juniper fan trays on I2CS Slave FPGA + +Required properties: + +- compatible: "i2cs-fan-hwmon" + +Optional properties: + +- num-fans: fans per tray (default 14) + +- tach-factor: TACH count scaling factor (default 120) + +Example: + +fan-hwmon { + compatible = "jnx,i2cs-fan-hwmon"; + num-fans = <6>; + tach-factor = <33>; +};