watchdog: Add WDT driver for Atmel SAM SoCs
Basic Watchdog driver for Atmel SAM family MCUs. Currently only disabling the watchdog is supported. Tested on Atmel SAMV71 Xplained Ultra Evaluation Kit. Origin: Original Jira: ZEP-1684 Change-Id: I8f717c7f53aa290c944b7935e0570c2a6f53956e Signed-off-by: Souvik K Chakravarty <souvik.k.chakravarty@intel.com>
This commit is contained in:
parent
b08d655286
commit
8fa2f82524
5 changed files with 126 additions and 0 deletions
27
drivers/watchdog/Kconfig.sam
Normal file
27
drivers/watchdog/Kconfig.sam
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Kconfig - Atmel SAM WDT configuration
|
||||
#
|
||||
# Copyright (C) 2017 Intel Deutschland GmbH
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
menuconfig WDT_SAM
|
||||
bool "Atmel SAM MCU Family Watchdog (WDT) Driver"
|
||||
depends on SOC_FAMILY_SAM
|
||||
default y
|
||||
help
|
||||
Enable WDT driver for Atmel SAM MCUs.
|
||||
|
||||
config WDT_SAM_DISABLE_AT_BOOT
|
||||
bool "Disable WDT during boot"
|
||||
depends on WDT_SAM
|
||||
default y
|
||||
help
|
||||
Select this option to disable the WDT during boot.
|
||||
|
||||
config WDT_SAM_DEVICE_NAME
|
||||
string "Device name for Watchdog (WDT)"
|
||||
depends on WDT_SAM
|
||||
default "WDT"
|
||||
help
|
||||
Set the name used by WDT device during registration.
|
Loading…
Add table
Add a link
Reference in a new issue