LS1021A watchdog interrupt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1021A watchdog interrupt

933 Views
keestrommel
Contributor IV

The watchdog of the LS1021A has besides the watchdog reset the capability to generate an interrupt when the watchdog is not serviced with a certain time. However from the reference manual it is not clear which interrupt is generated.

I like to write an interrupt handler for the watchdog interrupt that will call "panic" so that I can investigate what the CPU is doing when the watchdog is not serviced in time. Which IRQ must be used to bind my watchdog interrupt handler with the watchdog interrupt by means of the "request_irq" kernel API?

Labels (1)
0 Kudos
Reply
1 Reply

728 Views
keestrommel
Contributor IV

The attached patch file enables the watchdog interrupt and adds a watchdog interrupt ISR that calls "panic".

0 Kudos
Reply