From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Subject: Re: [PATCH 10/10] hwmon: i2cs-fan: Add hwmon dts binding documentation Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=us-ascii From: Pantelis Antoniou In-Reply-To: <20161010202903.GA9122@rob-hp-laptop> Date: Mon, 17 Oct 2016 22:12:58 +0300 Cc: Lee Jones , Linus Walleij , Alexandre Courbot , Mark Rutland , Frank Rowand , Wolfram Sang , Richard Purdie , Jacek Anaszewski , Jean Delvare , Peter Rosin , Avirup Banerjee , Georgi Vlaev , Guenter Roeck , JawaharBalaji Thirumalaisamy , 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 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1475853669-22480-1-git-send-email-pantelis.antoniou@konsulko.com> <1475853669-22480-11-git-send-email-pantelis.antoniou@konsulko.com> <20161010202903.GA9122@rob-hp-laptop> To: Rob Herring List-ID: > On Oct 10, 2016, at 23:29 , Rob Herring wrote: >=20 > On Fri, Oct 07, 2016 at 06:21:09PM +0300, Pantelis Antoniou wrote: >> From: Georgi Vlaev >>=20 >> Adds the I2CS Fan Tray hwmon device tree node documentation. >>=20 >> 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 >>=20 >> 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 >=20 > This is a h/w description, not a driver. >=20 >> + >> +Required properties: >> + >> +- compatible: "i2cs-fan-hwmon" >=20 > I doubt any fan control h/w has "hwmon" in the name. >=20 >> + >> +Optional properties: >> + >> +- num-fans: fans per tray (default 14) >> + >> +- tach-factor: TACH count scaling factor (default 120) >=20 > vendor prefixes needed. >=20 >> + >> +Example: >> + >> +fan-hwmon { >> + compatible =3D "jnx,i2cs-fan-hwmon"; >> + num-fans =3D <6>; >> + tach-factor =3D <33>; >> +}; >> --=20 >> 1.9.1 OK on all three.=