[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220919132215.GA3547503@roeck-us.net>
Date: Mon, 19 Sep 2022 06:22:15 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Eliav Farber <farbere@...zon.com>
Cc: jdelvare@...e.com, robh+dt@...nel.org, p.zabel@...gutronix.de,
rtanwar@...linear.com, andriy.shevchenko@...el.com,
linux-hwmon@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, hhhawa@...zon.com, jonnyc@...zon.com
Subject: Re: [PATCH v5 20/21] hwmon: (mr75203) add debugfs to read and write
temperature coefficients
On Thu, Sep 08, 2022 at 03:24:48PM +0000, Eliav Farber wrote:
> This change adds debugfs to read and write temperature sensor coefficients
> - g, h, j and cal5.
>
> The coefficients can vary between product and product, so it can be very
> useful to be able to modify them on the fly during the calibration
> process.
>
> e.g.:
>
> cat /sys/kernel/debug/940f23d0000.pvt/ts_coeff_cal5
> 4096
>
> echo 83000 > sys/kernel/debug/940f23d0000.pvt/ts_coeff_g
>
> Signed-off-by: Eliav Farber <farbere@...zon.com>
Applied to hwmon-next.
Thanks,
Guenter
Powered by blists - more mailing lists