Linux Hardware Monitor development
 help / color / mirror / Atom feed
* [PATCH v4 0/2] hwmon: Add support for INA233
@ 2025-01-16  8:59 Leo Yang
  2025-01-16  8:59 ` [PATCH v4 1/2] dt-bindings: hwmon: ti,ina2xx: Add INA233 device Leo Yang
  2025-01-16  8:59 ` [PATCH v4 2/2] hwmon: Add driver for TI INA233 Current and Power Monitor Leo Yang
  0 siblings, 2 replies; 8+ messages in thread
From: Leo Yang @ 2025-01-16  8:59 UTC (permalink / raw)
  To: jdelvare, linux, robh, krzk+dt, conor+dt, Leo-Yang, corbet,
	Delphine_CC_Chiu, linux-hwmon, devicetree, linux-kernel,
	linux-doc
  Cc: Leo Yang

Support ina233 driver with binding documents.
---
Change in v4:   
  1. Change ti,current-lsb-microamp to
     ti,maximum-expected-current-microamp.
  - Link to v3: https://lore.kernel.org/linux-hwmon/20250115015519.950795-1-leo.yang.sy0@gmail.com/
---
Change in v3:   
  1. Modify the content of MAINTAINER file.
  2. Modify the content of binding.
  3. Current_LSB is an unsigned integer, so coefficient m cannot be
     negative after calculation, simplifying the calculation step. 
  4. Current_LSB uses microamp unit suffix, change code to read_u32.
  5. Some typo fixes.
  - Link to v2: https://lore.kernel.org/linux-hwmon/20250110081546.61667-1-Leo-Yang@quantatw.com/
---
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@quantatw.com/
---
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@wiwynn.com/
---

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

 .../devicetree/bindings/hwmon/ti,ina2xx.yaml  |  30 +++
 Documentation/hwmon/ina233.rst                |  75 +++++++
 MAINTAINERS                                   |   7 +
 drivers/hwmon/pmbus/Kconfig                   |   9 +
 drivers/hwmon/pmbus/Makefile                  |   1 +
 drivers/hwmon/pmbus/ina233.c                  | 191 ++++++++++++++++++
 6 files changed, 313 insertions(+)
 create mode 100644 Documentation/hwmon/ina233.rst
 create mode 100644 drivers/hwmon/pmbus/ina233.c

-- 
2.39.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-03-17 18:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-16  8:59 [PATCH v4 0/2] hwmon: Add support for INA233 Leo Yang
2025-01-16  8:59 ` [PATCH v4 1/2] dt-bindings: hwmon: ti,ina2xx: Add INA233 device Leo Yang
2025-01-16 10:47   ` Krzysztof Kozlowski
2025-01-16 13:52     ` Leo Yang
2025-01-17  8:30       ` Krzysztof Kozlowski
2025-03-17 18:18   ` Guenter Roeck
2025-01-16  8:59 ` [PATCH v4 2/2] hwmon: Add driver for TI INA233 Current and Power Monitor Leo Yang
2025-03-17 18:19   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox