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: 9366291 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 0C8D5608A6 for ; Fri, 7 Oct 2016 15:24:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F28E1296CD for ; Fri, 7 Oct 2016 15:24:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E74EB296D9; Fri, 7 Oct 2016 15:24:49 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 8CC9F296D7 for ; Fri, 7 Oct 2016 15:24:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757216AbcJGPYr (ORCPT ); Fri, 7 Oct 2016 11:24:47 -0400 Received: from mail-wm0-f48.google.com ([74.125.82.48]:38460 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933448AbcJGPX5 (ORCPT ); Fri, 7 Oct 2016 11:23:57 -0400 Received: by mail-wm0-f48.google.com with SMTP id i130so46062900wmg.1 for ; Fri, 07 Oct 2016 08:23:51 -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=lYSCLu8jgmQnsrATzG3vC70alvUxHz+GG9gO0GGGklpIs6FGS/jCXa5SPuf9yw0VRW KXJolWFHi7LZq4uhjP+12Bs+9N5GzzJSyvRiz/0oBh6ddEuNiMxPEGwwHJUAV8ZLIwKK l4XSchkqijbEZk4H2mkUGI6qtxGaNMK6Qr07uJ/5FyPxjpUn6ZqeOdV+C0OuDLUKluK1 /RMyB7NgrrD4iNiNyfNUOIwqlmK6Hv9ttqlY8Y4qUXl9j/92i3YR6lPzhlZLirHuvOxY NQgQw56tfErPYAfhdnfS9uwnN6ID7f/Li/ebXf9Qkxd4Oy+o7gpWawIIEXfPLi+WUIIK EK0g== X-Gm-Message-State: AA6/9RmaUKl9F1SH3JNgTK+5kfijUVu0OeDbGTBAjMqhY957cDaqjLSdv28k5IPbLVkopw== 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-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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>; +};