Skip to content

hwmon: ina2xx: add support for TI INA236

Florian Fainelli linux-devicetree linux-hwmon 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 0 repliesNew

Changes in v2 from the cover letter

- Add patch 1 documenting the INA232 in the Kconfig help text and in Documentation/hwmon/ina2xx.rst
- Reuse the ina232 configuration for the INA236 instead of adding a separate enum value and a duplicated ina2xx_config[] entry
- List the INA236 in the Kconfig help text and in Documentation/hwmon/ina2xx.rst
- No changes to the dt-bindings patch

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hwmon: ina2xx: document INA232 supportDocumentation/hwmon/ina2xx.rst drivers/hwmon/Kconfig+15 -30 replies
2/3dt-bindings: hwmon: ina2xx: add ti,ina236 compatibleDocumentation/devicetree/bindings/hwmon/ti,ina2xx.yaml+3 -00 replies
3/3hwmon: ina2xx: add support for TI INA236 power monitorDocumentation/hwmon/ina2xx.rst drivers/hwmon/Kconfig drivers/hwmon/ina2xx.c+21 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] hwmon: ina2xx: add support for TI INA236

This series adds support for the TI INA236 current, voltage and power monitor to the ina2xx hwmon driver. The INA236 is electrically identical to the INA232 as far as this driver is concerned, so it reuses the existing ina232 configuration.

Patch 1 fills a documentation gap for the already supported INA232, patch 2 adds the ti,ina236 compatible to the binding and patch 3 adds the driver support along with its documentation.

Changes in v2:
- Add patch 1 documenting the INA232 in the Kconfig help text and in Documentation/hwmon/ina2xx.rst
- Reuse the ina232 configuration for the INA236 instead of adding a separate enum value and a duplicated ina2xx_config[] entry
- List the INA236 in the Kconfig help text and in Documentation/hwmon/ina2xx.rst
- No changes to the dt-bindings patch

Florian Fainelli (1):
hwmon: ina2xx: document INA232 support

Yuval Raviv (2):
dt-bindings: hwmon: ina2xx: add ti,ina236 compatible
hwmon: ina2xx: add support for TI INA236 power monitor

 .../devicetree/bindings/hwmon/ti,ina2xx.yaml  |  3 ++
 Documentation/hwmon/ina2xx.rst                | 28 +++++++++++++++++--
 drivers/hwmon/Kconfig                         |  3 +-
 drivers/hwmon/ina2xx.c                        |  5 ++++
 4 files changed, 35 insertions(+), 4 deletions(-)
Signature · 1 line
2.34.1