On Wed, Aug 17, 2022 at 05:43:21AM +0000, Eliav Farber wrote:The driver equation is:
This change adds debugfs to read and write TS coefficients - g, h, j and
cal5.
The coefficients can vary between product and product, so to calibrate
them it can be very useful to to be able to modify them on the fly.
e.g.
cat /sys/kernel/debug/940f23d0000.pvt/ts_coeff_cal5
4096
echo 83000 > sys/kernel/debug/940f23d0000.pvt/ts_coeff_g
What happens if you write 0 into all those attributes, or 0xffffffff ?