wdt: dw: Add support for optional clock gating
Clock gating is platform specific and not mandatory. Thus making it Kconfig based as well as generic. Change-Id: I4ea10eadb077ac3d57c9337b43b1a9fb14763302 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
61c15ba1e1
commit
04f5cfb889
6 changed files with 78 additions and 14 deletions
|
@ -170,6 +170,12 @@ endif
|
|||
if WATCHDOG
|
||||
config WDT_DW
|
||||
def_bool y
|
||||
config WDT_DW_CLOCK_GATE
|
||||
def_bool n
|
||||
config WDT_DW_CLOCK_GATE_DRV_NAME
|
||||
default CLOCK_CONTROL_QUARK_SE_PERIPHERAL_DRV_NAME
|
||||
config WDT_DW_CLOCK_GATE_SUBSYS
|
||||
default 10
|
||||
config WDT_DW_BASE_ADDR
|
||||
default 0xB0000000
|
||||
config WDT_DW_IRQ
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue