From: Zev Weiss <zev@bewilderbeest.net>
To: Guenter Roeck <linux@roeck-us.net>,
Jean Delvare <jdelvare@suse.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: Zev Weiss <zev@bewilderbeest.net>,
devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org,
linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org
Subject: [PATCH 0/2] Nuvoton NCT7362 driver & dt-binding
Date: Wed, 7 Jun 2023 03:18:28 -0700 [thread overview]
Message-ID: <20230607101827.8544-4-zev@bewilderbeest.net> (raw)
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
next reply other threads:[~2023-06-07 10:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-07 10:18 Zev Weiss [this message]
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
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=20230607101827.8544-4-zev@bewilderbeest.net \
--to=zev@bewilderbeest.net \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=openbmc@lists.ozlabs.org \
--cc=robh+dt@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
all inboxes | Powered by JetHome®