Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] iio: accel: fxls8962af: Fix temperature readings
@ 2025-05-02  6:15 Sean Nyekjaer
  2025-05-02  6:15 ` [PATCH v2 1/2] iio: accel: fxls8962af: Fix temperature calculation Sean Nyekjaer
  2025-05-02  6:15 ` [PATCH v2 2/2] iio: accel: fxls8962af: Fix sign temperature scan element Sean Nyekjaer
  0 siblings, 2 replies; 8+ messages in thread
From: Sean Nyekjaer @ 2025-05-02  6:15 UTC (permalink / raw)
  To: Jonathan Cameron, Marcelo Schmitt, Lars-Peter Clausen,
	Andy Shevchenko
  Cc: Jonathan Cameron, linux-iio, linux-kernel, Sean Nyekjaer, stable

Add the correct scale to get temperature in mili degree Celcius.
Add sign component to temperature scan element.

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
---
Changes in v2:
- Correct offset is applied before scaling component 
- Added sign component to temperature scan element
- Link to v1: https://lore.kernel.org/r/20250501-fxls-v1-1-f54061a07099@geanix.com

---
Sean Nyekjaer (2):
      iio: accel: fxls8962af: Fix temperature calculation
      iio: accel: fxls8962af: Fix sign temperature scan element

 drivers/iio/accel/fxls8962af-core.c | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
---
base-commit: 609bc31eca06c7408e6860d8b46311ebe45c1fef
change-id: 20250501-fxls-307ef3d6d065

Best regards,
-- 
Sean Nyekjaer <sean@geanix.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-05-04 15:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-02  6:15 [PATCH v2 0/2] iio: accel: fxls8962af: Fix temperature readings Sean Nyekjaer
2025-05-02  6:15 ` [PATCH v2 1/2] iio: accel: fxls8962af: Fix temperature calculation Sean Nyekjaer
2025-05-02 14:19   ` Andy Shevchenko
2025-05-04 15:46     ` Jonathan Cameron
2025-05-03 13:41   ` Marcelo Schmitt
2025-05-02  6:15 ` [PATCH v2 2/2] iio: accel: fxls8962af: Fix sign temperature scan element Sean Nyekjaer
2025-05-03 13:57   ` Marcelo Schmitt
2025-05-04 15:49     ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox