public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Nuvoton NCT7362 driver & dt-binding
@ 2023-06-07 10:18 Zev Weiss
  2023-06-07 10:18 ` [PATCH 1/2] dt-bindings: hwmon: Add Nuvoton NCT7362Y binding Zev Weiss
  2023-06-07 10:18 ` [PATCH 2/2] hwmon: (nct7362) Add nct7362 driver Zev Weiss
  0 siblings, 2 replies; 7+ messages in thread
From: Zev Weiss @ 2023-06-07 10:18 UTC (permalink / raw)
  To: Guenter Roeck, Jean Delvare, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Zev Weiss, devicetree, linux-hwmon, linux-kernel, openbmc

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

-- 
2.40.0.5.gf6e3b97ba6d2.dirty


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-06-14 22:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-07 10:18 [PATCH 0/2] Nuvoton NCT7362 driver & dt-binding Zev Weiss
2023-06-07 10:18 ` [PATCH 1/2] dt-bindings: hwmon: Add Nuvoton NCT7362Y binding Zev Weiss
2023-06-07 18:24   ` Krzysztof Kozlowski
2023-06-14 22:57   ` Rob Herring
2023-06-07 10:18 ` [PATCH 2/2] hwmon: (nct7362) Add nct7362 driver Zev Weiss
2023-06-07 18:00   ` Guenter Roeck
2023-06-07 19:33     ` Zev Weiss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox