i am implementing APIs for external watchdog in iwr 6443.the iwr 6443 will keep on sending 150ms low and 50ms high signal to Power management IC(PMIC). if iwr 6443 fails and stop responding, then 150ms low and 50ms high signal will not be sent to PMIC. So PMIC will monitor this and start sending 10ms low signal in each 5 sec interval to WARM_RESET pin of iwr 6443. So iwr 6443 will reset. So i can get 10ms low signal in each 5 sec interval to WARM_RESET pin of iwr6443 which perform warm rest the processor. Using watchdog_open(),watchdog_control() etc ...APIs, I am trying to implement watchdog .But due to some issue warm reset is not occurring.
Below find the APIs i implemented. Please let me know, What are the changes should i do , to detect 10ms low signal in WARM_REST pin and cause processor warm reset.