Skip to content

RFC Add support for GMT G762/G763 PWM fan controller

Arnaud Ebalard linux-arm-kernel linux-devicetree lm-sensors 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v0 RFC Latest3 patches 0 repliesNew

Patches in v0 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Add support for GMT G72/G763 PWM fan controllerdrivers/hwmon/Kconfig drivers/hwmon/Makefile drivers/hwmon/g762.c+1170 -026 replies
1/3Add support for GMT G72/G763 PWM fan controller+0 -00 replies
1/3Add support for GMT G72/G763 PWM fan controller+0 -01 reply
1/3Add support for GMT G72/G763 PWM fan controller+0 -00 replies
2/3Add DT documentation for G762 PWM fan controllerDocumentation/devicetree/bindings/hwmon/g762.txt+37 -00 replies
3/3Add documentation for g762 driverDocumentation/hwmon/g762+89 -00 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by.

PatchArnaud Ebalard
1/3T-b T-b
1/3T-b T-b
1/3T-b T-b
1/3T-b T-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v0 thread

Cover letter [RFC,PATCHv0 0/3] Add support for GMT G762/G763 PWM fan controller

Hi,

This series adds support for GMT G762/G763. This work is based on a basic version for 2.6.31 kernel developed Olivier Mouchet (kept as author for this reason in g762.c) for LaCie NAS. Updates have been performed to run on recent kernels. Supported has been completed and additional features added: ability to configure various characteristics from .dts file, better initialization, alarms and error reporting support, gear mode, polarity, fan pulse per revolution, fan startup voltage control. The following detailed datasheet has been used as a basis for this work:

http://natisbad.org/NAS/refs/GMT_EDS-762_763-080710-0.2.pdf

The purpose for this v0 is to get some feedback on the mistakes I may have made or missing things to get the patch accepted.

The patch was developed for and tested against the GMT G762 fan controller used in a Netgear ReadyNAS Duo v2 (kirkwood 88F6282-based NAS). This is the main reason for the device tree bindings provided in first patch. The patches are against current ARM tree; tell me if you need me to rebase it against something else.

Patch 2/3 provides documentation for DT bindings. Documentation for the sysfs interface provided by the driver is available in patch 3/3.

As a side note, I found it difficult to extend g760a driver to add g762 features; hence the new g762.c file.

Comments welcome,

Cheers,

a+

Arnaud Ebalard (3):
Add support for GMT G72/G763 PWM fan controller Add DT documentation for G762 PWM fan controller Add documentation for g762 driver

 Documentation/devicetree/bindings/hwmon/g762.txt |   37 +
 Documentation/hwmon/g762                         |   89 ++
 drivers/hwmon/Kconfig                            |   10 +
 drivers/hwmon/Makefile                           |    1 +
 drivers/hwmon/g762.c                             | 1159 ++++++++++++++++++++++
 5 files changed, 1296 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/g762.txt
 create mode 100644 Documentation/hwmon/g762
 create mode 100644 drivers/hwmon/g762.c
Signature · 1 line
1.7.10.4