Skip to content

UPSTREAM-PEND: drivers: watchdog: wdt_ti_rti: Add rti-mode property for reset or NMI#32

Merged
soumya-TI merged 4 commits into
TexasInstruments:v4.3.0-ti-nextfrom
Sunil-Hegde:am62l-watchdog-downstream
Apr 15, 2026
Merged

UPSTREAM-PEND: drivers: watchdog: wdt_ti_rti: Add rti-mode property for reset or NMI#32
soumya-TI merged 4 commits into
TexasInstruments:v4.3.0-ti-nextfrom
Sunil-Hegde:am62l-watchdog-downstream

Conversation

@Sunil-Hegde

Copy link
Copy Markdown
  • Currently the driver only supports NMI mode for a watchdog violation.
  • Add reset-capable property to the bindings if the SoC has support for reset on violation
  • If IRQs are provided in the DT, NMI mode is supported
  • If IRQs are provided and reset-capable property is set in DT, the mode can set based on provided flags in the application.
  • AM62l supports reset mode hence add the required property and interrupts to the DT nodes. Also, set status and alias for main_rti0 in the board DT.

Tested on AM62L_EVM

Sunil Hegde added 4 commits April 14, 2026 12:30
PR: 105913

Currently all boards use the driver which only configures
NMI mode for a window violation. With this change:
 - If interrupts are present in the DT, hardware is NMI capable
 - If reset-capable property is true, hardware can generate a reset

By this we can define the capabilities of the hardware based on
which the driver can configure NMI or Reset mode. The existing
nodes in the boards which support NMI  will not be affected
since all of them provide IRQ numbers.

Signed-off-by: Sunil Hegde <s-hegde3@ti.com>
PR: 105913

If DT has IRQ defined, the board supports NMI mode, if reset-capable
property is set then the board can support reset as well. Based
on these DT properties and the flags passed by the application,
NMI mode or Reset mode can be set.

Signed-off-by: Sunil Hegde <s-hegde3@ti.com>
PR: 105913

 - Add scmi clocks for both RTI0 and RTI1 nodes.
 - Add reset-capable property so that the driver can configure
   reset mode supported by AM62L boards.

Signed-off-by: Sunil Hegde <s-hegde3@ti.com>
PR: 105913

Set status for watchdog node and also add an alias for watchdog.

Signed-off-by: Sunil Hegde <s-hegde3@ti.com>
@Sunil-Hegde
Sunil-Hegde force-pushed the am62l-watchdog-downstream branch from 6da3cb0 to 8e91c37 Compare April 14, 2026 07:01
@soumya-TI
soumya-TI merged commit 5c8f9cb into TexasInstruments:v4.3.0-ti-next Apr 15, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants