[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250715012023.2050178-1-sean.anderson@linux.dev>
Date: Mon, 14 Jul 2025 21:20:16 -0400
From: Sean Anderson <sean.anderson@...ux.dev>
To: Jonathan Cameron <jic23@...nel.org>,
Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
linux-iio@...r.kernel.org,
linux-hwmon@...r.kernel.org
Cc: Andy Shevchenko <andy@...nel.org>,
Nuno Sá <nuno.sa@...log.com>,
linux-kernel@...r.kernel.org,
David Lechner <dlechner@...libre.com>,
Sean Anderson <sean.anderson@...ux.dev>
Subject: [PATCH 0/7] hwmon: iio: Add alarm support
Add alarm support for IIO HWMONs as well as the minimum/maximum
thresholds. This involves the creation of two new in-kernel IIO APIs to
set the thresholds and be notified of events.
I think this should probably go through the iio tree given the amount of
IIO stuff it touches.
Sean Anderson (7):
math64: Add div64_s64_rem
iio: inkern: Add API for reading/writing events
iio: Add in-kernel API for events
hwmon: iio: Refactor scale calculation into helper
hwmon: iio: Add helper function for creating attributes
hwmon: iio: Add min/max support
hwmon: iio: Add alarm support
drivers/hwmon/iio_hwmon.c | 522 ++++++++++++++++++++++++++++---
drivers/iio/industrialio-event.c | 34 +-
drivers/iio/inkern.c | 198 ++++++++++++
include/linux/iio/consumer.h | 86 +++++
include/linux/math64.h | 18 ++
lib/math/div64.c | 20 ++
6 files changed, 830 insertions(+), 48 deletions(-)
--
2.35.1.1320.gc452695387.dirty
Powered by blists - more mailing lists