diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2011-05-09 13:28:43 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2011-05-17 14:44:36 -0400 |
commit | dd196a2b3dbd192ff3ccf263d12b59bf22572958 (patch) | |
tree | c2639777ee4022a67ca562242c1edd82a4a10466 /arch/tile | |
parent | 18aecc2b645bbb07851b196452a2af314222069b (diff) |
tile: add an RTC driver for the Tilera hypervisor
This is a simple RTC driver that lets Tilera hardware boot up and
set the clock correctly.
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile')
-rw-r--r-- | arch/tile/configs/tile_defconfig | 1 | ||||
-rw-r--r-- | arch/tile/configs/tilegx_defconfig | 63 |
2 files changed, 61 insertions, 3 deletions
diff --git a/arch/tile/configs/tile_defconfig b/arch/tile/configs/tile_defconfig index cb47612f77a7..f58dc362b944 100644 --- a/arch/tile/configs/tile_defconfig +++ b/arch/tile/configs/tile_defconfig | |||
@@ -796,6 +796,7 @@ CONFIG_RTC_INTF_DEV=y | |||
796 | # | 796 | # |
797 | # on-CPU RTC drivers | 797 | # on-CPU RTC drivers |
798 | # | 798 | # |
799 | CONFIG_RTC_DRV_TILE=y | ||
799 | # CONFIG_DMADEVICES is not set | 800 | # CONFIG_DMADEVICES is not set |
800 | # CONFIG_AUXDISPLAY is not set | 801 | # CONFIG_AUXDISPLAY is not set |
801 | # CONFIG_UIO is not set | 802 | # CONFIG_UIO is not set |
diff --git a/arch/tile/configs/tilegx_defconfig b/arch/tile/configs/tilegx_defconfig index 776ec0c5cba8..09f1c7fad8bf 100644 --- a/arch/tile/configs/tilegx_defconfig +++ b/arch/tile/configs/tilegx_defconfig | |||
@@ -1135,8 +1135,6 @@ CONFIG_HVC_DRIVER=y | |||
1135 | # CONFIG_IPMI_HANDLER is not set | 1135 | # CONFIG_IPMI_HANDLER is not set |
1136 | CONFIG_HW_RANDOM=y | 1136 | CONFIG_HW_RANDOM=y |
1137 | CONFIG_HW_RANDOM_TIMERIOMEM=m | 1137 | CONFIG_HW_RANDOM_TIMERIOMEM=m |
1138 | # CONFIG_RTC is not set | ||
1139 | # CONFIG_GEN_RTC is not set | ||
1140 | # CONFIG_R3964 is not set | 1138 | # CONFIG_R3964 is not set |
1141 | # CONFIG_APPLICOM is not set | 1139 | # CONFIG_APPLICOM is not set |
1142 | 1140 | ||
@@ -1277,7 +1275,66 @@ CONFIG_MFD_SUPPORT=y | |||
1277 | # CONFIG_ACCESSIBILITY is not set | 1275 | # CONFIG_ACCESSIBILITY is not set |
1278 | # CONFIG_INFINIBAND is not set | 1276 | # CONFIG_INFINIBAND is not set |
1279 | # CONFIG_EDAC is not set | 1277 | # CONFIG_EDAC is not set |
1280 | # CONFIG_RTC_CLASS is not set | 1278 | CONFIG_RTC_LIB=y |
1279 | CONFIG_RTC_CLASS=y | ||
1280 | CONFIG_RTC_HCTOSYS=y | ||
1281 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
1282 | # CONFIG_RTC_DEBUG is not set | ||
1283 | |||
1284 | # | ||
1285 | # RTC interfaces | ||
1286 | # | ||
1287 | CONFIG_RTC_INTF_SYSFS=y | ||
1288 | CONFIG_RTC_INTF_PROC=y | ||
1289 | CONFIG_RTC_INTF_DEV=y | ||
1290 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
1291 | # CONFIG_RTC_DRV_TEST is not set | ||
1292 | |||
1293 | # | ||
1294 | # I2C RTC drivers | ||
1295 | # | ||
1296 | # CONFIG_RTC_DRV_DS1307 is not set | ||
1297 | # CONFIG_RTC_DRV_DS1374 is not set | ||
1298 | # CONFIG_RTC_DRV_DS1672 is not set | ||
1299 | # CONFIG_RTC_DRV_DS3232 is not set | ||
1300 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
1301 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
1302 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
1303 | # CONFIG_RTC_DRV_ISL12022 is not set | ||
1304 | # CONFIG_RTC_DRV_X1205 is not set | ||
1305 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
1306 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
1307 | # CONFIG_RTC_DRV_M41T80 is not set | ||
1308 | # CONFIG_RTC_DRV_BQ32K is not set | ||
1309 | # CONFIG_RTC_DRV_S35390A is not set | ||
1310 | # CONFIG_RTC_DRV_FM3130 is not set | ||
1311 | # CONFIG_RTC_DRV_RX8581 is not set | ||
1312 | # CONFIG_RTC_DRV_RX8025 is not set | ||
1313 | |||
1314 | # | ||
1315 | # SPI RTC drivers | ||
1316 | # | ||
1317 | |||
1318 | # | ||
1319 | # Platform RTC drivers | ||
1320 | # | ||
1321 | # CONFIG_RTC_DRV_DS1286 is not set | ||
1322 | # CONFIG_RTC_DRV_DS1511 is not set | ||
1323 | # CONFIG_RTC_DRV_DS1553 is not set | ||
1324 | # CONFIG_RTC_DRV_DS1742 is not set | ||
1325 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
1326 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1327 | # CONFIG_RTC_DRV_M48T35 is not set | ||
1328 | # CONFIG_RTC_DRV_M48T59 is not set | ||
1329 | # CONFIG_RTC_DRV_MSM6242 is not set | ||
1330 | # CONFIG_RTC_DRV_BQ4802 is not set | ||
1331 | # CONFIG_RTC_DRV_RP5C01 is not set | ||
1332 | # CONFIG_RTC_DRV_V3020 is not set | ||
1333 | |||
1334 | # | ||
1335 | # on-CPU RTC drivers | ||
1336 | # | ||
1337 | CONFIG_RTC_DRV_TILE=y | ||
1281 | # CONFIG_DMADEVICES is not set | 1338 | # CONFIG_DMADEVICES is not set |
1282 | # CONFIG_AUXDISPLAY is not set | 1339 | # CONFIG_AUXDISPLAY is not set |
1283 | # CONFIG_UIO is not set | 1340 | # CONFIG_UIO is not set |