Linux Hardware Monitor development
 help / color / mirror / Atom feed
From: Mathew McBride <matt@traverse.com.au>
To: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
	jdelvare@suse.com, linux@roeck-us.net,
	krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org,
	leoyang.li@nxp.com, robh+dt@kernel.org,
	linux-kernel@vger.kernel.org
Cc: Mathew McBride <matt@traverse.com.au>
Subject: [PATCH 0/3] hwmon: add Microchip EMC230X fan controller driver
Date: Wed, 14 Sep 2022 05:30:27 +0000	[thread overview]
Message-ID: <20220914053030.8929-1-matt@traverse.com.au> (raw)

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


             reply	other threads:[~2022-09-14  5:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-14  5:30 Mathew McBride [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220914053030.8929-1-matt@traverse.com.au \
    --to=matt@traverse.com.au \
    --cc=devicetree@vger.kernel.org \
    --cc=jdelvare@suse.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=leoyang.li@nxp.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=robh+dt@kernel.org \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox