Re: [PATCH] ina3221: add support for summation channel control

Krzysztof Kozlowski
2022-11-08T13:03:48Z

On 08/11/2022 05:52, Ninad Malwade wrote:
> Add support to initialize summation channel control via kernel device
> tree property "summation-bypass". The channel which has this property
> is excluded from channel summation.
>
> Signed-off-by: Ninad Malwade <nmalwade@nvidia.com>

Please use scripts/get_maintainers.pl to get a list of necessary people
and lists to CC. It might happen, that command when run on an older
kernel, gives you outdated entries. Therefore please be sure you base
your patches on recent Linux kernel.

You skipped not only one, but all DT maintainers and mailing lists...

> ---
> .../devicetree/bindings/hwmon/ina3221.txt | 2 ++
> drivers/hwmon/ina3221.c | 14 ++++++++++++--

DT bindings and driver changes are separate patches.

> 2 files changed, 14 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/hwmon/ina3221.txt b/Documentation/devicetree/bindings/hwmon/ina3221.txt
> index fa63b6171407..c6e8e6aafcce 100644
> --- a/Documentation/devicetree/bindings/hwmon/ina3221.txt
> +++ b/Documentation/devicetree/bindings/hwmon/ina3221.txt
> @@ -29,6 +29,7 @@ Texas Instruments INA3221 Device Tree Bindings
> Optional properties:
> - label: Name of the input source
> - shunt-resistor-micro-ohms: Shunt resistor value in micro-Ohm
> + - summation-bypass: exclude from channel summation.

Convert to DT schema first.

Best regards,
Krzysztof