From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: 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> In-Reply-To: <1475853669-22480-1-git-send-email-pantelis.antoniou@konsulko.com> References: <1475853669-22480-1-git-send-email-pantelis.antoniou@konsulko.com> List-ID: 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>; +}; -- 1.9.1