[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <79da1c83-0529-48cb-a20d-23512f68397e@roeck-us.net>
Date: Thu, 13 Nov 2025 09:18:30 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Wenliang Yan <wenliang202407@....com>
Cc: Jean Delvare <jdelvare@...e.com>, christophe.jaillet@...adoo.fr,
conor+dt@...nel.org, corbet@....net, devicetree@...r.kernel.org,
krzk+dt@...nel.org, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org, robh@...nel.org
Subject: Re: [PATCH 7/8] hwmon:(ina3221)Support read/write functions for
'power' attribute
On Tue, Nov 11, 2025 at 03:05:45AM -0500, Wenliang Yan wrote:
> SQ52210 adds power attribute to report power data, and implements
> read/write functions for this purpose.
>
> Signed-off-by: Wenliang Yan <wenliang202407@....com>
> ---
> drivers/hwmon/ina3221.c | 79 ++++++++++++++++++++++++++++++++++++++---
> 1 file changed, 75 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/hwmon/ina3221.c b/drivers/hwmon/ina3221.c
> index abb6049c8eab..ea01687ad1fa 100644
> --- a/drivers/hwmon/ina3221.c
> +++ b/drivers/hwmon/ina3221.c
> @@ -348,19 +348,16 @@ static const u8 ina3221_in_reg[] = {
> INA3221_SHUNT3,
> INA3221_SHUNT_SUM,
> };
> -
> static const u8 alert_limit_reg[] = {
> SQ52210_ALERT_LIMIT1,
> SQ52210_ALERT_LIMIT2,
> SQ52210_ALERT_LIMIT3,
> };
> -
> static const u8 alert_flag[] = {
> F_AFF1,
> F_AFF2,
> F_AFF3,
> };
> -
Please refrain from making such cosmetic changes.
Guenter
Powered by blists - more mailing lists