]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: codecs: wsa883x: Implement temperature reading and hwmon
authorAlexey Klimov <alexey.klimov@linaro.org>
Fri, 21 Feb 2025 03:21:41 +0000 (03:21 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 3 Mar 2025 13:00:04 +0000 (13:00 +0000)
commita02c42d41af7d66db71ca43c52531c3253ebe35e
tree30ee71ce00f3c6aa3dafa73f3114dd71f23fda0c
parentfeb849404a8b677aa6760d1539acf597e4574337
ASoC: codecs: wsa883x: Implement temperature reading and hwmon

Read temperature of the amplifier and expose it via hwmon interface, which
will be later used during calibration of speaker protection algorithms.
The method is the same as for wsa884x and therefore this is based on
Krzysztof Kozlowski's approach implemented in commit 6b99dc62d940 ("ASoC:
codecs: wsa884x: Implement temperature reading and hwmon").

Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Steev Klimaszewski <steev@kali.org>
Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org>
Tested-by: Steev Klimaszewski <steev@kali.org> #Thinkpad X13s
Link: https://patch.msgid.link/20250221032141.1206902-1-alexey.klimov@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wsa883x.c