rtc: dw: Add support for optional clock gating
Clock gating is platform specific and not mandatory. Thus making in Kconfig based as well as generic. Change-Id: I01b7831536efd87cc66a95060fcf1faf4a340073 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
d1d66a6200
commit
61c15ba1e1
6 changed files with 73 additions and 9 deletions
|
@ -179,6 +179,12 @@ endif
|
|||
if RTC
|
||||
config RTC_DW
|
||||
def_bool y
|
||||
config RTC_DW_CLOCK_GATE
|
||||
def_bool n
|
||||
config RTC_DW_CLOCK_GATE_DRV_NAME
|
||||
default CLOCK_CONTROL_QUARK_SE_PERIPHERAL_DRV_NAME
|
||||
config RTC_DW_CLOCK_GATE_SUBSYS
|
||||
default 11
|
||||
config RTC_DW_BASE_ADDR
|
||||
default 0xB0000400
|
||||
config RTC_DW_IRQ
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue