[PATCH v2 0/3] Driver for TI INA238 I2C Power Monitor

From: Nathan Rossi
Date: Wed Oct 27 2021 - 03:42:33 EST


From: Nathan Rossi <nathan.rossi@xxxxxxxx>

Changes in v2:
- Added device tree binding for ti,shunt-gain to specify the target
ADCRANGE for the ina238
- Reworked ina238 driver to use hwmon_chip_info API, and addressed
various review comments

Nathan Rossi (3):
dt-bindings: hwmon: ti,ina2xx: Document ti,ina238 compatible string
dt-bindings: hwmon: ti,ina2xx: Add ti,shunt-gain property
hwmon: Driver for Texas Instruments INA238

.../devicetree/bindings/hwmon/ti,ina2xx.yaml | 7 +
Documentation/hwmon/ina238.rst | 56 ++
Documentation/hwmon/index.rst | 1 +
drivers/hwmon/Kconfig | 12 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/ina238.c | 672 ++++++++++++++++++
6 files changed, 749 insertions(+)
create mode 100644 Documentation/hwmon/ina238.rst
create mode 100644 drivers/hwmon/ina238.c
---
2.33.0