• Home
  • Raw
  • Download

Lines Matching +full:reset +full:- +full:assert +full:- +full:ms

11  * 2005-2006 (c) MontaVista Software, Inc.
38 /* WatchDog Timer - Chapter 23 Page 207 */
91 /* stop counter, initiate counter reset */ in pnx4008_wdt_start()
93 /*wait for reset to complete. 100% guarantee event */ in pnx4008_wdt_start()
96 /* internal and external reset, stop after that */ in pnx4008_wdt_start()
102 /* the longest pulse period 65541/(13*10^6) seconds ~ 5 ms. */ in pnx4008_wdt_start()
104 writel(wdd->timeout * WDOG_COUNTER_RATE, WDTIM_MATCH0(wdt_base)); in pnx4008_wdt_start()
125 wdd->timeout = new_timeout; in pnx4008_wdt_set_timeout()
137 * - For details, see the 'reboot' syscall in kernel/reboot.c in pnx4008_restart_handler()
138 * - If the received "cmd" is not supported, use the default mode. in pnx4008_restart_handler()
150 /* Internal reset on match output (RESOUT_N not asserted) */ in pnx4008_restart_handler()
153 /* Instant assert of RESETOUT_N with pulse length 1mS */ in pnx4008_restart_handler()
158 /* Wait for watchdog to reset system */ in pnx4008_restart_handler()
191 watchdog_init_timeout(&pnx4008_wdd, heartbeat, &pdev->dev); in pnx4008_wdt_probe()
194 wdt_base = devm_ioremap_resource(&pdev->dev, r); in pnx4008_wdt_probe()
198 wdt_clk = devm_clk_get(&pdev->dev, NULL); in pnx4008_wdt_probe()
208 pnx4008_wdd.parent = &pdev->dev; in pnx4008_wdt_probe()
216 dev_err(&pdev->dev, "cannot register watchdog device\n"); in pnx4008_wdt_probe()
220 dev_info(&pdev->dev, "heartbeat %d sec\n", pnx4008_wdd.timeout); in pnx4008_wdt_probe()
240 { .compatible = "nxp,pnx4008-wdt" },
248 .name = "pnx4008-watchdog",
272 MODULE_ALIAS("platform:pnx4008-watchdog");