diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-05-03 05:00:57 -0400 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-03-14 12:08:31 -0400 |
commit | 7a587eae2a8b6eeb7919fd25f686fa20b14f4821 (patch) | |
tree | b207fa8eea58868e802c044dfc215693b141228f /drivers/rtc | |
parent | 64232fc33a5bcc29aeb001e1bee80e17a889b4fb (diff) |
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: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/Kconfig | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 88254d3cfa4e..cf0d0850289e 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig | |||
@@ -1094,7 +1094,7 @@ config RTC_DRV_WM8350 | |||
1094 | 1094 | ||
1095 | config RTC_DRV_SPEAR | 1095 | config RTC_DRV_SPEAR |
1096 | tristate "SPEAR ST RTC" | 1096 | tristate "SPEAR ST RTC" |
1097 | depends on PLAT_SPEAR | 1097 | depends on PLAT_SPEAR || COMPILE_TEST |
1098 | default y | 1098 | default y |
1099 | help | 1099 | help |
1100 | If you say Y here you will get support for the RTC found on | 1100 | If you say Y here you will get support for the RTC found on |
@@ -1126,7 +1126,7 @@ config RTC_DRV_AB8500 | |||
1126 | 1126 | ||
1127 | config RTC_DRV_NUC900 | 1127 | config RTC_DRV_NUC900 |
1128 | tristate "NUC910/NUC920 RTC driver" | 1128 | tristate "NUC910/NUC920 RTC driver" |
1129 | depends on ARCH_W90X900 | 1129 | depends on ARCH_W90X900 || COMPILE_TEST |
1130 | help | 1130 | help |
1131 | If you say yes here you get support for the RTC subsystem of the | 1131 | If you say yes here you get support for the RTC subsystem of the |
1132 | NUC910/NUC920 used in embedded systems. | 1132 | NUC910/NUC920 used in embedded systems. |
@@ -1163,7 +1163,7 @@ config RTC_DRV_ASM9260 | |||
1163 | 1163 | ||
1164 | config RTC_DRV_DAVINCI | 1164 | config RTC_DRV_DAVINCI |
1165 | tristate "TI DaVinci RTC" | 1165 | tristate "TI DaVinci RTC" |
1166 | depends on ARCH_DAVINCI_DM365 | 1166 | depends on ARCH_DAVINCI_DM365 || COMPILE_TEST |
1167 | help | 1167 | help |
1168 | If you say yes here you get support for the RTC on the | 1168 | If you say yes here you get support for the RTC on the |
1169 | DaVinci platforms (DM365). | 1169 | DaVinci platforms (DM365). |
@@ -1173,7 +1173,7 @@ config RTC_DRV_DAVINCI | |||
1173 | 1173 | ||
1174 | config RTC_DRV_DIGICOLOR | 1174 | config RTC_DRV_DIGICOLOR |
1175 | tristate "Conexant Digicolor RTC" | 1175 | tristate "Conexant Digicolor RTC" |
1176 | depends on ARCH_DIGICOLOR | 1176 | depends on ARCH_DIGICOLOR || COMPILE_TEST |
1177 | help | 1177 | help |
1178 | If you say yes here you get support for the RTC on Conexant | 1178 | If you say yes here you get support for the RTC on Conexant |
1179 | Digicolor platforms. This currently includes the CX92755 SoC. | 1179 | Digicolor platforms. This currently includes the CX92755 SoC. |
@@ -1192,7 +1192,7 @@ config RTC_DRV_IMXDI | |||
1192 | 1192 | ||
1193 | config RTC_DRV_OMAP | 1193 | config RTC_DRV_OMAP |
1194 | tristate "TI OMAP Real Time Clock" | 1194 | tristate "TI OMAP Real Time Clock" |
1195 | depends on ARCH_OMAP || ARCH_DAVINCI | 1195 | depends on ARCH_OMAP || ARCH_DAVINCI || COMPILE_TEST |
1196 | help | 1196 | help |
1197 | Say "yes" here to support the on chip real time clock | 1197 | Say "yes" here to support the on chip real time clock |
1198 | present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx. | 1198 | present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx. |
@@ -1209,7 +1209,7 @@ config HAVE_S3C_RTC | |||
1209 | 1209 | ||
1210 | config RTC_DRV_S3C | 1210 | config RTC_DRV_S3C |
1211 | tristate "Samsung S3C series SoC RTC" | 1211 | tristate "Samsung S3C series SoC RTC" |
1212 | depends on ARCH_S3C64XX || HAVE_S3C_RTC | 1212 | depends on ARCH_S3C64XX || HAVE_S3C_RTC || COMPILE_TEST |
1213 | help | 1213 | help |
1214 | RTC (Realtime Clock) driver for the clock inbuilt into the | 1214 | RTC (Realtime Clock) driver for the clock inbuilt into the |
1215 | Samsung S3C24XX series of SoCs. This can provide periodic | 1215 | Samsung S3C24XX series of SoCs. This can provide periodic |
@@ -1225,7 +1225,7 @@ config RTC_DRV_S3C | |||
1225 | 1225 | ||
1226 | config RTC_DRV_EP93XX | 1226 | config RTC_DRV_EP93XX |
1227 | tristate "Cirrus Logic EP93XX" | 1227 | tristate "Cirrus Logic EP93XX" |
1228 | depends on ARCH_EP93XX | 1228 | depends on ARCH_EP93XX || COMPILE_TEST |
1229 | help | 1229 | help |
1230 | If you say yes here you get support for the | 1230 | If you say yes here you get support for the |
1231 | RTC embedded in the Cirrus Logic EP93XX processors. | 1231 | RTC embedded in the Cirrus Logic EP93XX processors. |
@@ -1255,7 +1255,7 @@ config RTC_DRV_SH | |||
1255 | 1255 | ||
1256 | config RTC_DRV_VR41XX | 1256 | config RTC_DRV_VR41XX |
1257 | tristate "NEC VR41XX" | 1257 | tristate "NEC VR41XX" |
1258 | depends on CPU_VR41XX | 1258 | depends on CPU_VR41XX || COMPILE_TEST |
1259 | help | 1259 | help |
1260 | If you say Y here you will get access to the real time clock | 1260 | If you say Y here you will get access to the real time clock |
1261 | built into your NEC VR41XX CPU. | 1261 | built into your NEC VR41XX CPU. |
@@ -1285,14 +1285,14 @@ config RTC_DRV_PL031 | |||
1285 | 1285 | ||
1286 | config RTC_DRV_AT32AP700X | 1286 | config RTC_DRV_AT32AP700X |
1287 | tristate "AT32AP700X series RTC" | 1287 | tristate "AT32AP700X series RTC" |
1288 | depends on PLATFORM_AT32AP | 1288 | depends on PLATFORM_AT32AP || COMPILE_TEST |
1289 | help | 1289 | help |
1290 | Driver for the internal RTC (Realtime Clock) on Atmel AVR32 | 1290 | Driver for the internal RTC (Realtime Clock) on Atmel AVR32 |
1291 | AT32AP700x family processors. | 1291 | AT32AP700x family processors. |
1292 | 1292 | ||
1293 | config RTC_DRV_AT91RM9200 | 1293 | config RTC_DRV_AT91RM9200 |
1294 | tristate "AT91RM9200 or some AT91SAM9 RTC" | 1294 | tristate "AT91RM9200 or some AT91SAM9 RTC" |
1295 | depends on ARCH_AT91 | 1295 | depends on ARCH_AT91 || COMPILE_TEST |
1296 | help | 1296 | help |
1297 | Driver for the internal RTC (Realtime Clock) module found on | 1297 | Driver for the internal RTC (Realtime Clock) module found on |
1298 | Atmel AT91RM9200's and some AT91SAM9 chips. On AT91SAM9 chips | 1298 | Atmel AT91RM9200's and some AT91SAM9 chips. On AT91SAM9 chips |
@@ -1300,7 +1300,7 @@ config RTC_DRV_AT91RM9200 | |||
1300 | 1300 | ||
1301 | config RTC_DRV_AT91SAM9 | 1301 | config RTC_DRV_AT91SAM9 |
1302 | tristate "AT91SAM9 RTT as RTC" | 1302 | tristate "AT91SAM9 RTT as RTC" |
1303 | depends on ARCH_AT91 | 1303 | depends on ARCH_AT91 || COMPILE_TEST |
1304 | select MFD_SYSCON | 1304 | select MFD_SYSCON |
1305 | help | 1305 | help |
1306 | Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which | 1306 | Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which |
@@ -1342,7 +1342,7 @@ config RTC_DRV_GENERIC | |||
1342 | tristate "Generic RTC support" | 1342 | tristate "Generic RTC support" |
1343 | # Please consider writing a new RTC driver instead of using the generic | 1343 | # Please consider writing a new RTC driver instead of using the generic |
1344 | # RTC abstraction | 1344 | # RTC abstraction |
1345 | depends on PARISC || M68K || PPC || SUPERH32 | 1345 | depends on PARISC || M68K || PPC || SUPERH32 || COMPILE_TEST |
1346 | help | 1346 | help |
1347 | Say Y or M here to enable RTC support on systems using the generic | 1347 | Say Y or M here to enable RTC support on systems using the generic |
1348 | RTC abstraction. If you do not know what you are doing, you should | 1348 | RTC abstraction. If you do not know what you are doing, you should |
@@ -1362,7 +1362,7 @@ config RTC_DRV_PXA | |||
1362 | 1362 | ||
1363 | config RTC_DRV_VT8500 | 1363 | config RTC_DRV_VT8500 |
1364 | tristate "VIA/WonderMedia 85xx SoC RTC" | 1364 | tristate "VIA/WonderMedia 85xx SoC RTC" |
1365 | depends on ARCH_VT8500 | 1365 | depends on ARCH_VT8500 || COMPILE_TEST |
1366 | help | 1366 | help |
1367 | If you say Y here you will get access to the real time clock | 1367 | If you say Y here you will get access to the real time clock |
1368 | built into your VIA VT8500 SoC or its relatives. | 1368 | built into your VIA VT8500 SoC or its relatives. |
@@ -1377,7 +1377,7 @@ config RTC_DRV_SUN4V | |||
1377 | 1377 | ||
1378 | config RTC_DRV_SUN6I | 1378 | config RTC_DRV_SUN6I |
1379 | tristate "Allwinner A31 RTC" | 1379 | tristate "Allwinner A31 RTC" |
1380 | default MACH_SUN6I || MACH_SUN8I | 1380 | default MACH_SUN6I || MACH_SUN8I || COMPILE_TEST |
1381 | depends on ARCH_SUNXI | 1381 | depends on ARCH_SUNXI |
1382 | help | 1382 | help |
1383 | If you say Y here you will get support for the RTC found in | 1383 | If you say Y here you will get support for the RTC found in |
@@ -1385,7 +1385,7 @@ config RTC_DRV_SUN6I | |||
1385 | 1385 | ||
1386 | config RTC_DRV_SUNXI | 1386 | config RTC_DRV_SUNXI |
1387 | tristate "Allwinner sun4i/sun7i RTC" | 1387 | tristate "Allwinner sun4i/sun7i RTC" |
1388 | depends on MACH_SUN4I || MACH_SUN7I | 1388 | depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST |
1389 | help | 1389 | help |
1390 | If you say Y here you will get support for the RTC found on | 1390 | If you say Y here you will get support for the RTC found on |
1391 | Allwinner A10/A20. | 1391 | Allwinner A10/A20. |
@@ -1406,7 +1406,7 @@ config RTC_DRV_TX4939 | |||
1406 | 1406 | ||
1407 | config RTC_DRV_MV | 1407 | config RTC_DRV_MV |
1408 | tristate "Marvell SoC RTC" | 1408 | tristate "Marvell SoC RTC" |
1409 | depends on ARCH_DOVE || ARCH_MVEBU | 1409 | depends on ARCH_DOVE || ARCH_MVEBU || COMPILE_TEST |
1410 | help | 1410 | help |
1411 | If you say yes here you will get support for the in-chip RTC | 1411 | If you say yes here you will get support for the in-chip RTC |
1412 | that can be found in some of Marvell's SoC devices, such as | 1412 | that can be found in some of Marvell's SoC devices, such as |
@@ -1417,7 +1417,7 @@ config RTC_DRV_MV | |||
1417 | 1417 | ||
1418 | config RTC_DRV_ARMADA38X | 1418 | config RTC_DRV_ARMADA38X |
1419 | tristate "Armada 38x Marvell SoC RTC" | 1419 | tristate "Armada 38x Marvell SoC RTC" |
1420 | depends on ARCH_MVEBU | 1420 | depends on ARCH_MVEBU || COMPILE_TEST |
1421 | help | 1421 | help |
1422 | If you say yes here you will get support for the in-chip RTC | 1422 | If you say yes here you will get support for the in-chip RTC |
1423 | that can be found in the Armada 38x Marvell's SoC device | 1423 | that can be found in the Armada 38x Marvell's SoC device |
@@ -1447,7 +1447,7 @@ config RTC_DRV_PS3 | |||
1447 | 1447 | ||
1448 | config RTC_DRV_COH901331 | 1448 | config RTC_DRV_COH901331 |
1449 | tristate "ST-Ericsson COH 901 331 RTC" | 1449 | tristate "ST-Ericsson COH 901 331 RTC" |
1450 | depends on ARCH_U300 | 1450 | depends on ARCH_U300 || COMPILE_TEST |
1451 | help | 1451 | help |
1452 | If you say Y here you will get access to ST-Ericsson | 1452 | If you say Y here you will get access to ST-Ericsson |
1453 | COH 901 331 RTC clock found in some ST-Ericsson Mobile | 1453 | COH 901 331 RTC clock found in some ST-Ericsson Mobile |
@@ -1459,7 +1459,7 @@ config RTC_DRV_COH901331 | |||
1459 | 1459 | ||
1460 | config RTC_DRV_STMP | 1460 | config RTC_DRV_STMP |
1461 | tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC" | 1461 | tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC" |
1462 | depends on ARCH_MXS | 1462 | depends on ARCH_MXS || COMPILE_TEST |
1463 | select STMP_DEVICE | 1463 | select STMP_DEVICE |
1464 | help | 1464 | help |
1465 | If you say yes here you will get support for the onboard | 1465 | If you say yes here you will get support for the onboard |
@@ -1494,7 +1494,7 @@ config RTC_DRV_MPC5121 | |||
1494 | 1494 | ||
1495 | config RTC_DRV_JZ4740 | 1495 | config RTC_DRV_JZ4740 |
1496 | tristate "Ingenic JZ4740 SoC" | 1496 | tristate "Ingenic JZ4740 SoC" |
1497 | depends on MACH_JZ4740 | 1497 | depends on MACH_JZ4740 || COMPILE_TEST |
1498 | help | 1498 | help |
1499 | If you say yes here you get support for the Ingenic JZ4740 SoC RTC | 1499 | If you say yes here you get support for the Ingenic JZ4740 SoC RTC |
1500 | controller. | 1500 | controller. |
@@ -1515,7 +1515,7 @@ config RTC_DRV_LPC24XX | |||
1515 | so, the module will be called rtc-lpc24xx. | 1515 | so, the module will be called rtc-lpc24xx. |
1516 | 1516 | ||
1517 | config RTC_DRV_LPC32XX | 1517 | config RTC_DRV_LPC32XX |
1518 | depends on ARCH_LPC32XX | 1518 | depends on ARCH_LPC32XX || COMPILE_TEST |
1519 | tristate "NXP LPC32XX RTC" | 1519 | tristate "NXP LPC32XX RTC" |
1520 | help | 1520 | help |
1521 | This enables support for the NXP RTC in the LPC32XX | 1521 | This enables support for the NXP RTC in the LPC32XX |
@@ -1525,7 +1525,7 @@ config RTC_DRV_LPC32XX | |||
1525 | 1525 | ||
1526 | config RTC_DRV_PM8XXX | 1526 | config RTC_DRV_PM8XXX |
1527 | tristate "Qualcomm PMIC8XXX RTC" | 1527 | tristate "Qualcomm PMIC8XXX RTC" |
1528 | depends on MFD_PM8XXX || MFD_SPMI_PMIC | 1528 | depends on MFD_PM8XXX || MFD_SPMI_PMIC || COMPILE_TEST |
1529 | help | 1529 | help |
1530 | If you say yes here you get support for the | 1530 | If you say yes here you get support for the |
1531 | Qualcomm PMIC8XXX RTC. | 1531 | Qualcomm PMIC8XXX RTC. |
@@ -1535,7 +1535,7 @@ config RTC_DRV_PM8XXX | |||
1535 | 1535 | ||
1536 | config RTC_DRV_TEGRA | 1536 | config RTC_DRV_TEGRA |
1537 | tristate "NVIDIA Tegra Internal RTC driver" | 1537 | tristate "NVIDIA Tegra Internal RTC driver" |
1538 | depends on ARCH_TEGRA | 1538 | depends on ARCH_TEGRA || COMPILE_TEST |
1539 | help | 1539 | help |
1540 | If you say yes here you get support for the | 1540 | If you say yes here you get support for the |
1541 | Tegra 200 series internal RTC module. | 1541 | Tegra 200 series internal RTC module. |