Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/2] hwmon: Add support for INA780
@ 2025-08-08  3:05 Chris Packham
  2025-08-08  3:05 ` [PATCH v2 1/2] dt-bindings: hwmon: ti,ina2xx: Add INA780 device Chris Packham
  2025-08-08  3:05 ` [PATCH v2 2/2] hwmon: (ina238) Add support for INA780 Chris Packham
  0 siblings, 2 replies; 10+ messages in thread
From: Chris Packham @ 2025-08-08  3:05 UTC (permalink / raw)
  To: jdelvare, linux, robh, krzk+dt, conor+dt
  Cc: linux-hwmon, devicetree, linux-kernel, Chris Packham

This is an alternate approach to the v1[1] I sent earlier. I've added the
INA780 to the existing ina238.c driver. INA780 can mostly be thought of as a
variant of the INA238 that doesn't require an external shunt. This is probably
a little messier than the separate driver but there is about half the amount of
code compared to v1 so perhaps the messiness is worth it.

[1] - https://lore.kernel.org/linux-hwmon/20250806005127.542298-1-chris.packham@alliedtelesis.co.nz/

Chris Packham (2):
  dt-bindings: hwmon: ti,ina2xx: Add INA780 device
  hwmon: (ina238) Add support for INA780

 .../devicetree/bindings/hwmon/ti,ina2xx.yaml  |   1 +
 Documentation/hwmon/ina238.rst                |  20 ++
 drivers/hwmon/ina238.c                        | 255 ++++++++++++++----
 3 files changed, 224 insertions(+), 52 deletions(-)

-- 
2.50.1


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

end of thread, other threads:[~2025-08-28 21:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-08  3:05 [PATCH v2 0/2] hwmon: Add support for INA780 Chris Packham
2025-08-08  3:05 ` [PATCH v2 1/2] dt-bindings: hwmon: ti,ina2xx: Add INA780 device Chris Packham
2025-08-08 15:52   ` Conor Dooley
2025-08-08  3:05 ` [PATCH v2 2/2] hwmon: (ina238) Add support for INA780 Chris Packham
2025-08-27 16:04   ` Guenter Roeck
2025-08-27 23:28     ` Chris Packham
2025-08-28 12:09   ` Guenter Roeck
2025-08-28 20:28     ` Guenter Roeck
2025-08-28 21:22     ` Chris Packham
2025-08-28 21:52       ` Guenter Roeck

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