Skip to content

iio: temperature: mlx90632: Add extended calibration calculations

Crt Mori linux-iio lkml 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest5 patches 3 repliesIn review
  2. v55 patches 15 repliesSuperseded
  3. v44 patches 11 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v32 patches4 repliesSuperseded
v2 posting 2/21 of 2 patches0 repliesSuperseded
v2 posting 1/21 patch0 repliesSuperseded
v11 patch2 repliesSuperseded

V5 from the cover letter

- Add style changes patch along with current series.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5iio:temperature:mlx90632: Reduce number of equal calulcationsdrivers/iio/temperature/mlx90632.c+13 -80 replies
2/5iio:temperature:mlx90632: Add kerneldoc to the internal structdrivers/iio/temperature/mlx90632.c+8 -10 replies
3/5iio:temperature:mlx90632: Convert polling while loop to regmapdrivers/iio/temperature/mlx90632.c+5 -111 reply
4/5iio:temperature:mlx90632: Adding extended calibration optiondrivers/iio/temperature/mlx90632.c+216 -20 replies
5/5iio:temperature:mlx90632: Some stylefixing leftoversdrivers/iio/temperature/mlx90632.c+5 -51 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAndy Shevchenko
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/5] iio: temperature: mlx90632: Add extended calibration calculations

Add extended calibration calculations for the new subversion of DSP5.

V6 review comments from Andy Shevchenko <[email protected]:
- Covert all while loops to regmap_read_poll_timeout or read_poll_timeout even though udelay of more than 20ms is used in the second. Problem was, that timeout needs to be 800ms, while polling frequency could be 20ms, but we konw that that will generate more noise on line than needed. Did some tests and current number combination seems best. This also caused that commit messages were adjusted.
V5 review comments from Andy Shevchenko <[email protected]:
- Swap order of patches to avoid re-doing the calculations
- Add fixed name defines for Ambient and Object RAM temperature channels as per suggestion of the Jonathan Cameron <[email protected]>
V5:
- Add style changes patch along with current series.

V4 review comments from Andy Shevchenko <[email protected]>:
- Move the function creation for Ta4 to first patch
- Add kernel doc patch for documenting internal struct
- Add patch to convert while loops to do-while loops for polling

V3 review comments from Andy Shevchenko <[email protected]>:
- Change commit message text to more proper English as per suggestions
- Drop unneeded brackets and parentheses
- Use defines from limits.h
- Remove userspace typedefs as leftovers from porting
- Testing of timeout loops with iopoll.h was no successful, because delay between measurements is 10ms, but we need to fill at least 3 channels, so final timeout should be 40ms which is out of scope of usleep function
- Fixing some typos in comments

V2 review comments from Andy Shevchenko <[email protected]>:
- Convert divison back to shifts to make it more readable

Crt Mori (5):
iio:temperature:mlx90632: Reduce number of equal calulcations iio:temperature:mlx90632: Add kerneldoc to the internal struct iio:temperature:mlx90632: Convert polling while loop to regmap iio:temperature:mlx90632: Adding extended calibration option iio:temperature:mlx90632: Some stylefixing leftovers

 drivers/iio/temperature/mlx90632.c | 274 ++++++++++++++++++++++++++---
 1 file changed, 247 insertions(+), 27 deletions(-)
Signature · 1 line
2.25.1