[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210620161223.16844-1-digetx@gmail.com>
Date: Sun, 20 Jun 2021 19:12:21 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: Zhang Rui <rui.zhang@...el.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Amit Kucheria <amitk@...nel.org>,
Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>
Cc: linux-hwmon@...r.kernel.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-tegra@...r.kernel.org
Subject: [PATCH v1 0/2] Support temperature trips by HWMON core and LM90 driver
Hi,
It's typical for embedded devices to use LM90-compatible sensor for
monitoring of CPU core and skin temperatures. The sensor is often
used by thermal zone that performs passive cooling and emergency
shutdown on overheat, hence it's more optimal to use interrupt for
a faster notification about temperature changes. Thermal framework
provides set_trips() callback for programming of temperature trips,
let's support it by HWMON.
Dmitry Osipenko (2):
hwmon: Support set_trips() of thermal device ops
hwmon: (lm90) Implement set_trips() callback
drivers/hwmon/hwmon.c | 12 ++++++++++++
drivers/hwmon/lm90.c | 30 ++++++++++++++++++++++++++++++
include/linux/hwmon.h | 9 +++++++++
3 files changed, 51 insertions(+)
--
2.30.2
Powered by blists - more mailing lists