thermal/drivers/mediatek: Add sensors-support
authorFrank Wunderlich <frank-w@public-files.de>
Tue, 8 Jun 2021 15:45:30 +0000 (17:45 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sun, 4 Jul 2021 16:28:04 +0000 (18:28 +0200)
commit24e21d9f40ec3fb4228e3427454b733316a2a6c6
treebcf1fbdebc9827d6a94c0cc5dafe1314c6cfc5e0
parentacd65d5d1cf4a3324c8970ba74632abe069fe23e
thermal/drivers/mediatek: Add sensors-support

Add HWMON-support to mediateks thermal driver to allow lm-sensors
userspace tools read soc temperature

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210608154530.70074-1-linux@fw-web.de
drivers/thermal/mtk_thermal.c