devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ninad Malwade <nmalwade@nvidia.com>
To: <jdelvare@suse.com>, <linux@roeck-us.net>, <robh+dt@kernel.org>,
	<krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>,
	<thierry.reding@gmail.com>, <jonathanh@nvidia.com>,
	<linux-hwmon@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-tegra@vger.kernel.org>
Cc: Ninad Malwade <nmalwade@nvidia.com>
Subject: [PATCH V2 0/4] hwmon: ina3221: Add selective summation support
Date: Sat, 26 Aug 2023 00:42:45 +0800	[thread overview]
Message-ID: <20230825164249.22860-1-nmalwade@nvidia.com> (raw)

The current INA3221 driver always sums the shunt voltage for all enabled
channels regardless of the shunt-resistor used for each channel. Summing
the shunt-voltage for channels is only meaningful if the shunt resistor
is the same for each channel. This series adds device-tree support to
allow which channels are summed in device-tree.

Jon Hunter (2):
  dt-bindings: hwmon: ina3221: Add summation-bypass
  arm64: tegra: Populate ina3221 for Tegra234 boards

Ninad Malwade (1):
  hwmon: ina3221: Add selective support for summation channel control

Thierry Reding (1):
  dt-bindings: hwmon: ina3221: Convert to json-schema

 .../devicetree/bindings/hwmon/ina3221.txt     |  54 --------
 .../devicetree/bindings/hwmon/ti,ina3221.yaml | 127 ++++++++++++++++++
 .../arm64/boot/dts/nvidia/tegra234-p3701.dtsi |  53 ++++++++
 .../arm64/boot/dts/nvidia/tegra234-p3767.dtsi |  29 ++++
 drivers/hwmon/ina3221.c                       |  39 +++++-
 5 files changed, 243 insertions(+), 59 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/hwmon/ina3221.txt
 create mode 100644 Documentation/devicetree/bindings/hwmon/ti,ina3221.yaml

-- 
2.17.1


             reply	other threads:[~2023-08-25 16:44 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-25 16:42 Ninad Malwade [this message]
2023-08-25 16:42 ` [PATCH V2 1/4] dt-bindings: hwmon: ina3221: Convert to json-schema Ninad Malwade
2023-08-26  8:53   ` Krzysztof Kozlowski
2023-08-29 12:46     ` Jon Hunter
2023-08-29 17:16       ` Krzysztof Kozlowski
2023-09-01 16:34     ` Jon Hunter
2023-09-01 16:44       ` Guenter Roeck
2023-09-05 12:21         ` Jon Hunter
2023-08-25 16:42 ` [PATCH V2 2/4] dt-bindings: hwmon: ina3221: Add summation-bypass Ninad Malwade
2023-08-26  8:56   ` Krzysztof Kozlowski
2023-08-29 12:48     ` Jon Hunter
2023-08-29 17:19       ` Krzysztof Kozlowski
2023-08-25 16:42 ` [PATCH V2 3/4] hwmon: ina3221: add support for summation channel control Ninad Malwade
2023-08-25 21:08   ` kernel test robot
2023-08-29 13:27   ` Guenter Roeck
2023-08-25 16:42 ` [PATCH V2 4/4] arm64: tegra: Populate ina3221 for Tegra234 boards Ninad Malwade
2023-08-25 17:11 ` [PATCH V2 0/4] hwmon: ina3221: Add selective summation support Guenter Roeck
2023-08-29 12:52   ` Jon Hunter
2023-08-29 13:02     ` 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=20230825164249.22860-1-nmalwade@nvidia.com \
    --to=nmalwade@nvidia.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jdelvare@suse.com \
    --cc=jonathanh@nvidia.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=robh+dt@kernel.org \
    --cc=thierry.reding@gmail.com \
    /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).