thermal/drivers/k3: Add hwmon support
authorMassimiliano Minella <massimiliano.minella@gmail.com>
Fri, 1 Apr 2022 15:13:51 +0000 (17:13 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 19 May 2022 10:11:51 +0000 (12:11 +0200)
commit9e5f5f15fef5efd6847b8802e509b67fce72e2fb
tree2c43e0b2464da98d5cd90f7cf62e250945e6edde
parent96f6f333bcf082756a01a7dc5cc7d4898e11b31b
thermal/drivers/k3: Add hwmon support

Expose the thermal sensors on K3 AM654 as hwmon devices, so that
temperatures could be read using lm-sensors.

Signed-off-by: Massimiliano Minella <massimiliano.minella@gmail.com>
Link: https://lore.kernel.org/r/20220401151656.913166-1-massimiliano.minella@se.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/k3_bandgap.c