rtc: Introduce QMSI RTC device driver

This patch introduces the 'QMSI RTC device driver' which is simply a shim
driver based on RTC driver provided by QMSI BSP.

Some config options are independent of the driver implementation used,
so use a consistent name for them. In this case RTC Interrupt number and
Priority use the same config options for both the QMSI and DesignWare
drivers.

In order to enable this driver, the following options should be set:
CONFIG_QMSI_DRIVERS=y
CONFIG_QMSI_INSTALL_PATH="/path/to/libqmsi/directory"
CONFIG_RTC=y
CONFIG_RTC_QMSI=y

Change-Id: I48292406e5472e5786f3b9abbeb71016a273bfec
Signed-off-by: Andre Guedes <andre.guedes@intel.com>
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
This commit is contained in:
Andre Guedes 2016-01-06 16:59:18 -02:00 committed by Anas Nashif
commit 7b0076a777
8 changed files with 150 additions and 32 deletions

View file

@ -190,6 +190,8 @@ endif
endif
if RTC
config RTC_IRQ
default 11
if RTC_DW
config RTC_DW_CLOCK_GATE
def_bool n
@ -199,8 +201,6 @@ config RTC_DW_CLOCK_GATE_SUBSYS
default 11
config RTC_DW_BASE_ADDR
default 0xB0000400
config RTC_DW_IRQ
default 11
endif
endif