devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] ina238: Improvements and INA228 support
@ 2025-07-18 14:12 Jonas Rebmann
  2025-07-18 14:12 ` [PATCH v2 1/3] hwmon: ina238: Fix inconsistent whitespace Jonas Rebmann
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jonas Rebmann @ 2025-07-18 14:12 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-hwmon, linux-kernel, Krzysztof Kozlowski, devicetree,
	kernel, Jonas Rebmann, Krzysztof Kozlowski

This series includes:
 - Whitespace fixes
 - Support INA228 ultra-precise power monitor

Tested on the INA228 chips on a TI TMDS62LEVM.

Signed-off-by: Jonas Rebmann <jre@pengutronix.de>
---
Changes in v2:
- Drop patch for label support for voltage inputs
- Sign-extend the twos complement ina228 20bit registers
- Upcast current readings to s64 earlier to prevent overflow
- Improve whitespace patch
- Link to v1: https://lore.kernel.org/r/20250715-ina228-v1-0-3302fae4434b@pengutronix.de

---
Jonas Rebmann (3):
      hwmon: ina238: Fix inconsistent whitespace
      dt-bindings: Add INA228 to ina2xx devicetree bindings
      hwmon: ina238: Add support for INA228

 .../devicetree/bindings/hwmon/ti,ina2xx.yaml       |   2 +
 drivers/hwmon/ina238.c                             | 134 ++++++++++++++++++---
 2 files changed, 117 insertions(+), 19 deletions(-)
---
base-commit: 27b297ca04813623d8df2f79d141d51e0856810c
change-id: 20250715-ina228-ddb5550dcb23

Best regards,
--  
Jonas Rebmann <jre@pengutronix.de>


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

end of thread, other threads:[~2025-07-19 22:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-18 14:12 [PATCH v2 0/3] ina238: Improvements and INA228 support Jonas Rebmann
2025-07-18 14:12 ` [PATCH v2 1/3] hwmon: ina238: Fix inconsistent whitespace Jonas Rebmann
2025-07-19 21:59   ` Guenter Roeck
2025-07-18 14:12 ` [PATCH v2 2/3] dt-bindings: Add INA228 to ina2xx devicetree bindings Jonas Rebmann
2025-07-19 22:00   ` Guenter Roeck
2025-07-18 14:12 ` [PATCH v2 3/3] hwmon: ina238: Add support for INA228 Jonas Rebmann
2025-07-19 22:01   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).