Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH v1 0/1] power: supply: generic-adc-battery: Fix temperature IIO channel conversion
@ 2026-09-26 14:29 Svyatoslav Ryhel
  2026-09-26 14:29 ` [PATCH v1 1/1] " Svyatoslav Ryhel
  0 siblings, 1 reply; 3+ messages in thread
From: Svyatoslav Ryhel @ 2026-09-26 14:29 UTC (permalink / raw)
  To: Sebastian Reichel, Linus Walleij, Matti Vaittinen; +Cc: linux-pm, linux-kernel

Temperature IIO channel data is provided in milli-degrees, while
POWER_SUPPLY_PROP_TEMP is expected to be in deci-degrees. Adjust the
existing logic to reflect this conversion properly.

Svyatoslav Ryhel (1):
  power: supply: generic-adc-battery: Fix temperature IIO channel
    conversion

 drivers/power/supply/generic-adc-battery.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

-- 
2.53.0


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

end of thread, other threads:[~2026-10-04 17:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-26 14:29 [PATCH v1 0/1] power: supply: generic-adc-battery: Fix temperature IIO channel conversion Svyatoslav Ryhel
2026-09-26 14:29 ` [PATCH v1 1/1] " Svyatoslav Ryhel
2026-10-04 17:47   ` Sebastian Reichel

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