Skip to content

Nuvoton NCT7362 driver & dt-binding

Zev Weiss linux-devicetree linux-hwmon lkml openbmc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: hwmon: Add Nuvoton NCT7362Y bindingDocumentation/devicetree/bindings/hwmon/nuvoton,nct7362.yaml+123 -02 replies
2/2hwmon: (nct7362) Add nct7362 driverMAINTAINERS drivers/hwmon/Kconfig drivers/hwmon/Makefile +1 more+723 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Nuvoton NCT7362 driver & dt-binding

Hello,

This patch series adds support for the Nuvoton NCT7362 fan/GPIO controller. The chip provides 16 pins that can be individually configured for PWM, tach, or GPIO functionality, and is controlled via an I2C interface.

There is a sibling NCT7360 chip covered by the same datasheet that's very similar but only provides 8 fan/tach/gpio pins instead of 16; it could be supported fairly easily with minor adjustments to the same driver, but since I don't have an instance of it to test against I've only implemented support for the NCT7362.

The first patch adds a DT binding, and the second adds a hwmon driver with optional GPIO support enabled via CONFIG_SENSORS_NCT7362_GPIO.

Thanks,
Zev

Zev Weiss (2):
dt-bindings: hwmon: Add Nuvoton NCT7362Y binding
hwmon: (nct7362) Add nct7362 driver

 .../bindings/hwmon/nuvoton,nct7362.yaml       | 123 ++++
 MAINTAINERS                                   |   7 +
 drivers/hwmon/Kconfig                         |  18 +
 drivers/hwmon/Makefile                        |   1 +
 drivers/hwmon/nct7362.c                       | 697 ++++++++++++++++++
 5 files changed, 846 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/nuvoton,nct7362.yaml
 create mode 100644 drivers/hwmon/nct7362.c
Signature · 1 line
2.40.0.5.gf6e3b97ba6d2.dirty