[PATCH Resend] Watchdog: Adding support for Watchdog found with ARM CortexA9

Viresh KUMAR viresh.kumar at st.com
Mon May 17 06:32:49 EDT 2010


On 5/17/2010 3:49 PM, Shilimkar, Santosh wrote:
> <snip>
>> -----Original Message-----
>> From: linux-arm-kernel-bounces at lists.infradead.org [mailto:linux-arm-kernel-
>> bounces at lists.infradead.org] On Behalf Of Viresh KUMAR
>> Sent: Monday, May 17, 2010 3:29 PM
>> To: linux-arm-kernel at lists.infradead.org
>> Cc: armando.visconti at st.com; shiraz.hashim at st.com; Viresh Kumar; linus.walleij at stericsson.com
>> Subject: [PATCH Resend] Watchdog: Adding support for Watchdog found with ARM CortexA9
>>
>> Watchdog details can be found in ARM Cortex A9 reference manual at:
>> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0407e/indix.html
>>
>> Signed-off-by: Viresh Kumar <viresh.kumar at st.com>
>> ---
>>  drivers/watchdog/Kconfig        |    7 +
>>  drivers/watchdog/Makefile       |    1 +
>>  drivers/watchdog/cortexa9_wdt.c |  414 +++++++++++++++++++++++++++++++++++++++
>>  3 files changed, 422 insertions(+), 0 deletions(-)
>>  create mode 100644 drivers/watchdog/cortexa9_wdt.c
>>
>> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
>> index 0bf5020..b5c0f6f 100644
>> --- a/drivers/watchdog/Kconfig
>> +++ b/drivers/watchdog/Kconfig
>> @@ -73,6 +73,13 @@ config WM8350_WATCHDOG
>>
>>  # ARM Architecture
>>
>> +config ARM_CORTEXA9_WATCHDOG
>> +	tristate "ARM CortexA9 Watchdog"
>> +	depends on ARM_AMBA
> 
> What is the ARM_AMBA dependency with CA-9 watchdog?

Not really on amba, rather on ARM. Or CPU_V7 (cortex related)?
Maybe some other ARM core also have similar design,
so can keep it dependent on ARM. Does this looks fine?

viresh



More information about the linux-arm-kernel mailing list