Kconfig 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297
  1. #
  2. # RTC class/drivers configuration
  3. #
  4. config RTC_LIB
  5. bool
  6. menuconfig RTC_CLASS
  7. bool "Real Time Clock"
  8. default n
  9. depends on !S390 && !UML
  10. select RTC_LIB
  11. help
  12. Generic RTC class support. If you say yes here, you will
  13. be allowed to plug one or more RTCs to your system. You will
  14. probably want to enable one or more of the interfaces below.
  15. if RTC_CLASS
  16. config RTC_HCTOSYS
  17. bool "Set system time from RTC on startup and resume"
  18. default y
  19. help
  20. If you say yes here, the system time (wall clock) will be set using
  21. the value read from a specified RTC device. This is useful to avoid
  22. unnecessary fsck runs at boot time, and to network better.
  23. config RTC_SYSTOHC
  24. bool "Set the RTC time based on NTP synchronization"
  25. default y
  26. help
  27. If you say yes here, the system time (wall clock) will be stored
  28. in the RTC specified by RTC_HCTOSYS_DEVICE approximately every 11
  29. minutes if userspace reports synchronized NTP status.
  30. config RTC_HCTOSYS_DEVICE
  31. string "RTC used to set the system time"
  32. depends on RTC_HCTOSYS = y || RTC_SYSTOHC = y
  33. default "rtc0"
  34. help
  35. The RTC device that will be used to (re)initialize the system
  36. clock, usually rtc0. Initialization is done when the system
  37. starts up, and when it resumes from a low power state. This
  38. device should record time in UTC, since the kernel won't do
  39. timezone correction.
  40. The driver for this RTC device must be loaded before late_initcall
  41. functions run, so it must usually be statically linked.
  42. This clock should be battery-backed, so that it reads the correct
  43. time when the system boots from a power-off state. Otherwise, your
  44. system will need an external clock source (like an NTP server).
  45. If the clock you specify here is not battery backed, it may still
  46. be useful to reinitialize system time when resuming from system
  47. sleep states. Do not specify an RTC here unless it stays powered
  48. during all this system's supported sleep states.
  49. config RTC_DEBUG
  50. bool "RTC debug support"
  51. help
  52. Say yes here to enable debugging support in the RTC framework
  53. and individual RTC drivers.
  54. comment "RTC interfaces"
  55. config RTC_INTF_SYSFS
  56. boolean "/sys/class/rtc/rtcN (sysfs)"
  57. depends on SYSFS
  58. default RTC_CLASS
  59. help
  60. Say yes here if you want to use your RTCs using sysfs interfaces,
  61. /sys/class/rtc/rtc0 through /sys/.../rtcN.
  62. If unsure, say Y.
  63. config RTC_INTF_PROC
  64. boolean "/proc/driver/rtc (procfs for rtcN)"
  65. depends on PROC_FS
  66. default RTC_CLASS
  67. help
  68. Say yes here if you want to use your system clock RTC through
  69. the proc interface, /proc/driver/rtc.
  70. Other RTCs will not be available through that API.
  71. If there is no RTC for the system clock, then the first RTC(rtc0)
  72. is used by default.
  73. If unsure, say Y.
  74. config RTC_INTF_DEV
  75. boolean "/dev/rtcN (character devices)"
  76. default RTC_CLASS
  77. help
  78. Say yes here if you want to use your RTCs using the /dev
  79. interfaces, which "udev" sets up as /dev/rtc0 through
  80. /dev/rtcN.
  81. You may want to set up a symbolic link so one of these
  82. can be accessed as /dev/rtc, which is a name
  83. expected by "hwclock" and some other programs. Recent
  84. versions of "udev" are known to set up the symlink for you.
  85. If unsure, say Y.
  86. config RTC_INTF_DEV_UIE_EMUL
  87. bool "RTC UIE emulation on dev interface"
  88. depends on RTC_INTF_DEV
  89. help
  90. Provides an emulation for RTC_UIE if the underlying rtc chip
  91. driver does not expose RTC_UIE ioctls. Those requests generate
  92. once-per-second update interrupts, used for synchronization.
  93. The emulation code will read the time from the hardware
  94. clock several times per second, please enable this option
  95. only if you know that you really need it.
  96. config RTC_DRV_TEST
  97. tristate "Test driver/device"
  98. help
  99. If you say yes here you get support for the
  100. RTC test driver. It's a software RTC which can be
  101. used to test the RTC subsystem APIs. It gets
  102. the time from the system clock.
  103. You want this driver only if you are doing development
  104. on the RTC subsystem. Please read the source code
  105. for further details.
  106. This driver can also be built as a module. If so, the module
  107. will be called rtc-test.
  108. comment "I2C RTC drivers"
  109. depends on I2C
  110. if I2C
  111. config RTC_DRV_88PM860X
  112. tristate "Marvell 88PM860x"
  113. depends on I2C && MFD_88PM860X
  114. help
  115. If you say yes here you get support for RTC function in Marvell
  116. 88PM860x chips.
  117. This driver can also be built as a module. If so, the module
  118. will be called rtc-88pm860x.
  119. config RTC_DRV_88PM80X
  120. tristate "Marvell 88PM80x"
  121. depends on I2C && MFD_88PM800
  122. help
  123. If you say yes here you get support for RTC function in Marvell
  124. 88PM80x chips.
  125. This driver can also be built as a module. If so, the module
  126. will be called rtc-88pm80x.
  127. config RTC_DRV_AS3722
  128. tristate "ams AS3722 RTC driver"
  129. depends on MFD_AS3722
  130. help
  131. If you say yes here you get support for the RTC of ams AS3722 PMIC
  132. chips.
  133. This driver can also be built as a module. If so, the module
  134. will be called rtc-as3722.
  135. config RTC_DRV_DS1307
  136. tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00, EPSON RX-8025"
  137. help
  138. If you say yes here you get support for various compatible RTC
  139. chips (often with battery backup) connected with I2C. This driver
  140. should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00,
  141. EPSON RX-8025 and probably other chips. In some cases the RTC
  142. must already have been initialized (by manufacturing or a
  143. bootloader).
  144. The first seven registers on these chips hold an RTC, and other
  145. registers may add features such as NVRAM, a trickle charger for
  146. the RTC/NVRAM backup power, and alarms. NVRAM is visible in
  147. sysfs, but other chip features may not be available.
  148. This driver can also be built as a module. If so, the module
  149. will be called rtc-ds1307.
  150. config RTC_DRV_DS1374
  151. tristate "Dallas/Maxim DS1374"
  152. depends on I2C
  153. help
  154. If you say yes here you get support for Dallas Semiconductor
  155. DS1374 real-time clock chips. If an interrupt is associated
  156. with the device, the alarm functionality is supported.
  157. This driver can also be built as a module. If so, the module
  158. will be called rtc-ds1374.
  159. config RTC_DRV_DS1672
  160. tristate "Dallas/Maxim DS1672"
  161. help
  162. If you say yes here you get support for the
  163. Dallas/Maxim DS1672 timekeeping chip.
  164. This driver can also be built as a module. If so, the module
  165. will be called rtc-ds1672.
  166. config RTC_DRV_DS3232
  167. tristate "Dallas/Maxim DS3232"
  168. depends on I2C
  169. help
  170. If you say yes here you get support for Dallas Semiconductor
  171. DS3232 real-time clock chips. If an interrupt is associated
  172. with the device, the alarm functionality is supported.
  173. This driver can also be built as a module. If so, the module
  174. will be called rtc-ds3232.
  175. config RTC_DRV_LP8788
  176. tristate "TI LP8788 RTC driver"
  177. depends on MFD_LP8788
  178. help
  179. Say Y to enable support for the LP8788 RTC/ALARM driver.
  180. config RTC_DRV_MAX6900
  181. tristate "Maxim MAX6900"
  182. help
  183. If you say yes here you will get support for the
  184. Maxim MAX6900 I2C RTC chip.
  185. This driver can also be built as a module. If so, the module
  186. will be called rtc-max6900.
  187. config RTC_DRV_MAX8907
  188. tristate "Maxim MAX8907"
  189. depends on MFD_MAX8907
  190. help
  191. If you say yes here you will get support for the
  192. RTC of Maxim MAX8907 PMIC.
  193. This driver can also be built as a module. If so, the module
  194. will be called rtc-max8907.
  195. config RTC_DRV_MAX8925
  196. tristate "Maxim MAX8925"
  197. depends on MFD_MAX8925
  198. help
  199. If you say yes here you will get support for the
  200. RTC of Maxim MAX8925 PMIC.
  201. This driver can also be built as a module. If so, the module
  202. will be called rtc-max8925.
  203. config RTC_DRV_MAX8998
  204. tristate "Maxim MAX8998"
  205. depends on MFD_MAX8998
  206. help
  207. If you say yes here you will get support for the
  208. RTC of Maxim MAX8998 PMIC.
  209. This driver can also be built as a module. If so, the module
  210. will be called rtc-max8998.
  211. config RTC_DRV_MAX8997
  212. tristate "Maxim MAX8997"
  213. depends on MFD_MAX8997
  214. help
  215. If you say yes here you will get support for the
  216. RTC of Maxim MAX8997 PMIC.
  217. This driver can also be built as a module. If so, the module
  218. will be called rtc-max8997.
  219. config RTC_DRV_MAX77686
  220. tristate "Maxim MAX77686"
  221. depends on MFD_MAX77686
  222. help
  223. If you say yes here you will get support for the
  224. RTC of Maxim MAX77686 PMIC.
  225. This driver can also be built as a module. If so, the module
  226. will be called rtc-max77686.
  227. config RTC_DRV_RS5C372
  228. tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
  229. help
  230. If you say yes here you get support for the
  231. Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
  232. This driver can also be built as a module. If so, the module
  233. will be called rtc-rs5c372.
  234. config RTC_DRV_ISL1208
  235. tristate "Intersil ISL1208"
  236. help
  237. If you say yes here you get support for the
  238. Intersil ISL1208 RTC chip.
  239. This driver can also be built as a module. If so, the module
  240. will be called rtc-isl1208.
  241. config RTC_DRV_ISL12022
  242. tristate "Intersil ISL12022"
  243. help
  244. If you say yes here you get support for the
  245. Intersil ISL12022 RTC chip.
  246. This driver can also be built as a module. If so, the module
  247. will be called rtc-isl12022.
  248. config RTC_DRV_X1205
  249. tristate "Xicor/Intersil X1205"
  250. help
  251. If you say yes here you get support for the
  252. Xicor/Intersil X1205 RTC chip.
  253. This driver can also be built as a module. If so, the module
  254. will be called rtc-x1205.
  255. config RTC_DRV_PALMAS
  256. tristate "TI Palmas RTC driver"
  257. depends on MFD_PALMAS
  258. help
  259. If you say yes here you get support for the RTC of TI PALMA series PMIC
  260. chips.
  261. This driver can also be built as a module. If so, the module
  262. will be called rtc-palma.
  263. config RTC_DRV_PCF2127
  264. tristate "NXP PCF2127"
  265. help
  266. If you say yes here you get support for the NXP PCF2127/29 RTC
  267. chips.
  268. This driver can also be built as a module. If so, the module
  269. will be called rtc-pcf2127.
  270. config RTC_DRV_PCF8523
  271. tristate "NXP PCF8523"
  272. help
  273. If you say yes here you get support for the NXP PCF8523 RTC
  274. chips.
  275. This driver can also be built as a module. If so, the module
  276. will be called rtc-pcf8523.
  277. config RTC_DRV_PCF8563
  278. tristate "Philips PCF8563/Epson RTC8564"
  279. help
  280. If you say yes here you get support for the
  281. Philips PCF8563 RTC chip. The Epson RTC8564
  282. should work as well.
  283. This driver can also be built as a module. If so, the module
  284. will be called rtc-pcf8563.
  285. config RTC_DRV_PCF8583
  286. tristate "Philips PCF8583"
  287. help
  288. If you say yes here you get support for the Philips PCF8583
  289. RTC chip found on Acorn RiscPCs. This driver supports the
  290. platform specific method of retrieving the current year from
  291. the RTC's SRAM. It will work on other platforms with the same
  292. chip, but the year will probably have to be tweaked.
  293. This driver can also be built as a module. If so, the module
  294. will be called rtc-pcf8583.
  295. config RTC_DRV_M41T80
  296. tristate "ST M41T62/65/M41T80/81/82/83/84/85/87"
  297. help
  298. If you say Y here you will get support for the ST M41T60
  299. and M41T80 RTC chips series. Currently, the following chips are
  300. supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
  301. M41ST85, and M41ST87.
  302. This driver can also be built as a module. If so, the module
  303. will be called rtc-m41t80.
  304. config RTC_DRV_M41T80_WDT
  305. bool "ST M41T65/M41T80 series RTC watchdog timer"
  306. depends on RTC_DRV_M41T80
  307. help
  308. If you say Y here you will get support for the
  309. watchdog timer in the ST M41T60 and M41T80 RTC chips series.
  310. config RTC_DRV_BQ32K
  311. tristate "TI BQ32000"
  312. help
  313. If you say Y here you will get support for the TI
  314. BQ32000 I2C RTC chip.
  315. This driver can also be built as a module. If so, the module
  316. will be called rtc-bq32k.
  317. config RTC_DRV_DM355EVM
  318. tristate "TI DaVinci DM355 EVM RTC"
  319. depends on MFD_DM355EVM_MSP
  320. help
  321. Supports the RTC firmware in the MSP430 on the DM355 EVM.
  322. config RTC_DRV_TWL92330
  323. boolean "TI TWL92330/Menelaus"
  324. depends on MENELAUS
  325. help
  326. If you say yes here you get support for the RTC on the
  327. TWL92330 "Menelaus" power management chip, used with OMAP2
  328. platforms. The support is integrated with the rest of
  329. the Menelaus driver; it's not separate module.
  330. config RTC_DRV_TWL4030
  331. tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0"
  332. depends on TWL4030_CORE
  333. help
  334. If you say yes here you get support for the RTC on the
  335. TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms.
  336. This driver can also be built as a module. If so, the module
  337. will be called rtc-twl.
  338. config RTC_DRV_TPS6586X
  339. tristate "TI TPS6586X RTC driver"
  340. depends on MFD_TPS6586X
  341. help
  342. TI Power Management IC TPS6586X supports RTC functionality
  343. along with alarm. This driver supports the RTC driver for
  344. the TPS6586X RTC module.
  345. config RTC_DRV_TPS65910
  346. tristate "TI TPS65910 RTC driver"
  347. depends on RTC_CLASS && MFD_TPS65910
  348. help
  349. If you say yes here you get support for the RTC on the
  350. TPS65910 chips.
  351. This driver can also be built as a module. If so, the module
  352. will be called rtc-tps65910.
  353. config RTC_DRV_TPS80031
  354. tristate "TI TPS80031/TPS80032 RTC driver"
  355. depends on MFD_TPS80031
  356. help
  357. TI Power Management IC TPS80031 supports RTC functionality
  358. along with alarm. This driver supports the RTC driver for
  359. the TPS80031 RTC module.
  360. config RTC_DRV_RC5T583
  361. tristate "RICOH 5T583 RTC driver"
  362. depends on MFD_RC5T583
  363. help
  364. If you say yes here you get support for the RTC on the
  365. RICOH 5T583 chips.
  366. This driver can also be built as a module. If so, the module
  367. will be called rtc-rc5t583.
  368. config RTC_DRV_S35390A
  369. tristate "Seiko Instruments S-35390A"
  370. select BITREVERSE
  371. help
  372. If you say yes here you will get support for the Seiko
  373. Instruments S-35390A.
  374. This driver can also be built as a module. If so the module
  375. will be called rtc-s35390a.
  376. config RTC_DRV_FM3130
  377. tristate "Ramtron FM3130"
  378. help
  379. If you say Y here you will get support for the
  380. Ramtron FM3130 RTC chips.
  381. Ramtron FM3130 is a chip with two separate devices inside,
  382. RTC clock and FRAM. This driver provides only RTC functionality.
  383. This driver can also be built as a module. If so the module
  384. will be called rtc-fm3130.
  385. config RTC_DRV_RX8581
  386. tristate "Epson RX-8581"
  387. help
  388. If you say yes here you will get support for the Epson RX-8581.
  389. This driver can also be built as a module. If so the module
  390. will be called rtc-rx8581.
  391. config RTC_DRV_RX8025
  392. tristate "Epson RX-8025SA/NB"
  393. help
  394. If you say yes here you get support for the Epson
  395. RX-8025SA/NB RTC chips.
  396. This driver can also be built as a module. If so, the module
  397. will be called rtc-rx8025.
  398. config RTC_DRV_EM3027
  399. tristate "EM Microelectronic EM3027"
  400. help
  401. If you say yes here you get support for the EM
  402. Microelectronic EM3027 RTC chips.
  403. This driver can also be built as a module. If so, the module
  404. will be called rtc-em3027.
  405. config RTC_DRV_RV3029C2
  406. tristate "Micro Crystal RTC"
  407. help
  408. If you say yes here you get support for the Micro Crystal
  409. RV3029-C2 RTC chips.
  410. This driver can also be built as a module. If so, the module
  411. will be called rtc-rv3029c2.
  412. config RTC_DRV_S5M
  413. tristate "Samsung S5M series"
  414. depends on MFD_SEC_CORE
  415. help
  416. If you say yes here you will get support for the
  417. RTC of Samsung S5M PMIC series.
  418. This driver can also be built as a module. If so, the module
  419. will be called rtc-s5m.
  420. endif # I2C
  421. comment "SPI RTC drivers"
  422. if SPI_MASTER
  423. config RTC_DRV_M41T93
  424. tristate "ST M41T93"
  425. help
  426. If you say yes here you will get support for the
  427. ST M41T93 SPI RTC chip.
  428. This driver can also be built as a module. If so, the module
  429. will be called rtc-m41t93.
  430. config RTC_DRV_M41T94
  431. tristate "ST M41T94"
  432. help
  433. If you say yes here you will get support for the
  434. ST M41T94 SPI RTC chip.
  435. This driver can also be built as a module. If so, the module
  436. will be called rtc-m41t94.
  437. config RTC_DRV_DS1305
  438. tristate "Dallas/Maxim DS1305/DS1306"
  439. help
  440. Select this driver to get support for the Dallas/Maxim DS1305
  441. and DS1306 real time clock chips. These support a trickle
  442. charger, alarms, and NVRAM in addition to the clock.
  443. This driver can also be built as a module. If so, the module
  444. will be called rtc-ds1305.
  445. config RTC_DRV_DS1390
  446. tristate "Dallas/Maxim DS1390/93/94"
  447. help
  448. If you say yes here you get support for the
  449. Dallas/Maxim DS1390/93/94 chips.
  450. This driver only supports the RTC feature, and not other chip
  451. features such as alarms and trickle charging.
  452. This driver can also be built as a module. If so, the module
  453. will be called rtc-ds1390.
  454. config RTC_DRV_MAX6902
  455. tristate "Maxim MAX6902"
  456. help
  457. If you say yes here you will get support for the
  458. Maxim MAX6902 SPI RTC chip.
  459. This driver can also be built as a module. If so, the module
  460. will be called rtc-max6902.
  461. config RTC_DRV_R9701
  462. tristate "Epson RTC-9701JE"
  463. help
  464. If you say yes here you will get support for the
  465. Epson RTC-9701JE SPI RTC chip.
  466. This driver can also be built as a module. If so, the module
  467. will be called rtc-r9701.
  468. config RTC_DRV_RS5C348
  469. tristate "Ricoh RS5C348A/B"
  470. help
  471. If you say yes here you get support for the
  472. Ricoh RS5C348A and RS5C348B RTC chips.
  473. This driver can also be built as a module. If so, the module
  474. will be called rtc-rs5c348.
  475. config RTC_DRV_DS3234
  476. tristate "Maxim/Dallas DS3234"
  477. help
  478. If you say yes here you get support for the
  479. Maxim/Dallas DS3234 SPI RTC chip.
  480. This driver can also be built as a module. If so, the module
  481. will be called rtc-ds3234.
  482. config RTC_DRV_PCF2123
  483. tristate "NXP PCF2123"
  484. help
  485. If you say yes here you get support for the NXP PCF2123
  486. RTC chip.
  487. This driver can also be built as a module. If so, the module
  488. will be called rtc-pcf2123.
  489. config RTC_DRV_RX4581
  490. tristate "Epson RX-4581"
  491. help
  492. If you say yes here you will get support for the Epson RX-4581.
  493. This driver can also be built as a module. If so the module
  494. will be called rtc-rx4581.
  495. endif # SPI_MASTER
  496. comment "Platform RTC drivers"
  497. # this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h>
  498. # requires <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
  499. # global rtc_lock ... it's not yet just another platform_device.
  500. config RTC_DRV_CMOS
  501. tristate "PC-style 'CMOS'"
  502. depends on X86 || ALPHA || ARM || M32R || ATARI || PPC || MIPS || SPARC64
  503. default y if X86
  504. help
  505. Say "yes" here to get direct support for the real time clock
  506. found in every PC or ACPI-based system, and some other boards.
  507. Specifically the original MC146818, compatibles like those in
  508. PC south bridges, the DS12887 or M48T86, some multifunction
  509. or LPC bus chips, and so on.
  510. Your system will need to define the platform device used by
  511. this driver, otherwise it won't be accessible. This means
  512. you can safely enable this driver if you don't know whether
  513. or not your board has this kind of hardware.
  514. This driver can also be built as a module. If so, the module
  515. will be called rtc-cmos.
  516. config RTC_DRV_VRTC
  517. tristate "Virtual RTC for Intel MID platforms"
  518. depends on X86_INTEL_MID
  519. default y if X86_INTEL_MID
  520. help
  521. Say "yes" here to get direct support for the real time clock
  522. found on Moorestown platforms. The VRTC is a emulated RTC that
  523. derives its clock source from a real RTC in the PMIC. The MC146818
  524. style programming interface is mostly conserved, but any
  525. updates are done via IPC calls to the system controller FW.
  526. config RTC_DRV_DS1216
  527. tristate "Dallas DS1216"
  528. depends on SNI_RM
  529. help
  530. If you say yes here you get support for the Dallas DS1216 RTC chips.
  531. config RTC_DRV_DS1286
  532. tristate "Dallas DS1286"
  533. help
  534. If you say yes here you get support for the Dallas DS1286 RTC chips.
  535. config RTC_DRV_DS1302
  536. tristate "Dallas DS1302"
  537. depends on SH_SECUREEDGE5410
  538. help
  539. If you say yes here you get support for the Dallas DS1302 RTC chips.
  540. config RTC_DRV_DS1511
  541. tristate "Dallas DS1511"
  542. help
  543. If you say yes here you get support for the
  544. Dallas DS1511 timekeeping/watchdog chip.
  545. This driver can also be built as a module. If so, the module
  546. will be called rtc-ds1511.
  547. config RTC_DRV_DS1553
  548. tristate "Maxim/Dallas DS1553"
  549. help
  550. If you say yes here you get support for the
  551. Maxim/Dallas DS1553 timekeeping chip.
  552. This driver can also be built as a module. If so, the module
  553. will be called rtc-ds1553.
  554. config RTC_DRV_DS1742
  555. tristate "Maxim/Dallas DS1742/1743"
  556. help
  557. If you say yes here you get support for the
  558. Maxim/Dallas DS1742/1743 timekeeping chip.
  559. This driver can also be built as a module. If so, the module
  560. will be called rtc-ds1742.
  561. config RTC_DRV_DA9052
  562. tristate "Dialog DA9052/DA9053 RTC"
  563. depends on PMIC_DA9052
  564. help
  565. Say y here to support the RTC driver for Dialog Semiconductor
  566. DA9052-BC and DA9053-AA/Bx PMICs.
  567. config RTC_DRV_DA9055
  568. tristate "Dialog Semiconductor DA9055 RTC"
  569. depends on MFD_DA9055
  570. help
  571. If you say yes here you will get support for the
  572. RTC of the Dialog DA9055 PMIC.
  573. This driver can also be built as a module. If so, the module
  574. will be called rtc-da9055
  575. config RTC_DRV_EFI
  576. tristate "EFI RTC"
  577. depends on IA64
  578. help
  579. If you say yes here you will get support for the EFI
  580. Real Time Clock.
  581. This driver can also be built as a module. If so, the module
  582. will be called rtc-efi.
  583. config RTC_DRV_STK17TA8
  584. tristate "Simtek STK17TA8"
  585. help
  586. If you say yes here you get support for the
  587. Simtek STK17TA8 timekeeping chip.
  588. This driver can also be built as a module. If so, the module
  589. will be called rtc-stk17ta8.
  590. config RTC_DRV_M48T86
  591. tristate "ST M48T86/Dallas DS12887"
  592. help
  593. If you say Y here you will get support for the
  594. ST M48T86 and Dallas DS12887 RTC chips.
  595. This driver can also be built as a module. If so, the module
  596. will be called rtc-m48t86.
  597. config RTC_DRV_M48T35
  598. tristate "ST M48T35"
  599. help
  600. If you say Y here you will get support for the
  601. ST M48T35 RTC chip.
  602. This driver can also be built as a module, if so, the module
  603. will be called "rtc-m48t35".
  604. config RTC_DRV_M48T59
  605. tristate "ST M48T59/M48T08/M48T02"
  606. help
  607. If you say Y here you will get support for the
  608. ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
  609. These chips are usually found in Sun SPARC and UltraSPARC
  610. workstations.
  611. This driver can also be built as a module, if so, the module
  612. will be called "rtc-m48t59".
  613. config RTC_DRV_MSM6242
  614. tristate "Oki MSM6242"
  615. help
  616. If you say yes here you get support for the Oki MSM6242
  617. timekeeping chip. It is used in some Amiga models (e.g. A2000).
  618. This driver can also be built as a module. If so, the module
  619. will be called rtc-msm6242.
  620. config RTC_DRV_BQ4802
  621. tristate "TI BQ4802"
  622. help
  623. If you say Y here you will get support for the TI
  624. BQ4802 RTC chip.
  625. This driver can also be built as a module. If so, the module
  626. will be called rtc-bq4802.
  627. config RTC_DRV_RP5C01
  628. tristate "Ricoh RP5C01"
  629. help
  630. If you say yes here you get support for the Ricoh RP5C01
  631. timekeeping chip. It is used in some Amiga models (e.g. A3000
  632. and A4000).
  633. This driver can also be built as a module. If so, the module
  634. will be called rtc-rp5c01.
  635. config RTC_DRV_V3020
  636. tristate "EM Microelectronic V3020"
  637. help
  638. If you say yes here you will get support for the
  639. EM Microelectronic v3020 RTC chip.
  640. This driver can also be built as a module. If so, the module
  641. will be called rtc-v3020.
  642. config RTC_DRV_DS2404
  643. tristate "Dallas DS2404"
  644. help
  645. If you say yes here you get support for the
  646. Dallas DS2404 RTC chip.
  647. This driver can also be built as a module. If so, the module
  648. will be called rtc-ds2404.
  649. config RTC_DRV_WM831X
  650. tristate "Wolfson Microelectronics WM831x RTC"
  651. depends on MFD_WM831X
  652. help
  653. If you say yes here you will get support for the RTC subsystem
  654. of the Wolfson Microelectronics WM831X series PMICs.
  655. This driver can also be built as a module. If so, the module
  656. will be called "rtc-wm831x".
  657. config RTC_DRV_WM8350
  658. tristate "Wolfson Microelectronics WM8350 RTC"
  659. depends on MFD_WM8350
  660. help
  661. If you say yes here you will get support for the RTC subsystem
  662. of the Wolfson Microelectronics WM8350.
  663. This driver can also be built as a module. If so, the module
  664. will be called "rtc-wm8350".
  665. config RTC_DRV_SPEAR
  666. tristate "SPEAR ST RTC"
  667. depends on PLAT_SPEAR
  668. default y
  669. help
  670. If you say Y here you will get support for the RTC found on
  671. spear
  672. config RTC_DRV_PCF50633
  673. depends on MFD_PCF50633
  674. tristate "NXP PCF50633 RTC"
  675. help
  676. If you say yes here you get support for the RTC subsystem of the
  677. NXP PCF50633 used in embedded systems.
  678. config RTC_DRV_AB3100
  679. tristate "ST-Ericsson AB3100 RTC"
  680. depends on AB3100_CORE
  681. default y if AB3100_CORE
  682. help
  683. Select this to enable the ST-Ericsson AB3100 Mixed Signal IC RTC
  684. support. This chip contains a battery- and capacitor-backed RTC.
  685. config RTC_DRV_AB8500
  686. tristate "ST-Ericsson AB8500 RTC"
  687. depends on AB8500_CORE
  688. select RTC_INTF_DEV
  689. select RTC_INTF_DEV_UIE_EMUL
  690. help
  691. Select this to enable the ST-Ericsson AB8500 power management IC RTC
  692. support. This chip contains a battery- and capacitor-backed RTC.
  693. config RTC_DRV_NUC900
  694. tristate "NUC910/NUC920 RTC driver"
  695. depends on ARCH_W90X900
  696. help
  697. If you say yes here you get support for the RTC subsystem of the
  698. NUC910/NUC920 used in embedded systems.
  699. comment "on-CPU RTC drivers"
  700. config RTC_DRV_DAVINCI
  701. tristate "TI DaVinci RTC"
  702. depends on ARCH_DAVINCI_DM365
  703. help
  704. If you say yes here you get support for the RTC on the
  705. DaVinci platforms (DM365).
  706. This driver can also be built as a module. If so, the module
  707. will be called rtc-davinci.
  708. config RTC_DRV_IMXDI
  709. tristate "Freescale IMX DryIce Real Time Clock"
  710. depends on ARCH_MXC
  711. help
  712. Support for Freescale IMX DryIce RTC
  713. This driver can also be built as a module, if so, the module
  714. will be called "rtc-imxdi".
  715. config RTC_DRV_OMAP
  716. tristate "TI OMAP1"
  717. depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730 || ARCH_DAVINCI_DA8XX || SOC_AM33XX
  718. help
  719. Say "yes" here to support the on chip real time clock
  720. present on TI OMAP1, AM33xx and DA8xx/OMAP-L13x.
  721. This driver can also be built as a module, if so, module
  722. will be called rtc-omap.
  723. config HAVE_S3C_RTC
  724. bool
  725. help
  726. This will include RTC support for Samsung SoCs. If
  727. you want to include RTC support for any machine, kindly
  728. select this in the respective mach-XXXX/Kconfig file.
  729. config RTC_DRV_S3C
  730. tristate "Samsung S3C series SoC RTC"
  731. depends on ARCH_S3C64XX || HAVE_S3C_RTC
  732. help
  733. RTC (Realtime Clock) driver for the clock inbuilt into the
  734. Samsung S3C24XX series of SoCs. This can provide periodic
  735. interrupt rates from 1Hz to 64Hz for user programs, and
  736. wakeup from Alarm.
  737. The driver currently supports the common features on all the
  738. S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
  739. and S3C2442.
  740. This driver can also be build as a module. If so, the module
  741. will be called rtc-s3c.
  742. config RTC_DRV_EP93XX
  743. tristate "Cirrus Logic EP93XX"
  744. depends on ARCH_EP93XX
  745. help
  746. If you say yes here you get support for the
  747. RTC embedded in the Cirrus Logic EP93XX processors.
  748. This driver can also be built as a module. If so, the module
  749. will be called rtc-ep93xx.
  750. config RTC_DRV_SA1100
  751. tristate "SA11x0/PXA2xx/PXA910"
  752. depends on ARCH_SA1100 || ARCH_PXA || ARCH_MMP
  753. help
  754. If you say Y here you will get access to the real time clock
  755. built into your SA11x0 or PXA2xx CPU.
  756. To compile this driver as a module, choose M here: the
  757. module will be called rtc-sa1100.
  758. config RTC_DRV_SH
  759. tristate "SuperH On-Chip RTC"
  760. depends on SUPERH && HAVE_CLK
  761. help
  762. Say Y here to enable support for the on-chip RTC found in
  763. most SuperH processors.
  764. To compile this driver as a module, choose M here: the
  765. module will be called rtc-sh.
  766. config RTC_DRV_VR41XX
  767. tristate "NEC VR41XX"
  768. depends on CPU_VR41XX
  769. help
  770. If you say Y here you will get access to the real time clock
  771. built into your NEC VR41XX CPU.
  772. To compile this driver as a module, choose M here: the
  773. module will be called rtc-vr41xx.
  774. config RTC_DRV_PL030
  775. tristate "ARM AMBA PL030 RTC"
  776. depends on ARM_AMBA
  777. help
  778. If you say Y here you will get access to ARM AMBA
  779. PrimeCell PL030 RTC found on certain ARM SOCs.
  780. To compile this driver as a module, choose M here: the
  781. module will be called rtc-pl030.
  782. config RTC_DRV_PL031
  783. tristate "ARM AMBA PL031 RTC"
  784. depends on ARM_AMBA
  785. help
  786. If you say Y here you will get access to ARM AMBA
  787. PrimeCell PL031 RTC found on certain ARM SOCs.
  788. To compile this driver as a module, choose M here: the
  789. module will be called rtc-pl031.
  790. config RTC_DRV_AT32AP700X
  791. tristate "AT32AP700X series RTC"
  792. depends on PLATFORM_AT32AP
  793. help
  794. Driver for the internal RTC (Realtime Clock) on Atmel AVR32
  795. AT32AP700x family processors.
  796. config RTC_DRV_AT91RM9200
  797. tristate "AT91RM9200 or some AT91SAM9 RTC"
  798. depends on ARCH_AT91
  799. help
  800. Driver for the internal RTC (Realtime Clock) module found on
  801. Atmel AT91RM9200's and some AT91SAM9 chips. On AT91SAM9 chips
  802. this is powered by the backup power supply.
  803. config RTC_DRV_AT91SAM9
  804. tristate "AT91SAM9x/AT91CAP9 RTT as RTC"
  805. depends on ARCH_AT91 && !(ARCH_AT91RM9200 || ARCH_AT91X40)
  806. help
  807. RTC driver for the Atmel AT91SAM9x and AT91CAP9 internal RTT
  808. (Real Time Timer). These timers are powered by the backup power
  809. supply (such as a small coin cell battery), but do not need to
  810. be used as RTCs.
  811. (On AT91SAM9rl and AT91SAM9G45 chips you probably want to use the
  812. dedicated RTC module and leave the RTT available for other uses.)
  813. config RTC_DRV_AT91SAM9_RTT
  814. int
  815. range 0 1
  816. default 0
  817. prompt "RTT module Number" if ARCH_AT91SAM9263
  818. depends on RTC_DRV_AT91SAM9
  819. help
  820. More than one RTT module is available. You can choose which
  821. one will be used as an RTC. The default of zero is normally
  822. OK to use, though some systems use that for non-RTC purposes.
  823. config RTC_DRV_AT91SAM9_GPBR
  824. int
  825. range 0 3 if !ARCH_AT91SAM9263
  826. range 0 15 if ARCH_AT91SAM9263
  827. default 0
  828. prompt "Backup Register Number"
  829. depends on RTC_DRV_AT91SAM9
  830. help
  831. The RTC driver needs to use one of the General Purpose Backup
  832. Registers (GPBRs) as well as the RTT. You can choose which one
  833. will be used. The default of zero is normally OK to use, but
  834. on some systems other software needs to use that register.
  835. config RTC_DRV_AU1XXX
  836. tristate "Au1xxx Counter0 RTC support"
  837. depends on MIPS_ALCHEMY
  838. help
  839. This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
  840. counter) to be used as a RTC.
  841. This driver can also be built as a module. If so, the module
  842. will be called rtc-au1xxx.
  843. config RTC_DRV_BFIN
  844. tristate "Blackfin On-Chip RTC"
  845. depends on BLACKFIN && !BF561
  846. help
  847. If you say yes here you will get support for the
  848. Blackfin On-Chip Real Time Clock.
  849. This driver can also be built as a module. If so, the module
  850. will be called rtc-bfin.
  851. config RTC_DRV_RS5C313
  852. tristate "Ricoh RS5C313"
  853. depends on SH_LANDISK
  854. help
  855. If you say yes here you get support for the Ricoh RS5C313 RTC chips.
  856. config RTC_DRV_GENERIC
  857. tristate "Generic RTC support"
  858. # Please consider writing a new RTC driver instead of using the generic
  859. # RTC abstraction
  860. depends on PARISC || M68K || PPC || SUPERH32
  861. help
  862. Say Y or M here to enable RTC support on systems using the generic
  863. RTC abstraction. If you do not know what you are doing, you should
  864. just say Y.
  865. config RTC_DRV_PXA
  866. tristate "PXA27x/PXA3xx"
  867. depends on ARCH_PXA
  868. help
  869. If you say Y here you will get access to the real time clock
  870. built into your PXA27x or PXA3xx CPU.
  871. This RTC driver uses PXA RTC registers available since pxa27x
  872. series (RDxR, RYxR) instead of legacy RCNR, RTAR.
  873. config RTC_DRV_VT8500
  874. tristate "VIA/WonderMedia 85xx SoC RTC"
  875. depends on ARCH_VT8500
  876. help
  877. If you say Y here you will get access to the real time clock
  878. built into your VIA VT8500 SoC or its relatives.
  879. config RTC_DRV_SUN4V
  880. bool "SUN4V Hypervisor RTC"
  881. depends on SPARC64
  882. help
  883. If you say Y here you will get support for the Hypervisor
  884. based RTC on SUN4V systems.
  885. config RTC_DRV_STARFIRE
  886. bool "Starfire RTC"
  887. depends on SPARC64
  888. help
  889. If you say Y here you will get support for the RTC found on
  890. Starfire systems.
  891. config RTC_DRV_TX4939
  892. tristate "TX4939 SoC"
  893. depends on SOC_TX4939
  894. help
  895. Driver for the internal RTC (Realtime Clock) module found on
  896. Toshiba TX4939 SoC.
  897. config RTC_DRV_MV
  898. tristate "Marvell SoC RTC"
  899. depends on ARCH_KIRKWOOD || ARCH_DOVE || ARCH_MVEBU
  900. help
  901. If you say yes here you will get support for the in-chip RTC
  902. that can be found in some of Marvell's SoC devices, such as
  903. the Kirkwood 88F6281 and 88F6192.
  904. This driver can also be built as a module. If so, the module
  905. will be called rtc-mv.
  906. config RTC_DRV_PS3
  907. tristate "PS3 RTC"
  908. depends on PPC_PS3
  909. help
  910. If you say yes here you will get support for the RTC on PS3.
  911. This driver can also be built as a module. If so, the module
  912. will be called rtc-ps3.
  913. config RTC_DRV_COH901331
  914. tristate "ST-Ericsson COH 901 331 RTC"
  915. depends on ARCH_U300
  916. help
  917. If you say Y here you will get access to ST-Ericsson
  918. COH 901 331 RTC clock found in some ST-Ericsson Mobile
  919. Platforms.
  920. This driver can also be built as a module. If so, the module
  921. will be called "rtc-coh901331".
  922. config RTC_DRV_STMP
  923. tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC"
  924. depends on ARCH_MXS
  925. help
  926. If you say yes here you will get support for the onboard
  927. STMP3xxx/i.MX23/i.MX28 RTC.
  928. This driver can also be built as a module. If so, the module
  929. will be called rtc-stmp3xxx.
  930. config RTC_DRV_PCAP
  931. tristate "PCAP RTC"
  932. depends on EZX_PCAP
  933. help
  934. If you say Y here you will get support for the RTC found on
  935. the PCAP2 ASIC used on some Motorola phones.
  936. config RTC_DRV_MC13XXX
  937. depends on MFD_MC13XXX
  938. tristate "Freescale MC13xxx RTC"
  939. help
  940. This enables support for the RTCs found on Freescale's PMICs
  941. MC13783 and MC13892.
  942. config RTC_DRV_MPC5121
  943. tristate "Freescale MPC5121 built-in RTC"
  944. depends on PPC_MPC512x || PPC_MPC52xx
  945. help
  946. If you say yes here you will get support for the
  947. built-in RTC on MPC5121 or on MPC5200.
  948. This driver can also be built as a module. If so, the module
  949. will be called rtc-mpc5121.
  950. config RTC_DRV_JZ4740
  951. tristate "Ingenic JZ4740 SoC"
  952. depends on MACH_JZ4740
  953. help
  954. If you say yes here you get support for the Ingenic JZ4740 SoC RTC
  955. controller.
  956. This driver can also be buillt as a module. If so, the module
  957. will be called rtc-jz4740.
  958. config RTC_DRV_LPC32XX
  959. depends on ARCH_LPC32XX
  960. tristate "NXP LPC32XX RTC"
  961. help
  962. This enables support for the NXP RTC in the LPC32XX
  963. This driver can also be buillt as a module. If so, the module
  964. will be called rtc-lpc32xx.
  965. config RTC_DRV_PM8XXX
  966. tristate "Qualcomm PMIC8XXX RTC"
  967. depends on MFD_PM8XXX
  968. help
  969. If you say yes here you get support for the
  970. Qualcomm PMIC8XXX RTC.
  971. To compile this driver as a module, choose M here: the
  972. module will be called rtc-pm8xxx.
  973. config RTC_DRV_TEGRA
  974. tristate "NVIDIA Tegra Internal RTC driver"
  975. depends on ARCH_TEGRA
  976. help
  977. If you say yes here you get support for the
  978. Tegra 200 series internal RTC module.
  979. This drive can also be built as a module. If so, the module
  980. will be called rtc-tegra.
  981. config RTC_DRV_TILE
  982. tristate "Tilera hypervisor RTC support"
  983. depends on TILE
  984. help
  985. Enable support for the Linux driver side of the Tilera
  986. hypervisor's real-time clock interface.
  987. config RTC_DRV_PUV3
  988. tristate "PKUnity v3 RTC support"
  989. depends on ARCH_PUV3
  990. help
  991. This enables support for the RTC in the PKUnity-v3 SoCs.
  992. This drive can also be built as a module. If so, the module
  993. will be called rtc-puv3.
  994. config RTC_DRV_LOONGSON1
  995. tristate "loongson1 RTC support"
  996. depends on MACH_LOONGSON1
  997. help
  998. This is a driver for the loongson1 on-chip Counter0 (Time-Of-Year
  999. counter) to be used as a RTC.
  1000. This driver can also be built as a module. If so, the module
  1001. will be called rtc-ls1x.
  1002. config RTC_DRV_MXC
  1003. tristate "Freescale MXC Real Time Clock"
  1004. depends on ARCH_MXC
  1005. help
  1006. If you say yes here you get support for the Freescale MXC
  1007. RTC module.
  1008. This driver can also be built as a module, if so, the module
  1009. will be called "rtc-mxc".
  1010. config RTC_DRV_SNVS
  1011. tristate "Freescale SNVS RTC support"
  1012. depends on HAS_IOMEM
  1013. depends on OF
  1014. help
  1015. If you say yes here you get support for the Freescale SNVS
  1016. Low Power (LP) RTC module.
  1017. This driver can also be built as a module, if so, the module
  1018. will be called "rtc-snvs".
  1019. config RTC_DRV_SIRFSOC
  1020. tristate "SiRFSOC RTC"
  1021. depends on ARCH_SIRF
  1022. help
  1023. Say "yes" here to support the real time clock on SiRF SOC chips.
  1024. This driver can also be built as a module called rtc-sirfsoc.
  1025. config RTC_DRV_MOXART
  1026. tristate "MOXA ART RTC"
  1027. help
  1028. If you say yes here you get support for the MOXA ART
  1029. RTC module.
  1030. This driver can also be built as a module. If so, the module
  1031. will be called rtc-moxart
  1032. comment "HID Sensor RTC drivers"
  1033. config RTC_DRV_HID_SENSOR_TIME
  1034. tristate "HID Sensor Time"
  1035. depends on USB_HID
  1036. select IIO
  1037. select HID_SENSOR_HUB
  1038. select HID_SENSOR_IIO_COMMON
  1039. help
  1040. Say yes here to build support for the HID Sensors of type Time.
  1041. This drivers makes such sensors available as RTCs.
  1042. If this driver is compiled as a module, it will be named
  1043. rtc-hid-sensor-time.
  1044. endif # RTC_CLASS