Commit 7a587eae authored by Alexandre Belloni's avatar Alexandre Belloni

rtc: enable COMPILE_TEST

There are several arch-specific RTC drivers that can be successfully
compiled on other platforms. Add a COMPILE_TEST dependency for those.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 64232fc3
...@@ -1094,7 +1094,7 @@ config RTC_DRV_WM8350 ...@@ -1094,7 +1094,7 @@ config RTC_DRV_WM8350
config RTC_DRV_SPEAR config RTC_DRV_SPEAR
tristate "SPEAR ST RTC" tristate "SPEAR ST RTC"
depends on PLAT_SPEAR depends on PLAT_SPEAR || COMPILE_TEST
default y default y
help help
If you say Y here you will get support for the RTC found on If you say Y here you will get support for the RTC found on
...@@ -1126,7 +1126,7 @@ config RTC_DRV_AB8500 ...@@ -1126,7 +1126,7 @@ config RTC_DRV_AB8500
config RTC_DRV_NUC900 config RTC_DRV_NUC900
tristate "NUC910/NUC920 RTC driver" tristate "NUC910/NUC920 RTC driver"
depends on ARCH_W90X900 depends on ARCH_W90X900 || COMPILE_TEST
help help
If you say yes here you get support for the RTC subsystem of the If you say yes here you get support for the RTC subsystem of the
NUC910/NUC920 used in embedded systems. NUC910/NUC920 used in embedded systems.
...@@ -1163,7 +1163,7 @@ config RTC_DRV_ASM9260 ...@@ -1163,7 +1163,7 @@ config RTC_DRV_ASM9260
config RTC_DRV_DAVINCI config RTC_DRV_DAVINCI
tristate "TI DaVinci RTC" tristate "TI DaVinci RTC"
depends on ARCH_DAVINCI_DM365 depends on ARCH_DAVINCI_DM365 || COMPILE_TEST
help help
If you say yes here you get support for the RTC on the If you say yes here you get support for the RTC on the
DaVinci platforms (DM365). DaVinci platforms (DM365).
...@@ -1173,7 +1173,7 @@ config RTC_DRV_DAVINCI ...@@ -1173,7 +1173,7 @@ config RTC_DRV_DAVINCI
config RTC_DRV_DIGICOLOR config RTC_DRV_DIGICOLOR
tristate "Conexant Digicolor RTC" tristate "Conexant Digicolor RTC"
depends on ARCH_DIGICOLOR depends on ARCH_DIGICOLOR || COMPILE_TEST
help help
If you say yes here you get support for the RTC on Conexant If you say yes here you get support for the RTC on Conexant
Digicolor platforms. This currently includes the CX92755 SoC. Digicolor platforms. This currently includes the CX92755 SoC.
...@@ -1192,7 +1192,7 @@ config RTC_DRV_IMXDI ...@@ -1192,7 +1192,7 @@ config RTC_DRV_IMXDI
config RTC_DRV_OMAP config RTC_DRV_OMAP
tristate "TI OMAP Real Time Clock" tristate "TI OMAP Real Time Clock"
depends on ARCH_OMAP || ARCH_DAVINCI depends on ARCH_OMAP || ARCH_DAVINCI || COMPILE_TEST
help help
Say "yes" here to support the on chip real time clock Say "yes" here to support the on chip real time clock
present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx. present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
...@@ -1209,7 +1209,7 @@ config HAVE_S3C_RTC ...@@ -1209,7 +1209,7 @@ config HAVE_S3C_RTC
config RTC_DRV_S3C config RTC_DRV_S3C
tristate "Samsung S3C series SoC RTC" tristate "Samsung S3C series SoC RTC"
depends on ARCH_S3C64XX || HAVE_S3C_RTC depends on ARCH_S3C64XX || HAVE_S3C_RTC || COMPILE_TEST
help help
RTC (Realtime Clock) driver for the clock inbuilt into the RTC (Realtime Clock) driver for the clock inbuilt into the
Samsung S3C24XX series of SoCs. This can provide periodic Samsung S3C24XX series of SoCs. This can provide periodic
...@@ -1225,7 +1225,7 @@ config RTC_DRV_S3C ...@@ -1225,7 +1225,7 @@ config RTC_DRV_S3C
config RTC_DRV_EP93XX config RTC_DRV_EP93XX
tristate "Cirrus Logic EP93XX" tristate "Cirrus Logic EP93XX"
depends on ARCH_EP93XX depends on ARCH_EP93XX || COMPILE_TEST
help help
If you say yes here you get support for the If you say yes here you get support for the
RTC embedded in the Cirrus Logic EP93XX processors. RTC embedded in the Cirrus Logic EP93XX processors.
...@@ -1255,7 +1255,7 @@ config RTC_DRV_SH ...@@ -1255,7 +1255,7 @@ config RTC_DRV_SH
config RTC_DRV_VR41XX config RTC_DRV_VR41XX
tristate "NEC VR41XX" tristate "NEC VR41XX"
depends on CPU_VR41XX depends on CPU_VR41XX || COMPILE_TEST
help help
If you say Y here you will get access to the real time clock If you say Y here you will get access to the real time clock
built into your NEC VR41XX CPU. built into your NEC VR41XX CPU.
...@@ -1285,14 +1285,14 @@ config RTC_DRV_PL031 ...@@ -1285,14 +1285,14 @@ config RTC_DRV_PL031
config RTC_DRV_AT32AP700X config RTC_DRV_AT32AP700X
tristate "AT32AP700X series RTC" tristate "AT32AP700X series RTC"
depends on PLATFORM_AT32AP depends on PLATFORM_AT32AP || COMPILE_TEST
help help
Driver for the internal RTC (Realtime Clock) on Atmel AVR32 Driver for the internal RTC (Realtime Clock) on Atmel AVR32
AT32AP700x family processors. AT32AP700x family processors.
config RTC_DRV_AT91RM9200 config RTC_DRV_AT91RM9200
tristate "AT91RM9200 or some AT91SAM9 RTC" tristate "AT91RM9200 or some AT91SAM9 RTC"
depends on ARCH_AT91 depends on ARCH_AT91 || COMPILE_TEST
help help
Driver for the internal RTC (Realtime Clock) module found on Driver for the internal RTC (Realtime Clock) module found on
Atmel AT91RM9200's and some AT91SAM9 chips. On AT91SAM9 chips Atmel AT91RM9200's and some AT91SAM9 chips. On AT91SAM9 chips
...@@ -1300,7 +1300,7 @@ config RTC_DRV_AT91RM9200 ...@@ -1300,7 +1300,7 @@ config RTC_DRV_AT91RM9200
config RTC_DRV_AT91SAM9 config RTC_DRV_AT91SAM9
tristate "AT91SAM9 RTT as RTC" tristate "AT91SAM9 RTT as RTC"
depends on ARCH_AT91 depends on ARCH_AT91 || COMPILE_TEST
select MFD_SYSCON select MFD_SYSCON
help help
Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which
...@@ -1342,7 +1342,7 @@ config RTC_DRV_GENERIC ...@@ -1342,7 +1342,7 @@ config RTC_DRV_GENERIC
tristate "Generic RTC support" tristate "Generic RTC support"
# Please consider writing a new RTC driver instead of using the generic # Please consider writing a new RTC driver instead of using the generic
# RTC abstraction # RTC abstraction
depends on PARISC || M68K || PPC || SUPERH32 depends on PARISC || M68K || PPC || SUPERH32 || COMPILE_TEST
help help
Say Y or M here to enable RTC support on systems using the generic Say Y or M here to enable RTC support on systems using the generic
RTC abstraction. If you do not know what you are doing, you should RTC abstraction. If you do not know what you are doing, you should
...@@ -1362,7 +1362,7 @@ config RTC_DRV_PXA ...@@ -1362,7 +1362,7 @@ config RTC_DRV_PXA
config RTC_DRV_VT8500 config RTC_DRV_VT8500
tristate "VIA/WonderMedia 85xx SoC RTC" tristate "VIA/WonderMedia 85xx SoC RTC"
depends on ARCH_VT8500 depends on ARCH_VT8500 || COMPILE_TEST
help help
If you say Y here you will get access to the real time clock If you say Y here you will get access to the real time clock
built into your VIA VT8500 SoC or its relatives. built into your VIA VT8500 SoC or its relatives.
...@@ -1377,7 +1377,7 @@ config RTC_DRV_SUN4V ...@@ -1377,7 +1377,7 @@ config RTC_DRV_SUN4V
config RTC_DRV_SUN6I config RTC_DRV_SUN6I
tristate "Allwinner A31 RTC" tristate "Allwinner A31 RTC"
default MACH_SUN6I || MACH_SUN8I default MACH_SUN6I || MACH_SUN8I || COMPILE_TEST
depends on ARCH_SUNXI depends on ARCH_SUNXI
help help
If you say Y here you will get support for the RTC found in If you say Y here you will get support for the RTC found in
...@@ -1385,7 +1385,7 @@ config RTC_DRV_SUN6I ...@@ -1385,7 +1385,7 @@ config RTC_DRV_SUN6I
config RTC_DRV_SUNXI config RTC_DRV_SUNXI
tristate "Allwinner sun4i/sun7i RTC" tristate "Allwinner sun4i/sun7i RTC"
depends on MACH_SUN4I || MACH_SUN7I depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
help help
If you say Y here you will get support for the RTC found on If you say Y here you will get support for the RTC found on
Allwinner A10/A20. Allwinner A10/A20.
...@@ -1406,7 +1406,7 @@ config RTC_DRV_TX4939 ...@@ -1406,7 +1406,7 @@ config RTC_DRV_TX4939
config RTC_DRV_MV config RTC_DRV_MV
tristate "Marvell SoC RTC" tristate "Marvell SoC RTC"
depends on ARCH_DOVE || ARCH_MVEBU depends on ARCH_DOVE || ARCH_MVEBU || COMPILE_TEST
help help
If you say yes here you will get support for the in-chip RTC If you say yes here you will get support for the in-chip RTC
that can be found in some of Marvell's SoC devices, such as that can be found in some of Marvell's SoC devices, such as
...@@ -1417,7 +1417,7 @@ config RTC_DRV_MV ...@@ -1417,7 +1417,7 @@ config RTC_DRV_MV
config RTC_DRV_ARMADA38X config RTC_DRV_ARMADA38X
tristate "Armada 38x Marvell SoC RTC" tristate "Armada 38x Marvell SoC RTC"
depends on ARCH_MVEBU depends on ARCH_MVEBU || COMPILE_TEST
help help
If you say yes here you will get support for the in-chip RTC If you say yes here you will get support for the in-chip RTC
that can be found in the Armada 38x Marvell's SoC device that can be found in the Armada 38x Marvell's SoC device
...@@ -1447,7 +1447,7 @@ config RTC_DRV_PS3 ...@@ -1447,7 +1447,7 @@ config RTC_DRV_PS3
config RTC_DRV_COH901331 config RTC_DRV_COH901331
tristate "ST-Ericsson COH 901 331 RTC" tristate "ST-Ericsson COH 901 331 RTC"
depends on ARCH_U300 depends on ARCH_U300 || COMPILE_TEST
help help
If you say Y here you will get access to ST-Ericsson If you say Y here you will get access to ST-Ericsson
COH 901 331 RTC clock found in some ST-Ericsson Mobile COH 901 331 RTC clock found in some ST-Ericsson Mobile
...@@ -1459,7 +1459,7 @@ config RTC_DRV_COH901331 ...@@ -1459,7 +1459,7 @@ config RTC_DRV_COH901331
config RTC_DRV_STMP config RTC_DRV_STMP
tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC" tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC"
depends on ARCH_MXS depends on ARCH_MXS || COMPILE_TEST
select STMP_DEVICE select STMP_DEVICE
help help
If you say yes here you will get support for the onboard If you say yes here you will get support for the onboard
...@@ -1494,7 +1494,7 @@ config RTC_DRV_MPC5121 ...@@ -1494,7 +1494,7 @@ config RTC_DRV_MPC5121
config RTC_DRV_JZ4740 config RTC_DRV_JZ4740
tristate "Ingenic JZ4740 SoC" tristate "Ingenic JZ4740 SoC"
depends on MACH_JZ4740 depends on MACH_JZ4740 || COMPILE_TEST
help help
If you say yes here you get support for the Ingenic JZ4740 SoC RTC If you say yes here you get support for the Ingenic JZ4740 SoC RTC
controller. controller.
...@@ -1515,7 +1515,7 @@ config RTC_DRV_LPC24XX ...@@ -1515,7 +1515,7 @@ config RTC_DRV_LPC24XX
so, the module will be called rtc-lpc24xx. so, the module will be called rtc-lpc24xx.
config RTC_DRV_LPC32XX config RTC_DRV_LPC32XX
depends on ARCH_LPC32XX depends on ARCH_LPC32XX || COMPILE_TEST
tristate "NXP LPC32XX RTC" tristate "NXP LPC32XX RTC"
help help
This enables support for the NXP RTC in the LPC32XX This enables support for the NXP RTC in the LPC32XX
...@@ -1525,7 +1525,7 @@ config RTC_DRV_LPC32XX ...@@ -1525,7 +1525,7 @@ config RTC_DRV_LPC32XX
config RTC_DRV_PM8XXX config RTC_DRV_PM8XXX
tristate "Qualcomm PMIC8XXX RTC" tristate "Qualcomm PMIC8XXX RTC"
depends on MFD_PM8XXX || MFD_SPMI_PMIC depends on MFD_PM8XXX || MFD_SPMI_PMIC || COMPILE_TEST
help help
If you say yes here you get support for the If you say yes here you get support for the
Qualcomm PMIC8XXX RTC. Qualcomm PMIC8XXX RTC.
...@@ -1535,7 +1535,7 @@ config RTC_DRV_PM8XXX ...@@ -1535,7 +1535,7 @@ config RTC_DRV_PM8XXX
config RTC_DRV_TEGRA config RTC_DRV_TEGRA
tristate "NVIDIA Tegra Internal RTC driver" tristate "NVIDIA Tegra Internal RTC driver"
depends on ARCH_TEGRA depends on ARCH_TEGRA || COMPILE_TEST
help help
If you say yes here you get support for the If you say yes here you get support for the
Tegra 200 series internal RTC module. Tegra 200 series internal RTC module.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment