Linux Hardware Monitor development
 help / color / mirror / Atom feed
* [PATCH 0/3] hwmon: add Microchip EMC230X fan controller driver
@ 2022-09-14  5:30 Mathew McBride
  2022-09-14  5:30 ` [PATCH 1/3] hwmon: (emc230x) add Microchip (SMSC) EMC230X fan controller support Mathew McBride
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Mathew McBride @ 2022-09-14  5:30 UTC (permalink / raw)
  To: linux-hwmon, devicetree, jdelvare, linux, krzysztof.kozlowski+dt,
	shawnguo, leoyang.li, robh+dt, linux-kernel
  Cc: Mathew McBride

The Microchip EMC230X (formerly made by SMSC) family of fan controllers
provide PWM control for up to 5 fans (in the EMC2305). The EMC230X is
capable of maintaining (closed-loop) a target RPM speed through PWM.

This driver has been tested with the EMC2301 (on our Traverse Ten64
appliance) and with the EMC2305 demo board (ADM00879).

The driver is by no means complete, for example, further work would
be required to support the different PWM output frequencies for
voltage-based fan speed control. (So far this driver has only been
tested with direct PWM capable fans, like the 4 pin fans found
in recent PCs)

The emc230x driver also has thermal subsystem integration which allows
the emc230x-controlled fan(s) to be used as cooling devices.

Mathew McBride (3):
  hwmon: (emc230x) add Microchip (SMSC) EMC230X fan controller support
  dt-bindings: add binding for Microchip EMC230X fan controller family
  arm64: dts: ten64: add configuration for fan controller

 .../bindings/hwmon/microchip,emc2301.yaml     |  83 +++
 MAINTAINERS                                   |   7 +
 .../boot/dts/freescale/fsl-ls1088a-ten64.dts  |  43 ++
 drivers/hwmon/Kconfig                         |  13 +
 drivers/hwmon/Makefile                        |   1 +
 drivers/hwmon/emc230x.c                       | 587 ++++++++++++++++++
 6 files changed, 734 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/microchip,emc2301.yaml
 create mode 100644 drivers/hwmon/emc230x.c

-- 
2.30.1


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

end of thread, other threads:[~2022-09-14 10:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-14  5:30 [PATCH 0/3] hwmon: add Microchip EMC230X fan controller driver Mathew McBride
2022-09-14  5:30 ` [PATCH 1/3] hwmon: (emc230x) add Microchip (SMSC) EMC230X fan controller support Mathew McBride
2022-09-14  5:30 ` [PATCH 2/3] dt-bindings: add binding for Microchip EMC230X fan controller family Mathew McBride
2022-09-14  5:30 ` [PATCH 3/3] arm64: dts: ten64: add configuration for fan controller Mathew McBride
2022-09-14 10:12 ` [PATCH 0/3] hwmon: add Microchip EMC230X fan controller driver Guenter Roeck
2022-09-14 10:24   ` Mathew McBride

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