Re: [PATCH v2 4/4] docs: iio: adxl345: update math and examples for scaling
From: Jonathan Cameron
Date: Sat Feb 07 2026 - 11:20:57 EST
On Sun, 1 Feb 2026 13:33:13 -0500
Taha Ed-Dafili <0rayn.dev@xxxxxxxxx> wrote:
> Update the documentation to reflect the addition of event scaling
> and correct existing technical errors inscale values.
Trivial but please wrap commit messages to 75 chars.
>
> 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 actual SI unit (m/s^2)
> values reported by the driver.
> - Add sysfs example showing how to read and interpret the
> newly implemented event scale factor.
>
> Suggested-by: Jonathan Cameron <jic23@xxxxxxxxxx>
> Signed-off-by: Taha Ed-Dafili <0rayn.dev@xxxxxxxxx>
As David suggested, better to just document the scale attribute and not
add it to all the others.
Jonathan