devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonas Rebmann <jre@pengutronix.de>
To: Jean Delvare <jdelvare@suse.com>,
	Guenter Roeck <linux@roeck-us.net>,
	 Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
	 Krzysztof Kozlowski <krzk@kernel.org>,
	devicetree@vger.kernel.org,  kernel@pengutronix.de,
	Jonas Rebmann <jre@pengutronix.de>,
	 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Subject: [PATCH v2 0/3] ina238: Improvements and INA228 support
Date: Fri, 18 Jul 2025 16:12:47 +0200	[thread overview]
Message-ID: <20250718-ina228-v2-0-227feb62f709@pengutronix.de> (raw)

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>


             reply	other threads:[~2025-07-18 14:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-18 14:12 Jonas Rebmann [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250718-ina228-v2-0-227feb62f709@pengutronix.de \
    --to=jre@pengutronix.de \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jdelvare@suse.com \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).