Skip to content

hwmon: Add TSC1641 I2C power monitor driver

Igor Reznichenko linux-devicetree linux-doc linux-hwmon lkml 4 versions – Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 3 repliesApplied
  2. v32 patches 4 repliesSuperseded
  3. v22 patches 19 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches8 repliesSuperseded

Changes in v4 from the cover letter

- Updated devicetree binding example
- Removed unnecessary check for !current_lsb
- Added clamping to current val
- No extra calls to validate_shunt()

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: hwmon: ST TSC1641 power monitorDocumentation/devicetree/bindings/hwmon/st,tsc1641.yaml+63 -02 replies
2/2hwmon: Add TSC1641 I2C power monitor driverDocumentation/hwmon/index.rst Documentation/hwmon/tsc1641.rst drivers/hwmon/Kconfig +2 more+849 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 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.

v3: https://lore.kernel.org/linux-hwmon/[email protected]/

Changes in v4:
- Updated devicetree binding example
- Removed unnecessary check for !current_lsb
- Added clamping to current val
- No extra calls to validate_shunt()

Igor Reznichenko (2):
dt-bindings: hwmon: ST TSC1641 power monitor
hwmon: Add TSC1641 I2C power monitor driver

 .../devicetree/bindings/hwmon/st,tsc1641.yaml |  63 ++
 Documentation/hwmon/index.rst                 |   1 +
 Documentation/hwmon/tsc1641.rst               |  87 ++
 drivers/hwmon/Kconfig                         |  12 +
 drivers/hwmon/Makefile                        |   1 +
 drivers/hwmon/tsc1641.c                       | 748 ++++++++++++++++++
 6 files changed, 912 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
Signature · 1 line
2.43.0