Messages in this thread | | | Date | Wed, 5 Aug 2009 19:37:04 +0800 | Subject | Re: [PATCH] Add watchdog driver for w90p910 | From | Wan ZongShun <> |
| |
Dear Wim,
>> +static irqreturn_t w90p910_wdt_irq(int irq, void *dev_id) >> +{ >> + w90p910_wdt_keepalive(); >> + return IRQ_HANDLED; >> +} > > How does the interrupt work? what does the watchdog do when it times out? > (Is there a datasheet available somewhere?) >
Here is the w90p910 datasheet link, now the ic was renames nuc910. Maybe you can give me a good idea, hmm, regarding the timer as your mentioned (at91sam9_wdt.c), I am studying it and will resubmit a updated patch to you. thanks a lot for your help !
http://www.nuvoton-usa.com/hq/enu/ProductAndSales/ProductLines/ConsumerElectronicsIC/ARMMicrocontroller/ARMMicrocontroller/NUC910A.htm
> >> +static int w90p910_wdt_settimeout(int new_time_level) >> +{ >> + unsigned int val; >> + >> + if ((new_time_level < 0) || (new_time_level > WDT_MAX_TIME_LEVEL)) > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |