[PATCH 0/6] iio: adc: versal-sysmon: Add OT alarm, shutdown and thermal zone support
Amit Kumar Mahapatra
amit.kumar-mahapatra at amd.com
Mon Nov 2 04:21:06 PST 2026
This patch series:
- Fixes a race between the interrupt teardown and the interrupt handler
- Validates the temperature hysteresis written by userspace and read
from hardware at probe
- Adds a .shutdown callback so the SysMon alarm interrupts are disabled
when the system shuts down or kexecs into another kernel
- Adds the over-temperature (OT) alarm as an event-only channel labelled
"ot", alongside the existing device temperature event
- Updates the Versal SysMon maintainers: removes Salih Erim, who is no
longer with AMD, and adds myself
- Describes the SysMon in the Versal NET device tree, with a thermal
zone on its device temperature
- Adds thermal zone support for the SysMon using the existing
generic-adc-thermal driver
Amit Kumar Mahapatra (6):
iio: adc: versal-sysmon: fix race in interrupt teardown
iio: adc: versal-sysmon: validate temperature hysteresis
iio: adc: versal-sysmon: disable interrupts on shutdown
iio: adc: versal-sysmon: add over-temperature alarm events
arm64: versal-net: Add SysMon and thermal zone
MAINTAINERS: update Versal SysMon maintainers
MAINTAINERS | 2 +-
arch/arm64/boot/dts/xilinx/versal-net.dtsi | 29 ++++
drivers/iio/adc/versal-sysmon-core.c | 158 +++++++++++++++++----
drivers/iio/adc/versal-sysmon.c | 6 +
drivers/iio/adc/versal-sysmon.h | 15 +-
5 files changed, 182 insertions(+), 28 deletions(-)
base-commit: a3b3580713f3ac5a32dc2874ee546828977a1d68
--
2.34.1
More information about the linux-arm-kernel
mailing list