aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon/pwm-fan.c
diff options
context:
space:
mode:
authorEliav Farber <farbere@amazon.com>2022-09-08 15:24:48 +0000
committerGuenter Roeck <linux@roeck-us.net>2022-09-19 06:21:53 -0700
commita4dd0b80b461a4cf2238013a43ff1bd6077c8056 (patch)
tree51bab9b90492bc6baeefa9e26e376f2f2ec7b603 /drivers/hwmon/pwm-fan.c
parent27937d6f8eda4ec8179384764fc5a658d4a6060c (diff)
downloadlinux-a4dd0b80b461a4cf2238013a43ff1bd6077c8056.tar.gz
linux-a4dd0b80b461a4cf2238013a43ff1bd6077c8056.tar.bz2
linux-a4dd0b80b461a4cf2238013a43ff1bd6077c8056.zip
hwmon: (mr75203) add debugfs to read and write temperature coefficients
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@amazon.com> Link: https://lore.kernel.org/r/20220908152449.35457-21-farbere@amazon.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions