Home
last modified time | relevance | path

Searched hist:"3 aa74796cfd038310f68c7e67c804224e5b43809" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hwmon/pmbus/
H A Dpmbus_core.cdiff 3aa74796cfd038310f68c7e67c804224e5b43809 Thu Apr 28 12:49:26 CDT 2022 Eduardo Valentin <eduval@amazon.com> hwmon: (pmbus) Register with thermal for PSC_TEMPERATURE

Some pmbus device drivers have device tree support and
may want to use of-thermal to register a thermal zone
OF sensor for those device drivers.

This way we allow describing device tree thermal zones
for pmbus device drivers with device tree support.

This patch achieves this by registering pmbus sensors
with thermal subsystem if they are PSC_TEMPERATURE
and are providing _input hwmon interface.

Cc: Guenter Roeck <linux@roeck-us.net> (maintainer:PMBUS HARDWARE MONITORING DRIVERS)
Cc: Jean Delvare <jdelvare@suse.com> (maintainer:HARDWARE MONITORING)
Cc: linux-hwmon@vger.kernel.org (open list:PMBUS HARDWARE MONITORING DRIVERS)
Cc: linux-kernel@vger.kernel.org (open list)
Signed-off-by: Eduardo Valentin <eduval@amazon.com>
Signed-off-by: Eduardo Valentin <evalenti@kernel.org>
Link: https://lore.kernel.org/r/20220428174926.2150-1-eduval@amazon.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>