mbox series

[0/2] watchdog: rti_wdt: Disable module when unused

Message ID 20231110100726.2930218-1-vigneshr@ti.com (mailing list archive)
Headers show
Series watchdog: rti_wdt: Disable module when unused | expand

Message

Vignesh Raghavendra Nov. 10, 2023, 10:07 a.m. UTC
This series adds couple of fixes to rti_wdt driver so that module is
disabled when unused. First patch is cleanup to use devm_* API and
second patch drops RPM count when unused.

On K3 SoCs, each RTI is paired to a CPU/GPU core. So disabling such
cores (CPU hotplug) would require corresponding RTIs to be off. This
series enables hotplug of the core, if the corresponding watchdog was
unused.


Vignesh Raghavendra (2):
  watchdog: rti_wdt: Use managed APIs to handle runtime PM
  watchdog: rti_wdt: Drop RPM watchdog when unused

 drivers/watchdog/rti_wdt.c | 39 +++++++++++++++++---------------------
 1 file changed, 17 insertions(+), 22 deletions(-)