[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190416201135.GA25166@roeck-us.net>
Date: Tue, 16 Apr 2019 13:11:35 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Nicolin Chen <nicoleotsuka@...il.com>
Cc: jdelvare@...e.com, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org, corbet@....net,
linux-doc@...r.kernel.org
Subject: Re: [PATCH v2] hwmon: (ina3221) Add averaging mode support
On Tue, Apr 16, 2019 at 12:41:31PM -0700, Nicolin Chen wrote:
> The CONFIG register has a 3-bit averaging mode field for users
> to setup the number of samples that are collected and averaged
> together. This is very useful to filter noise from sensor data.
>
> This patch adds a 'samples' sysfs node using hwmon_chip_samples
> of hwmon core, and updates wait time calculation by taking this
> samples value into account.
>
> Signed-off-by: Nicolin Chen <nicoleotsuka@...il.com>
Applied to hwmon-next.
Thanks,
Guenter
Powered by blists - more mailing lists