[PATCH v2 0/2] hwmon: Add support for INA233

From: Leo Yang
Date: Fri Jan 10 2025 - 03:16:14 EST


Support ina233 driver with binding documents.

---
Change in v2:
1. Merge the binding files into ti,ina2xx.yaml.
2. Fix typo and non-sense dev_err.
3. Improve program logic.
4. pmbus_driver_info changed to be allocated in probe.
- Link to v1: https://lore.kernel.org/linux-hwmon/20250106071337.3017926-1-Leo-Yang@xxxxxxxxxxxx/
---
Change in v1:
1. Change to pmbus standard practice of getting MFR_READ_VSHUNT
through vmon.
2. Change the way MFR_CALIBRATION is hard-coded to be obtained by
calculation.
- Link to origin: https://lore.kernel.org/linux-hwmon/20230920054739.1561080-1-Delphine_CC_Chiu@xxxxxxxxxx/
---

Leo Yang (2):
dt-bindings: hwmon: ti,ina2xx: Add INA233 device
hwmon: Add driver for TI INA232 Current and Power Monitor

.../devicetree/bindings/hwmon/ti,ina2xx.yaml | 17 ++
Documentation/hwmon/ina233.rst | 77 ++++++++
MAINTAINERS | 8 +
drivers/hwmon/pmbus/Kconfig | 9 +
drivers/hwmon/pmbus/Makefile | 1 +
drivers/hwmon/pmbus/ina233.c | 184 ++++++++++++++++++
6 files changed, 296 insertions(+)
create mode 100644 Documentation/hwmon/ina233.rst
create mode 100644 drivers/hwmon/pmbus/ina233.c

--
2.39.2