[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e68bb3470908050437ma86dddem7621bb7d0da82607@mail.gmail.com>
Date: Wed, 5 Aug 2009 19:37:04 +0800
From: Wan ZongShun <mcuos.com@...il.com>
To: Wim Van Sebroeck <wim@...ana.be>
Cc: linux-arm-kernel <linux-arm-kernel@...ts.arm.linux.org.uk>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Add watchdog driver for w90p910
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists