summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTaha Ed-Dafili <0rayn.dev@gmail.com>2026-02-26 18:11:06 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-03-01 15:04:34 +0300
commitd6bd0e2745e66106dea47e3781275fa305492f02 (patch)
tree8ef50444fb138e0155d6aeb3a53bcf0299de29e7 /scripts
parent9fb007705c77b85bfad2d3d4818ebcd5fcfa9571 (diff)
downloadlinux-d6bd0e2745e66106dea47e3781275fa305492f02.tar.xz
docs: iio: adxl345: update event attributes and scaling math
Update the documentation to reflect the recent driver additions for event scaling and the double tap threshold value, alongside correcting existing technical errors in scale calculations. Key changes: - Fix the 62.5 g/LSB typo to 62.5 mg/LSB and add SI unit conversion. - Correct decimal precision of in_accel_scale and in_accel_scale_available to match the actual SI unit (m/s^2) values reported by the driver. - Document the newly generated event scale attributes in the ABI table (e.g., in_accel_mag_rising_scale, in_accel_gesture_singletap_scale). - Document the newly exposed in_accel_gesture_doubletap_value attribute. - Add a sysfs example showing how to read and interpret the newly implemented event scale factor. Suggested-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Taha Ed-Dafili <0rayn.dev@gmail.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions