diff options
| author | Christian Marangi <ansuelsmth@gmail.com> | 2026-07-02 11:48:33 +0200 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2026-07-27 16:02:21 +0200 |
| commit | 86741c9128629a3059a0a759b665442958dedea0 (patch) | |
| tree | 9a65b789fe540bea16c03d51c438715ff280885f /include/linux/timerqueue_types.h | |
| parent | 62f6a66189b161d475dbdb31055b3ce8963cc418 (diff) | |
thermal/drivers/airoha: Generalize get_thermal_ADC and set_mux function
In preparation for support of Airoha AN7583, generalize
get_thermal_ADC() and set_thermal_mux() with the use of reg_field API.
This is to take into account the same logic between the current
supported SoC and the new one but with different register address.
While at it also further improve some comments and move sleep inside the
set_thermal_mux function.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Link: https://patch.msgid.link/20260702094846.17325-6-ansuelsmth@gmail.com
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
