[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251026065057.627276-1-igor@reznichenko.net>
Date: Sat, 25 Oct 2025 23:50:55 -0700
From: Igor Reznichenko <igor@...nichenko.net>
To: linux-hwmon@...r.kernel.org
Cc: conor+dt@...nel.org,
corbet@....net,
david.hunter.linux@...il.com,
devicetree@...r.kernel.org,
krzk+dt@...nel.org,
linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux@...ck-us.net,
robh@...nel.org,
skhan@...uxfoundation.org
Subject: [PATCH v2 0/2] hwmon: Add TSC1641 I2C power monitor driver
This patch series adds support for the ST Microelectronics TSC1641
I2C power monitor. The TSC1641 provides bus voltage, current, power,
and temperature measurements via the hwmon subsystem. The driver
supports optional ALERT pin polarity configuration and exposes the
shunt resistor value and update interval via sysfs.
Tested on Raspberry Pi 3B+ with a TSC1641 evaluation board.
Changes in v2:
- Fixed devicetree binding name and formatting issues
- Alert limits are handled in a standard way
- Clamped alert limit values, constrained valid shunt values
- Cleaned up includes, fixed various style issues
- Expanded documentation
Igor Reznichenko (2):
dt-bindings: hwmon: Add support for ST TSC1641 power monitor
hwmon: Add TSC1641 I2C power monitor driver
.../devicetree/bindings/hwmon/st,tsc1641.yaml | 59 ++
Documentation/hwmon/index.rst | 1 +
Documentation/hwmon/tsc1641.rst | 84 +++
drivers/hwmon/Kconfig | 12 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/tsc1641.c | 703 ++++++++++++++++++
6 files changed, 860 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/st,tsc1641.yaml
create mode 100644 Documentation/hwmon/tsc1641.rst
create mode 100644 drivers/hwmon/tsc1641.c
--
2.43.0
Powered by blists - more mailing lists