[PATCH 0/4] ASoC: tas27{64,70}: Fixes for hwmon temperature readout
From: James Calligeros
Date: Fri Apr 24 2026 - 20:44:39 EST
Hi folks,
This series makes some fixes to the hwmon temperature reading
functionality added as part of [1].
- The arithmetic for TAS2770 was incorrect, leading to readings
which deviated from the true value sampled by the ADC.
- TAS2764 was returning the cached value for each read after the
first register sampling.
- Both chips were returning nonsense values before the ADC was
fully powered up, causing issues with some monitoring software.
Regards,
James
[1]: https://lore.kernel.org/all/20250406-apple-codec-changes-v5-0-50a00ec850a3@xxxxxxxxx/
Signed-off-by: James Calligeros <jcalligeros99@xxxxxxxxx>
---
James Calligeros (4):
ASoC: tas2764: Mark die temp register as volatile
ASoC: tas2764: Deal with bogus initial temperature register value
ASoC: tas2770: Fix order of operations for temperature calculation
ASoC: tas2770: Deal with bogus initial temperature value
sound/soc/codecs/tas2764.c | 22 ++++++++++++++--------
sound/soc/codecs/tas2770.c | 13 ++++++++++---
2 files changed, 24 insertions(+), 11 deletions(-)
---
base-commit: 7a69564045595263837fbd57e9f67e0507b04d8c
change-id: 20260425-tas27xx-hwmon-fixes-fc8540e81950
Best regards,
--
James Calligeros <jcalligeros99@xxxxxxxxx>