mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/6] iio: adc: versal-sysmon: Add OT alarm, shutdown and thermal zone support
@ 2026-11-02 12:21 Amit Kumar Mahapatra
  2026-11-02 12:21 ` [PATCH 1/6] iio: adc: versal-sysmon: fix race in interrupt teardown Amit Kumar Mahapatra
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Amit Kumar Mahapatra @ 2026-11-02 12:21 UTC (permalink / raw)
  To: Jonathan Cameron, Michal Simek, Sai Krishna Potthuri,
	David Lechner, Nuno Sá,
	Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-iio, devicetree, linux-arm-kernel, linux-kernel,
	amitrkcian2002, Amit Kumar Mahapatra

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-11-02 14:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 12:21 [PATCH 0/6] iio: adc: versal-sysmon: Add OT alarm, shutdown and thermal zone support Amit Kumar Mahapatra
2026-11-02 12:21 ` [PATCH 1/6] iio: adc: versal-sysmon: fix race in interrupt teardown Amit Kumar Mahapatra
2026-11-02 12:21 ` [PATCH 2/6] iio: adc: versal-sysmon: validate temperature hysteresis Amit Kumar Mahapatra
2026-11-02 12:21 ` [PATCH 3/6] iio: adc: versal-sysmon: disable interrupts on shutdown Amit Kumar Mahapatra
2026-11-02 12:21 ` [PATCH 4/6] iio: adc: versal-sysmon: add over-temperature alarm events Amit Kumar Mahapatra
2026-11-02 12:21 ` [PATCH 5/6] arm64: versal-net: Add SysMon and thermal zone Amit Kumar Mahapatra
2026-11-02 14:53   ` Michal Simek
2026-11-02 12:21 ` [PATCH 6/6] MAINTAINERS: update Versal SysMon maintainers Amit Kumar Mahapatra
2026-11-02 12:53   ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®