Kconfig 36 KB

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