Kconfig 52 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820
  1. #
  2. # RTC class/drivers configuration
  3. #
  4. config RTC_LIB
  5. bool
  6. config RTC_MC146818_LIB
  7. bool
  8. select RTC_LIB
  9. menuconfig RTC_CLASS
  10. bool "Real Time Clock"
  11. default n
  12. depends on !S390 && !UML
  13. select RTC_LIB
  14. help
  15. Generic RTC class support. If you say yes here, you will
  16. be allowed to plug one or more RTCs to your system. You will
  17. probably want to enable one or more of the interfaces below.
  18. if RTC_CLASS
  19. config RTC_HCTOSYS
  20. bool "Set system time from RTC on startup and resume"
  21. default y
  22. help
  23. If you say yes here, the system time (wall clock) will be set using
  24. the value read from a specified RTC device. This is useful to avoid
  25. unnecessary fsck runs at boot time, and to network better.
  26. config RTC_HCTOSYS_DEVICE
  27. string "RTC used to set the system time"
  28. depends on RTC_HCTOSYS
  29. default "rtc0"
  30. help
  31. The RTC device that will be used to (re)initialize the system
  32. clock, usually rtc0. Initialization is done when the system
  33. starts up, and when it resumes from a low power state. This
  34. device should record time in UTC, since the kernel won't do
  35. timezone correction.
  36. The driver for this RTC device must be loaded before late_initcall
  37. functions run, so it must usually be statically linked.
  38. This clock should be battery-backed, so that it reads the correct
  39. time when the system boots from a power-off state. Otherwise, your
  40. system will need an external clock source (like an NTP server).
  41. If the clock you specify here is not battery backed, it may still
  42. be useful to reinitialize system time when resuming from system
  43. sleep states. Do not specify an RTC here unless it stays powered
  44. during all this system's supported sleep states.
  45. config RTC_SYSTOHC
  46. bool "Set the RTC time based on NTP synchronization"
  47. default y
  48. help
  49. If you say yes here, the system time (wall clock) will be stored
  50. in the RTC specified by RTC_HCTOSYS_DEVICE approximately every 11
  51. minutes if userspace reports synchronized NTP status.
  52. config RTC_SYSTOHC_DEVICE
  53. string "RTC used to synchronize NTP adjustment"
  54. depends on RTC_SYSTOHC
  55. default RTC_HCTOSYS_DEVICE if RTC_HCTOSYS
  56. default "rtc0"
  57. help
  58. The RTC device used for NTP synchronization. The main difference
  59. between RTC_HCTOSYS_DEVICE and RTC_SYSTOHC_DEVICE is that this
  60. one can sleep when setting time, because it runs in the workqueue
  61. context.
  62. config RTC_DEBUG
  63. bool "RTC debug support"
  64. help
  65. Say yes here to enable debugging support in the RTC framework
  66. and individual RTC drivers.
  67. config RTC_NVMEM
  68. bool "RTC non volatile storage support"
  69. select NVMEM
  70. default RTC_CLASS
  71. help
  72. Say yes here to add support for the non volatile (often battery
  73. backed) storage present on RTCs.
  74. comment "RTC interfaces"
  75. config RTC_INTF_SYSFS
  76. bool "/sys/class/rtc/rtcN (sysfs)"
  77. depends on SYSFS
  78. default RTC_CLASS
  79. help
  80. Say yes here if you want to use your RTCs using sysfs interfaces,
  81. /sys/class/rtc/rtc0 through /sys/.../rtcN.
  82. If unsure, say Y.
  83. config RTC_INTF_PROC
  84. bool "/proc/driver/rtc (procfs for rtcN)"
  85. depends on PROC_FS
  86. default RTC_CLASS
  87. help
  88. Say yes here if you want to use your system clock RTC through
  89. the proc interface, /proc/driver/rtc.
  90. Other RTCs will not be available through that API.
  91. If there is no RTC for the system clock, then the first RTC(rtc0)
  92. is used by default.
  93. If unsure, say Y.
  94. config RTC_INTF_DEV
  95. bool "/dev/rtcN (character devices)"
  96. default RTC_CLASS
  97. help
  98. Say yes here if you want to use your RTCs using the /dev
  99. interfaces, which "udev" sets up as /dev/rtc0 through
  100. /dev/rtcN.
  101. You may want to set up a symbolic link so one of these
  102. can be accessed as /dev/rtc, which is a name
  103. expected by "hwclock" and some other programs. Recent
  104. versions of "udev" are known to set up the symlink for you.
  105. If unsure, say Y.
  106. config RTC_INTF_DEV_UIE_EMUL
  107. bool "RTC UIE emulation on dev interface"
  108. depends on RTC_INTF_DEV
  109. help
  110. Provides an emulation for RTC_UIE if the underlying rtc chip
  111. driver does not expose RTC_UIE ioctls. Those requests generate
  112. once-per-second update interrupts, used for synchronization.
  113. The emulation code will read the time from the hardware
  114. clock several times per second, please enable this option
  115. only if you know that you really need it.
  116. config RTC_DRV_TEST
  117. tristate "Test driver/device"
  118. help
  119. If you say yes here you get support for the
  120. RTC test driver. It's a software RTC which can be
  121. used to test the RTC subsystem APIs. It gets
  122. the time from the system clock.
  123. You want this driver only if you are doing development
  124. on the RTC subsystem. Please read the source code
  125. for further details.
  126. This driver can also be built as a module. If so, the module
  127. will be called rtc-test.
  128. comment "I2C RTC drivers"
  129. if I2C
  130. config RTC_DRV_88PM860X
  131. tristate "Marvell 88PM860x"
  132. depends on MFD_88PM860X
  133. help
  134. If you say yes here you get support for RTC function in Marvell
  135. 88PM860x chips.
  136. This driver can also be built as a module. If so, the module
  137. will be called rtc-88pm860x.
  138. config RTC_DRV_88PM80X
  139. tristate "Marvell 88PM80x"
  140. depends on MFD_88PM800
  141. help
  142. If you say yes here you get support for RTC function in Marvell
  143. 88PM80x chips.
  144. This driver can also be built as a module. If so, the module
  145. will be called rtc-88pm80x.
  146. config RTC_DRV_ABB5ZES3
  147. select REGMAP_I2C
  148. tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
  149. help
  150. If you say yes here you get support for the Abracon
  151. AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip.
  152. This driver can also be built as a module. If so, the module
  153. will be called rtc-ab-b5ze-s3.
  154. config RTC_DRV_ABX80X
  155. tristate "Abracon ABx80x"
  156. help
  157. If you say yes here you get support for Abracon AB080X and AB180X
  158. families of ultra-low-power battery- and capacitor-backed real-time
  159. clock chips.
  160. This driver can also be built as a module. If so, the module
  161. will be called rtc-abx80x.
  162. config RTC_DRV_AC100
  163. tristate "X-Powers AC100"
  164. depends on MFD_AC100
  165. help
  166. If you say yes here you get support for the real-time clock found
  167. in X-Powers AC100 family peripheral ICs.
  168. This driver can also be built as a module. If so, the module
  169. will be called rtc-ac100.
  170. config RTC_DRV_BRCMSTB
  171. tristate "Broadcom STB wake-timer"
  172. depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
  173. default ARCH_BRCMSTB || BMIPS_GENERIC
  174. help
  175. If you say yes here you get support for the wake-timer found on
  176. Broadcom STB SoCs (BCM7xxx).
  177. This driver can also be built as a module. If so, the module will
  178. be called rtc-brcmstb-waketimer.
  179. config RTC_DRV_AS3722
  180. tristate "ams AS3722 RTC driver"
  181. depends on MFD_AS3722
  182. help
  183. If you say yes here you get support for the RTC of ams AS3722 PMIC
  184. chips.
  185. This driver can also be built as a module. If so, the module
  186. will be called rtc-as3722.
  187. config RTC_DRV_DS1307
  188. tristate "Dallas/Maxim DS1307/37/38/39/40/41, ST M41T00, EPSON RX-8025, ISL12057"
  189. help
  190. If you say yes here you get support for various compatible RTC
  191. chips (often with battery backup) connected with I2C. This driver
  192. should handle DS1307, DS1337, DS1338, DS1339, DS1340, DS1341,
  193. ST M41T00, EPSON RX-8025, Intersil ISL12057 and probably other chips.
  194. In some cases the RTC must already have been initialized (by
  195. manufacturing or a bootloader).
  196. The first seven registers on these chips hold an RTC, and other
  197. registers may add features such as NVRAM, a trickle charger for
  198. the RTC/NVRAM backup power, and alarms. NVRAM is visible in
  199. sysfs, but other chip features may not be available.
  200. This driver can also be built as a module. If so, the module
  201. will be called rtc-ds1307.
  202. config RTC_DRV_DS1307_CENTURY
  203. bool "Century bit support for rtc-ds1307"
  204. depends on RTC_DRV_DS1307
  205. default n
  206. help
  207. The DS1307 driver suffered from a bug where it was enabling the
  208. century bit inconditionnally but never used it when reading the time.
  209. It made the driver unable to support dates beyond 2099.
  210. Setting this option will add proper support for the century bit but if
  211. the time was previously set using a kernel predating this option,
  212. reading the date will return a date in the next century.
  213. To solve that, you could boot a kernel without this option set, set
  214. the RTC date and then boot a kernel with this option set.
  215. config RTC_DRV_DS1374
  216. tristate "Dallas/Maxim DS1374"
  217. help
  218. If you say yes here you get support for Dallas Semiconductor
  219. DS1374 real-time clock chips. If an interrupt is associated
  220. with the device, the alarm functionality is supported.
  221. This driver can also be built as a module. If so, the module
  222. will be called rtc-ds1374.
  223. config RTC_DRV_DS1374_WDT
  224. bool "Dallas/Maxim DS1374 watchdog timer"
  225. depends on RTC_DRV_DS1374
  226. help
  227. If you say Y here you will get support for the
  228. watchdog timer in the Dallas Semiconductor DS1374
  229. real-time clock chips.
  230. config RTC_DRV_DS1672
  231. tristate "Dallas/Maxim DS1672"
  232. help
  233. If you say yes here you get support for the
  234. Dallas/Maxim DS1672 timekeeping chip.
  235. This driver can also be built as a module. If so, the module
  236. will be called rtc-ds1672.
  237. config RTC_DRV_HYM8563
  238. tristate "Haoyu Microelectronics HYM8563"
  239. depends on OF
  240. help
  241. Say Y to enable support for the HYM8563 I2C RTC chip. Apart
  242. from the usual rtc functions it provides a clock output of
  243. up to 32kHz.
  244. This driver can also be built as a module. If so, the module
  245. will be called rtc-hym8563.
  246. config RTC_DRV_LP8788
  247. tristate "TI LP8788 RTC driver"
  248. depends on MFD_LP8788
  249. help
  250. Say Y to enable support for the LP8788 RTC/ALARM driver.
  251. config RTC_DRV_MAX6900
  252. tristate "Maxim MAX6900"
  253. help
  254. If you say yes here you will get support for the
  255. Maxim MAX6900 I2C RTC chip.
  256. This driver can also be built as a module. If so, the module
  257. will be called rtc-max6900.
  258. config RTC_DRV_MAX8907
  259. tristate "Maxim MAX8907"
  260. depends on MFD_MAX8907 || COMPILE_TEST
  261. help
  262. If you say yes here you will get support for the
  263. RTC of Maxim MAX8907 PMIC.
  264. This driver can also be built as a module. If so, the module
  265. will be called rtc-max8907.
  266. config RTC_DRV_MAX8925
  267. tristate "Maxim MAX8925"
  268. depends on MFD_MAX8925
  269. help
  270. If you say yes here you will get support for the
  271. RTC of Maxim MAX8925 PMIC.
  272. This driver can also be built as a module. If so, the module
  273. will be called rtc-max8925.
  274. config RTC_DRV_MAX8998
  275. tristate "Maxim MAX8998"
  276. depends on MFD_MAX8998
  277. help
  278. If you say yes here you will get support for the
  279. RTC of Maxim MAX8998 PMIC.
  280. This driver can also be built as a module. If so, the module
  281. will be called rtc-max8998.
  282. config RTC_DRV_MAX8997
  283. tristate "Maxim MAX8997"
  284. depends on MFD_MAX8997
  285. help
  286. If you say yes here you will get support for the
  287. RTC of Maxim MAX8997 PMIC.
  288. This driver can also be built as a module. If so, the module
  289. will be called rtc-max8997.
  290. config RTC_DRV_MAX77686
  291. tristate "Maxim MAX77686"
  292. depends on MFD_MAX77686 || MFD_MAX77620 || COMPILE_TEST
  293. help
  294. If you say yes here you will get support for the
  295. RTC of Maxim MAX77686/MAX77620/MAX77802 PMIC.
  296. This driver can also be built as a module. If so, the module
  297. will be called rtc-max77686.
  298. config RTC_DRV_RK808
  299. tristate "Rockchip RK805/RK808/RK818 RTC"
  300. depends on MFD_RK808
  301. help
  302. If you say yes here you will get support for the
  303. RTC of RK805, RK808 and RK818 PMIC.
  304. This driver can also be built as a module. If so, the module
  305. will be called rk808-rtc.
  306. config RTC_DRV_RS5C372
  307. tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
  308. help
  309. If you say yes here you get support for the
  310. Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
  311. This driver can also be built as a module. If so, the module
  312. will be called rtc-rs5c372.
  313. config RTC_DRV_ISL1208
  314. tristate "Intersil ISL1208"
  315. help
  316. If you say yes here you get support for the
  317. Intersil ISL1208 RTC chip.
  318. This driver can also be built as a module. If so, the module
  319. will be called rtc-isl1208.
  320. config RTC_DRV_ISL12022
  321. tristate "Intersil ISL12022"
  322. help
  323. If you say yes here you get support for the
  324. Intersil ISL12022 RTC chip.
  325. This driver can also be built as a module. If so, the module
  326. will be called rtc-isl12022.
  327. config RTC_DRV_ISL12026
  328. tristate "Intersil ISL12026"
  329. depends on OF || COMPILE_TEST
  330. help
  331. If you say yes here you get support for the
  332. Intersil ISL12026 RTC chip.
  333. This driver can also be built as a module. If so, the module
  334. will be called rtc-isl12026.
  335. config RTC_DRV_X1205
  336. tristate "Xicor/Intersil X1205"
  337. help
  338. If you say yes here you get support for the
  339. Xicor/Intersil X1205 RTC chip.
  340. This driver can also be built as a module. If so, the module
  341. will be called rtc-x1205.
  342. config RTC_DRV_PCF8523
  343. tristate "NXP PCF8523"
  344. help
  345. If you say yes here you get support for the NXP PCF8523 RTC
  346. chips.
  347. This driver can also be built as a module. If so, the module
  348. will be called rtc-pcf8523.
  349. config RTC_DRV_PCF85063
  350. tristate "NXP PCF85063"
  351. help
  352. If you say yes here you get support for the PCF85063 RTC chip
  353. This driver can also be built as a module. If so, the module
  354. will be called rtc-pcf85063.
  355. config RTC_DRV_PCF85363
  356. tristate "NXP PCF85363"
  357. depends on I2C
  358. select REGMAP_I2C
  359. help
  360. If you say yes here you get support for the PCF85363 RTC chip.
  361. This driver can also be built as a module. If so, the module
  362. will be called rtc-pcf85363.
  363. The nvmem interface will be named pcf85363-#, where # is the
  364. zero-based instance number.
  365. config RTC_DRV_PCF8563
  366. tristate "Philips PCF8563/Epson RTC8564"
  367. help
  368. If you say yes here you get support for the
  369. Philips PCF8563 RTC chip. The Epson RTC8564
  370. should work as well.
  371. This driver can also be built as a module. If so, the module
  372. will be called rtc-pcf8563.
  373. config RTC_DRV_PCF8583
  374. tristate "Philips PCF8583"
  375. help
  376. If you say yes here you get support for the Philips PCF8583
  377. RTC chip found on Acorn RiscPCs. This driver supports the
  378. platform specific method of retrieving the current year from
  379. the RTC's SRAM. It will work on other platforms with the same
  380. chip, but the year will probably have to be tweaked.
  381. This driver can also be built as a module. If so, the module
  382. will be called rtc-pcf8583.
  383. config RTC_DRV_M41T80
  384. tristate "ST M41T62/65/M41T80/81/82/83/84/85/87 and compatible"
  385. help
  386. If you say Y here you will get support for the ST M41T60
  387. and M41T80 RTC chips series. Currently, the following chips are
  388. supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
  389. M41ST85, M41ST87, and MicroCrystal RV4162.
  390. This driver can also be built as a module. If so, the module
  391. will be called rtc-m41t80.
  392. config RTC_DRV_M41T80_WDT
  393. bool "ST M41T65/M41T80 series RTC watchdog timer"
  394. depends on RTC_DRV_M41T80
  395. help
  396. If you say Y here you will get support for the
  397. watchdog timer in the ST M41T60 and M41T80 RTC chips series.
  398. config RTC_DRV_BQ32K
  399. tristate "TI BQ32000"
  400. help
  401. If you say Y here you will get support for the TI
  402. BQ32000 I2C RTC chip.
  403. This driver can also be built as a module. If so, the module
  404. will be called rtc-bq32k.
  405. config RTC_DRV_DM355EVM
  406. tristate "TI DaVinci DM355 EVM RTC"
  407. depends on MFD_DM355EVM_MSP
  408. help
  409. Supports the RTC firmware in the MSP430 on the DM355 EVM.
  410. config RTC_DRV_TWL92330
  411. bool "TI TWL92330/Menelaus"
  412. depends on MENELAUS
  413. help
  414. If you say yes here you get support for the RTC on the
  415. TWL92330 "Menelaus" power management chip, used with OMAP2
  416. platforms. The support is integrated with the rest of
  417. the Menelaus driver; it's not separate module.
  418. config RTC_DRV_TWL4030
  419. tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0"
  420. depends on TWL4030_CORE
  421. depends on OF
  422. help
  423. If you say yes here you get support for the RTC on the
  424. TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms.
  425. This driver can also be built as a module. If so, the module
  426. will be called rtc-twl.
  427. config RTC_DRV_PALMAS
  428. tristate "TI Palmas RTC driver"
  429. depends on MFD_PALMAS
  430. help
  431. If you say yes here you get support for the RTC of TI PALMA series PMIC
  432. chips.
  433. This driver can also be built as a module. If so, the module
  434. will be called rtc-palma.
  435. config RTC_DRV_TPS6586X
  436. tristate "TI TPS6586X RTC driver"
  437. depends on MFD_TPS6586X
  438. help
  439. TI Power Management IC TPS6586X supports RTC functionality
  440. along with alarm. This driver supports the RTC driver for
  441. the TPS6586X RTC module.
  442. config RTC_DRV_TPS65910
  443. tristate "TI TPS65910 RTC driver"
  444. depends on RTC_CLASS && MFD_TPS65910
  445. help
  446. If you say yes here you get support for the RTC on the
  447. TPS65910 chips.
  448. This driver can also be built as a module. If so, the module
  449. will be called rtc-tps65910.
  450. config RTC_DRV_TPS80031
  451. tristate "TI TPS80031/TPS80032 RTC driver"
  452. depends on MFD_TPS80031
  453. help
  454. TI Power Management IC TPS80031 supports RTC functionality
  455. along with alarm. This driver supports the RTC driver for
  456. the TPS80031 RTC module.
  457. config RTC_DRV_RC5T583
  458. tristate "RICOH 5T583 RTC driver"
  459. depends on MFD_RC5T583
  460. help
  461. If you say yes here you get support for the RTC on the
  462. RICOH 5T583 chips.
  463. This driver can also be built as a module. If so, the module
  464. will be called rtc-rc5t583.
  465. config RTC_DRV_S35390A
  466. tristate "Seiko Instruments S-35390A"
  467. select BITREVERSE
  468. help
  469. If you say yes here you will get support for the Seiko
  470. Instruments S-35390A.
  471. This driver can also be built as a module. If so the module
  472. will be called rtc-s35390a.
  473. config RTC_DRV_FM3130
  474. tristate "Ramtron FM3130"
  475. help
  476. If you say Y here you will get support for the
  477. Ramtron FM3130 RTC chips.
  478. Ramtron FM3130 is a chip with two separate devices inside,
  479. RTC clock and FRAM. This driver provides only RTC functionality.
  480. This driver can also be built as a module. If so the module
  481. will be called rtc-fm3130.
  482. config RTC_DRV_RX8010
  483. tristate "Epson RX8010SJ"
  484. depends on I2C
  485. help
  486. If you say yes here you get support for the Epson RX8010SJ RTC
  487. chip.
  488. This driver can also be built as a module. If so, the module
  489. will be called rtc-rx8010.
  490. config RTC_DRV_RX8581
  491. tristate "Epson RX-8581"
  492. help
  493. If you say yes here you will get support for the Epson RX-8581.
  494. This driver can also be built as a module. If so the module
  495. will be called rtc-rx8581.
  496. config RTC_DRV_RX8025
  497. tristate "Epson RX-8025SA/NB"
  498. help
  499. If you say yes here you get support for the Epson
  500. RX-8025SA/NB RTC chips.
  501. This driver can also be built as a module. If so, the module
  502. will be called rtc-rx8025.
  503. config RTC_DRV_EM3027
  504. tristate "EM Microelectronic EM3027"
  505. help
  506. If you say yes here you get support for the EM
  507. Microelectronic EM3027 RTC chips.
  508. This driver can also be built as a module. If so, the module
  509. will be called rtc-em3027.
  510. config RTC_DRV_RV8803
  511. tristate "Micro Crystal RV8803, Epson RX8900"
  512. help
  513. If you say yes here you get support for the Micro Crystal RV8803 and
  514. Epson RX8900 RTC chips.
  515. This driver can also be built as a module. If so, the module
  516. will be called rtc-rv8803.
  517. config RTC_DRV_S5M
  518. tristate "Samsung S2M/S5M series"
  519. depends on MFD_SEC_CORE || COMPILE_TEST
  520. select REGMAP_IRQ
  521. help
  522. If you say yes here you will get support for the
  523. RTC of Samsung S2MPS14 and S5M PMIC series.
  524. This driver can also be built as a module. If so, the module
  525. will be called rtc-s5m.
  526. endif # I2C
  527. comment "SPI RTC drivers"
  528. if SPI_MASTER
  529. config RTC_DRV_M41T93
  530. tristate "ST M41T93"
  531. help
  532. If you say yes here you will get support for the
  533. ST M41T93 SPI RTC chip.
  534. This driver can also be built as a module. If so, the module
  535. will be called rtc-m41t93.
  536. config RTC_DRV_M41T94
  537. tristate "ST M41T94"
  538. help
  539. If you say yes here you will get support for the
  540. ST M41T94 SPI RTC chip.
  541. This driver can also be built as a module. If so, the module
  542. will be called rtc-m41t94.
  543. config RTC_DRV_DS1302
  544. tristate "Dallas/Maxim DS1302"
  545. depends on SPI
  546. help
  547. If you say yes here you get support for the Dallas DS1302 RTC chips.
  548. This driver can also be built as a module. If so, the module
  549. will be called rtc-ds1302.
  550. config RTC_DRV_DS1305
  551. tristate "Dallas/Maxim DS1305/DS1306"
  552. help
  553. Select this driver to get support for the Dallas/Maxim DS1305
  554. and DS1306 real time clock chips. These support a trickle
  555. charger, alarms, and NVRAM in addition to the clock.
  556. This driver can also be built as a module. If so, the module
  557. will be called rtc-ds1305.
  558. config RTC_DRV_DS1343
  559. select REGMAP_SPI
  560. tristate "Dallas/Maxim DS1343/DS1344"
  561. help
  562. If you say yes here you get support for the
  563. Dallas/Maxim DS1343 and DS1344 real time clock chips.
  564. Support for trickle charger, alarm is provided.
  565. This driver can also be built as a module. If so, the module
  566. will be called rtc-ds1343.
  567. config RTC_DRV_DS1347
  568. select REGMAP_SPI
  569. tristate "Dallas/Maxim DS1347"
  570. help
  571. If you say yes here you get support for the
  572. Dallas/Maxim DS1347 chips.
  573. This driver only supports the RTC feature, and not other chip
  574. features such as alarms.
  575. This driver can also be built as a module. If so, the module
  576. will be called rtc-ds1347.
  577. config RTC_DRV_DS1390
  578. tristate "Dallas/Maxim DS1390/93/94"
  579. help
  580. If you say yes here you get support for the
  581. Dallas/Maxim DS1390/93/94 chips.
  582. This driver supports the RTC feature and trickle charging but not
  583. other chip features such as alarms.
  584. This driver can also be built as a module. If so, the module
  585. will be called rtc-ds1390.
  586. config RTC_DRV_MAX6916
  587. tristate "Maxim MAX6916"
  588. help
  589. If you say yes here you will get support for the
  590. Maxim MAX6916 SPI RTC chip.
  591. This driver only supports the RTC feature, and not other chip
  592. features such as alarms.
  593. This driver can also be built as a module. If so, the module
  594. will be called rtc-max6916.
  595. config RTC_DRV_R9701
  596. tristate "Epson RTC-9701JE"
  597. help
  598. If you say yes here you will get support for the
  599. Epson RTC-9701JE SPI RTC chip.
  600. This driver can also be built as a module. If so, the module
  601. will be called rtc-r9701.
  602. config RTC_DRV_RX4581
  603. tristate "Epson RX-4581"
  604. help
  605. If you say yes here you will get support for the Epson RX-4581.
  606. This driver can also be built as a module. If so the module
  607. will be called rtc-rx4581.
  608. config RTC_DRV_RX6110
  609. tristate "Epson RX-6110"
  610. select REGMAP_SPI
  611. help
  612. If you say yes here you will get support for the Epson RX-6610.
  613. This driver can also be built as a module. If so the module
  614. will be called rtc-rx6110.
  615. config RTC_DRV_RS5C348
  616. tristate "Ricoh RS5C348A/B"
  617. help
  618. If you say yes here you get support for the
  619. Ricoh RS5C348A and RS5C348B RTC chips.
  620. This driver can also be built as a module. If so, the module
  621. will be called rtc-rs5c348.
  622. config RTC_DRV_MAX6902
  623. tristate "Maxim MAX6902"
  624. help
  625. If you say yes here you will get support for the
  626. Maxim MAX6902 SPI RTC chip.
  627. This driver can also be built as a module. If so, the module
  628. will be called rtc-max6902.
  629. config RTC_DRV_PCF2123
  630. tristate "NXP PCF2123"
  631. help
  632. If you say yes here you get support for the NXP PCF2123
  633. RTC chip.
  634. This driver can also be built as a module. If so, the module
  635. will be called rtc-pcf2123.
  636. config RTC_DRV_MCP795
  637. tristate "Microchip MCP795"
  638. help
  639. If you say yes here you will get support for the Microchip MCP795.
  640. This driver can also be built as a module. If so the module
  641. will be called rtc-mcp795.
  642. endif # SPI_MASTER
  643. #
  644. # Helper to resolve issues with configs that have SPI enabled but I2C
  645. # modular. See SND_SOC_I2C_AND_SPI for more information
  646. #
  647. config RTC_I2C_AND_SPI
  648. tristate
  649. default m if I2C=m
  650. default y if I2C=y
  651. default y if SPI_MASTER=y
  652. select REGMAP_I2C if I2C
  653. select REGMAP_SPI if SPI_MASTER
  654. comment "SPI and I2C RTC drivers"
  655. config RTC_DRV_DS3232
  656. tristate "Dallas/Maxim DS3232/DS3234"
  657. depends on RTC_I2C_AND_SPI
  658. help
  659. If you say yes here you get support for Dallas Semiconductor
  660. DS3232 and DS3234 real-time clock chips. If an interrupt is associated
  661. with the device, the alarm functionality is supported.
  662. This driver can also be built as a module. If so, the module
  663. will be called rtc-ds3232.
  664. config RTC_DRV_DS3232_HWMON
  665. bool "HWMON support for Dallas/Maxim DS3232/DS3234"
  666. depends on RTC_DRV_DS3232 && HWMON && !(RTC_DRV_DS3232=y && HWMON=m)
  667. default y
  668. help
  669. Say Y here if you want to expose temperature sensor data on
  670. rtc-ds3232
  671. config RTC_DRV_PCF2127
  672. tristate "NXP PCF2127"
  673. depends on RTC_I2C_AND_SPI
  674. help
  675. If you say yes here you get support for the NXP PCF2127/29 RTC
  676. chips.
  677. This driver can also be built as a module. If so, the module
  678. will be called rtc-pcf2127.
  679. config RTC_DRV_RV3029C2
  680. tristate "Micro Crystal RV3029/3049"
  681. depends on RTC_I2C_AND_SPI
  682. help
  683. If you say yes here you get support for the Micro Crystal
  684. RV3029 and RV3049 RTC chips.
  685. This driver can also be built as a module. If so, the module
  686. will be called rtc-rv3029c2.
  687. config RTC_DRV_RV3029_HWMON
  688. bool "HWMON support for RV3029/3049"
  689. depends on RTC_DRV_RV3029C2 && HWMON
  690. depends on !(RTC_DRV_RV3029C2=y && HWMON=m)
  691. default y
  692. help
  693. Say Y here if you want to expose temperature sensor data on
  694. rtc-rv3029.
  695. comment "Platform RTC drivers"
  696. # this 'CMOS' RTC driver is arch dependent because it requires
  697. # <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
  698. # global rtc_lock ... it's not yet just another platform_device.
  699. config RTC_DRV_CMOS
  700. tristate "PC-style 'CMOS'"
  701. depends on X86 || ARM || PPC || MIPS || SPARC64
  702. default y if X86
  703. select RTC_MC146818_LIB
  704. help
  705. Say "yes" here to get direct support for the real time clock
  706. found in every PC or ACPI-based system, and some other boards.
  707. Specifically the original MC146818, compatibles like those in
  708. PC south bridges, the DS12887 or M48T86, some multifunction
  709. or LPC bus chips, and so on.
  710. Your system will need to define the platform device used by
  711. this driver, otherwise it won't be accessible. This means
  712. you can safely enable this driver if you don't know whether
  713. or not your board has this kind of hardware.
  714. This driver can also be built as a module. If so, the module
  715. will be called rtc-cmos.
  716. config RTC_DRV_ALPHA
  717. bool "Alpha PC-style CMOS"
  718. depends on ALPHA
  719. select RTC_MC146818_LIB
  720. default y
  721. help
  722. Direct support for the real-time clock found on every Alpha
  723. system, specifically MC146818 compatibles. If in doubt, say Y.
  724. config RTC_DRV_VRTC
  725. tristate "Virtual RTC for Intel MID platforms"
  726. depends on X86_INTEL_MID
  727. default y if X86_INTEL_MID
  728. help
  729. Say "yes" here to get direct support for the real time clock
  730. found on Moorestown platforms. The VRTC is a emulated RTC that
  731. derives its clock source from a real RTC in the PMIC. The MC146818
  732. style programming interface is mostly conserved, but any
  733. updates are done via IPC calls to the system controller FW.
  734. config RTC_DRV_DS1216
  735. tristate "Dallas DS1216"
  736. depends on SNI_RM
  737. help
  738. If you say yes here you get support for the Dallas DS1216 RTC chips.
  739. config RTC_DRV_DS1286
  740. tristate "Dallas DS1286"
  741. depends on HAS_IOMEM
  742. help
  743. If you say yes here you get support for the Dallas DS1286 RTC chips.
  744. config RTC_DRV_DS1511
  745. tristate "Dallas DS1511"
  746. depends on HAS_IOMEM
  747. help
  748. If you say yes here you get support for the
  749. Dallas DS1511 timekeeping/watchdog chip.
  750. This driver can also be built as a module. If so, the module
  751. will be called rtc-ds1511.
  752. config RTC_DRV_DS1553
  753. tristate "Maxim/Dallas DS1553"
  754. depends on HAS_IOMEM
  755. help
  756. If you say yes here you get support for the
  757. Maxim/Dallas DS1553 timekeeping chip.
  758. This driver can also be built as a module. If so, the module
  759. will be called rtc-ds1553.
  760. config RTC_DRV_DS1685_FAMILY
  761. tristate "Dallas/Maxim DS1685 Family"
  762. help
  763. If you say yes here you get support for the Dallas/Maxim DS1685
  764. family of real time chips. This family includes the DS1685/DS1687,
  765. DS1689/DS1693, DS17285/DS17287, DS17485/DS17487, and
  766. DS17885/DS17887 chips.
  767. This driver can also be built as a module. If so, the module
  768. will be called rtc-ds1685.
  769. choice
  770. prompt "Subtype"
  771. depends on RTC_DRV_DS1685_FAMILY
  772. default RTC_DRV_DS1685
  773. config RTC_DRV_DS1685
  774. bool "DS1685/DS1687"
  775. help
  776. This enables support for the Dallas/Maxim DS1685/DS1687 real time
  777. clock chip.
  778. This chip is commonly found in SGI O2 (IP32) and SGI Octane (IP30)
  779. systems, as well as EPPC-405-UC modules by electronic system design
  780. GmbH.
  781. config RTC_DRV_DS1689
  782. bool "DS1689/DS1693"
  783. help
  784. This enables support for the Dallas/Maxim DS1689/DS1693 real time
  785. clock chip.
  786. This is an older RTC chip, supplanted by the DS1685/DS1687 above,
  787. which supports a few minor features such as Vcc, Vbat, and Power
  788. Cycle counters, plus a customer-specific, 8-byte ROM/Serial number.
  789. It also works for the even older DS1688/DS1691 RTC chips, which are
  790. virtually the same and carry the same model number. Both chips
  791. have 114 bytes of user NVRAM.
  792. config RTC_DRV_DS17285
  793. bool "DS17285/DS17287"
  794. help
  795. This enables support for the Dallas/Maxim DS17285/DS17287 real time
  796. clock chip.
  797. This chip features 2kb of extended NV-SRAM. It may possibly be
  798. found in some SGI O2 systems (rare).
  799. config RTC_DRV_DS17485
  800. bool "DS17485/DS17487"
  801. help
  802. This enables support for the Dallas/Maxim DS17485/DS17487 real time
  803. clock chip.
  804. This chip features 4kb of extended NV-SRAM.
  805. config RTC_DRV_DS17885
  806. bool "DS17885/DS17887"
  807. help
  808. This enables support for the Dallas/Maxim DS17885/DS17887 real time
  809. clock chip.
  810. This chip features 8kb of extended NV-SRAM.
  811. endchoice
  812. config RTC_DS1685_PROC_REGS
  813. bool "Display register values in /proc"
  814. depends on RTC_DRV_DS1685_FAMILY && PROC_FS
  815. help
  816. Enable this to display a readout of all of the RTC registers in
  817. /proc/drivers/rtc. Keep in mind that this can potentially lead
  818. to lost interrupts, as reading Control Register C will clear
  819. all pending IRQ flags.
  820. Unless you are debugging this driver, choose N.
  821. config RTC_DRV_DS1742
  822. tristate "Maxim/Dallas DS1742/1743"
  823. depends on HAS_IOMEM
  824. help
  825. If you say yes here you get support for the
  826. Maxim/Dallas DS1742/1743 timekeeping chip.
  827. This driver can also be built as a module. If so, the module
  828. will be called rtc-ds1742.
  829. config RTC_DRV_DS2404
  830. tristate "Maxim/Dallas DS2404"
  831. help
  832. If you say yes here you get support for the
  833. Dallas DS2404 RTC chip.
  834. This driver can also be built as a module. If so, the module
  835. will be called rtc-ds2404.
  836. config RTC_DRV_DA9052
  837. tristate "Dialog DA9052/DA9053 RTC"
  838. depends on PMIC_DA9052
  839. help
  840. Say y here to support the RTC driver for Dialog Semiconductor
  841. DA9052-BC and DA9053-AA/Bx PMICs.
  842. config RTC_DRV_DA9055
  843. tristate "Dialog Semiconductor DA9055 RTC"
  844. depends on MFD_DA9055
  845. help
  846. If you say yes here you will get support for the
  847. RTC of the Dialog DA9055 PMIC.
  848. This driver can also be built as a module. If so, the module
  849. will be called rtc-da9055
  850. config RTC_DRV_DA9063
  851. tristate "Dialog Semiconductor DA9063/DA9062 RTC"
  852. depends on MFD_DA9063 || MFD_DA9062
  853. help
  854. If you say yes here you will get support for the RTC subsystem
  855. for the Dialog Semiconductor PMIC chips DA9063 and DA9062.
  856. This driver can also be built as a module. If so, the module
  857. will be called "rtc-da9063".
  858. config RTC_DRV_EFI
  859. tristate "EFI RTC"
  860. depends on EFI && !X86
  861. help
  862. If you say yes here you will get support for the EFI
  863. Real Time Clock.
  864. This driver can also be built as a module. If so, the module
  865. will be called rtc-efi.
  866. config RTC_DRV_STK17TA8
  867. tristate "Simtek STK17TA8"
  868. depends on HAS_IOMEM
  869. help
  870. If you say yes here you get support for the
  871. Simtek STK17TA8 timekeeping chip.
  872. This driver can also be built as a module. If so, the module
  873. will be called rtc-stk17ta8.
  874. config RTC_DRV_M48T86
  875. tristate "ST M48T86/Dallas DS12887"
  876. help
  877. If you say Y here you will get support for the
  878. ST M48T86 and Dallas DS12887 RTC chips.
  879. This driver can also be built as a module. If so, the module
  880. will be called rtc-m48t86.
  881. config RTC_DRV_M48T35
  882. tristate "ST M48T35"
  883. depends on HAS_IOMEM
  884. help
  885. If you say Y here you will get support for the
  886. ST M48T35 RTC chip.
  887. This driver can also be built as a module, if so, the module
  888. will be called "rtc-m48t35".
  889. config RTC_DRV_M48T59
  890. tristate "ST M48T59/M48T08/M48T02"
  891. depends on HAS_IOMEM
  892. help
  893. If you say Y here you will get support for the
  894. ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
  895. These chips are usually found in Sun SPARC and UltraSPARC
  896. workstations.
  897. This driver can also be built as a module, if so, the module
  898. will be called "rtc-m48t59".
  899. config RTC_DRV_MSM6242
  900. tristate "Oki MSM6242"
  901. depends on HAS_IOMEM
  902. help
  903. If you say yes here you get support for the Oki MSM6242
  904. timekeeping chip. It is used in some Amiga models (e.g. A2000).
  905. This driver can also be built as a module. If so, the module
  906. will be called rtc-msm6242.
  907. config RTC_DRV_BQ4802
  908. tristate "TI BQ4802"
  909. depends on HAS_IOMEM
  910. help
  911. If you say Y here you will get support for the TI
  912. BQ4802 RTC chip.
  913. This driver can also be built as a module. If so, the module
  914. will be called rtc-bq4802.
  915. config RTC_DRV_RP5C01
  916. tristate "Ricoh RP5C01"
  917. depends on HAS_IOMEM
  918. help
  919. If you say yes here you get support for the Ricoh RP5C01
  920. timekeeping chip. It is used in some Amiga models (e.g. A3000
  921. and A4000).
  922. This driver can also be built as a module. If so, the module
  923. will be called rtc-rp5c01.
  924. config RTC_DRV_V3020
  925. tristate "EM Microelectronic V3020"
  926. help
  927. If you say yes here you will get support for the
  928. EM Microelectronic v3020 RTC chip.
  929. This driver can also be built as a module. If so, the module
  930. will be called rtc-v3020.
  931. config RTC_DRV_WM831X
  932. tristate "Wolfson Microelectronics WM831x RTC"
  933. depends on MFD_WM831X
  934. help
  935. If you say yes here you will get support for the RTC subsystem
  936. of the Wolfson Microelectronics WM831X series PMICs.
  937. This driver can also be built as a module. If so, the module
  938. will be called "rtc-wm831x".
  939. config RTC_DRV_WM8350
  940. tristate "Wolfson Microelectronics WM8350 RTC"
  941. depends on MFD_WM8350
  942. help
  943. If you say yes here you will get support for the RTC subsystem
  944. of the Wolfson Microelectronics WM8350.
  945. This driver can also be built as a module. If so, the module
  946. will be called "rtc-wm8350".
  947. config RTC_DRV_SC27XX
  948. tristate "Spreadtrum SC27xx RTC"
  949. depends on MFD_SC27XX_PMIC || COMPILE_TEST
  950. help
  951. If you say Y here you will get support for the RTC subsystem
  952. of the Spreadtrum SC27xx series PMICs. The SC27xx series PMICs
  953. includes the SC2720, SC2721, SC2723, SC2730 and SC2731 chips.
  954. This driver can also be built as a module. If so, the module
  955. will be called rtc-sc27xx.
  956. config RTC_DRV_SPEAR
  957. tristate "SPEAR ST RTC"
  958. depends on PLAT_SPEAR || COMPILE_TEST
  959. default y
  960. help
  961. If you say Y here you will get support for the RTC found on
  962. spear
  963. config RTC_DRV_PCF50633
  964. depends on MFD_PCF50633
  965. tristate "NXP PCF50633 RTC"
  966. help
  967. If you say yes here you get support for the RTC subsystem of the
  968. NXP PCF50633 used in embedded systems.
  969. config RTC_DRV_AB3100
  970. tristate "ST-Ericsson AB3100 RTC"
  971. depends on AB3100_CORE
  972. default y if AB3100_CORE
  973. help
  974. Select this to enable the ST-Ericsson AB3100 Mixed Signal IC RTC
  975. support. This chip contains a battery- and capacitor-backed RTC.
  976. config RTC_DRV_AB8500
  977. tristate "ST-Ericsson AB8500 RTC"
  978. depends on AB8500_CORE
  979. select RTC_INTF_DEV
  980. select RTC_INTF_DEV_UIE_EMUL
  981. help
  982. Select this to enable the ST-Ericsson AB8500 power management IC RTC
  983. support. This chip contains a battery- and capacitor-backed RTC.
  984. config RTC_DRV_NUC900
  985. tristate "NUC910/NUC920 RTC driver"
  986. depends on ARCH_W90X900 || COMPILE_TEST
  987. help
  988. If you say yes here you get support for the RTC subsystem of the
  989. NUC910/NUC920 used in embedded systems.
  990. config RTC_DRV_OPAL
  991. tristate "IBM OPAL RTC driver"
  992. depends on PPC_POWERNV
  993. default y
  994. help
  995. If you say yes here you get support for the PowerNV platform RTC
  996. driver based on OPAL interfaces.
  997. This driver can also be built as a module. If so, the module
  998. will be called rtc-opal.
  999. config RTC_DRV_ZYNQMP
  1000. tristate "Xilinx Zynq Ultrascale+ MPSoC RTC"
  1001. depends on OF
  1002. help
  1003. If you say yes here you get support for the RTC controller found on
  1004. Xilinx Zynq Ultrascale+ MPSoC.
  1005. config RTC_DRV_CROS_EC
  1006. tristate "Chrome OS EC RTC driver"
  1007. depends on MFD_CROS_EC
  1008. help
  1009. If you say yes here you will get support for the
  1010. Chrome OS Embedded Controller's RTC.
  1011. This driver can also be built as a module. If so, the module
  1012. will be called rtc-cros-ec.
  1013. comment "on-CPU RTC drivers"
  1014. config RTC_DRV_ASM9260
  1015. tristate "Alphascale asm9260 RTC"
  1016. depends on MACH_ASM9260 || COMPILE_TEST
  1017. help
  1018. If you say yes here you get support for the RTC on the
  1019. Alphascale asm9260 SoC.
  1020. This driver can also be built as a module. If so, the module
  1021. will be called rtc-asm9260.
  1022. config RTC_DRV_DAVINCI
  1023. tristate "TI DaVinci RTC"
  1024. depends on ARCH_DAVINCI_DM365 || COMPILE_TEST
  1025. help
  1026. If you say yes here you get support for the RTC on the
  1027. DaVinci platforms (DM365).
  1028. This driver can also be built as a module. If so, the module
  1029. will be called rtc-davinci.
  1030. config RTC_DRV_DIGICOLOR
  1031. tristate "Conexant Digicolor RTC"
  1032. depends on ARCH_DIGICOLOR || COMPILE_TEST
  1033. help
  1034. If you say yes here you get support for the RTC on Conexant
  1035. Digicolor platforms. This currently includes the CX92755 SoC.
  1036. This driver can also be built as a module. If so, the module
  1037. will be called rtc-digicolor.
  1038. config RTC_DRV_IMXDI
  1039. tristate "Freescale IMX DryIce Real Time Clock"
  1040. depends on ARCH_MXC
  1041. help
  1042. Support for Freescale IMX DryIce RTC
  1043. This driver can also be built as a module, if so, the module
  1044. will be called "rtc-imxdi".
  1045. config RTC_DRV_OMAP
  1046. tristate "TI OMAP Real Time Clock"
  1047. depends on ARCH_OMAP || ARCH_DAVINCI || COMPILE_TEST
  1048. depends on OF
  1049. depends on PINCTRL
  1050. select GENERIC_PINCONF
  1051. help
  1052. Say "yes" here to support the on chip real time clock
  1053. present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
  1054. This driver can also be built as a module, if so, module
  1055. will be called rtc-omap.
  1056. config HAVE_S3C_RTC
  1057. bool
  1058. help
  1059. This will include RTC support for Samsung SoCs. If
  1060. you want to include RTC support for any machine, kindly
  1061. select this in the respective mach-XXXX/Kconfig file.
  1062. config RTC_DRV_S3C
  1063. tristate "Samsung S3C series SoC RTC"
  1064. depends on ARCH_S3C64XX || HAVE_S3C_RTC || COMPILE_TEST
  1065. help
  1066. RTC (Realtime Clock) driver for the clock inbuilt into the
  1067. Samsung S3C24XX series of SoCs. This can provide periodic
  1068. interrupt rates from 1Hz to 64Hz for user programs, and
  1069. wakeup from Alarm.
  1070. The driver currently supports the common features on all the
  1071. S3C24XX range, such as the S3C2410, S3C2412, S3C2413, S3C2440
  1072. and S3C2442.
  1073. This driver can also be build as a module. If so, the module
  1074. will be called rtc-s3c.
  1075. config RTC_DRV_EP93XX
  1076. tristate "Cirrus Logic EP93XX"
  1077. depends on ARCH_EP93XX || COMPILE_TEST
  1078. help
  1079. If you say yes here you get support for the
  1080. RTC embedded in the Cirrus Logic EP93XX processors.
  1081. This driver can also be built as a module. If so, the module
  1082. will be called rtc-ep93xx.
  1083. config RTC_DRV_SA1100
  1084. tristate "SA11x0/PXA2xx/PXA910"
  1085. depends on ARCH_SA1100 || ARCH_PXA || ARCH_MMP
  1086. help
  1087. If you say Y here you will get access to the real time clock
  1088. built into your SA11x0 or PXA2xx CPU.
  1089. To compile this driver as a module, choose M here: the
  1090. module will be called rtc-sa1100.
  1091. config RTC_DRV_SH
  1092. tristate "SuperH On-Chip RTC"
  1093. depends on SUPERH || ARCH_RENESAS
  1094. help
  1095. Say Y here to enable support for the on-chip RTC found in
  1096. most SuperH processors. This RTC is also found in RZ/A SoCs.
  1097. To compile this driver as a module, choose M here: the
  1098. module will be called rtc-sh.
  1099. config RTC_DRV_VR41XX
  1100. tristate "NEC VR41XX"
  1101. depends on CPU_VR41XX || COMPILE_TEST
  1102. help
  1103. If you say Y here you will get access to the real time clock
  1104. built into your NEC VR41XX CPU.
  1105. To compile this driver as a module, choose M here: the
  1106. module will be called rtc-vr41xx.
  1107. config RTC_DRV_PL030
  1108. tristate "ARM AMBA PL030 RTC"
  1109. depends on ARM_AMBA
  1110. help
  1111. If you say Y here you will get access to ARM AMBA
  1112. PrimeCell PL030 RTC found on certain ARM SOCs.
  1113. To compile this driver as a module, choose M here: the
  1114. module will be called rtc-pl030.
  1115. config RTC_DRV_PL031
  1116. tristate "ARM AMBA PL031 RTC"
  1117. depends on ARM_AMBA
  1118. help
  1119. If you say Y here you will get access to ARM AMBA
  1120. PrimeCell PL031 RTC found on certain ARM SOCs.
  1121. To compile this driver as a module, choose M here: the
  1122. module will be called rtc-pl031.
  1123. config RTC_DRV_AT91RM9200
  1124. tristate "AT91RM9200 or some AT91SAM9 RTC"
  1125. depends on ARCH_AT91 || COMPILE_TEST
  1126. help
  1127. Driver for the internal RTC (Realtime Clock) module found on
  1128. Atmel AT91RM9200's and some AT91SAM9 chips. On AT91SAM9 chips
  1129. this is powered by the backup power supply.
  1130. config RTC_DRV_AT91SAM9
  1131. tristate "AT91SAM9 RTT as RTC"
  1132. depends on ARCH_AT91 || COMPILE_TEST
  1133. depends on HAS_IOMEM
  1134. select MFD_SYSCON
  1135. help
  1136. Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which
  1137. can be used as an RTC thanks to the backup power supply (e.g. a
  1138. small coin cell battery) which keeps this block and the GPBR
  1139. (General Purpose Backup Registers) block powered when the device
  1140. is shutdown.
  1141. Some AT91SAM9 SoCs provide a real RTC block, on those ones you'd
  1142. probably want to use the real RTC block instead of the "RTT as an
  1143. RTC" driver.
  1144. config RTC_DRV_AU1XXX
  1145. tristate "Au1xxx Counter0 RTC support"
  1146. depends on MIPS_ALCHEMY
  1147. help
  1148. This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
  1149. counter) to be used as a RTC.
  1150. This driver can also be built as a module. If so, the module
  1151. will be called rtc-au1xxx.
  1152. config RTC_DRV_RS5C313
  1153. tristate "Ricoh RS5C313"
  1154. depends on SH_LANDISK
  1155. help
  1156. If you say yes here you get support for the Ricoh RS5C313 RTC chips.
  1157. config RTC_DRV_GENERIC
  1158. tristate "Generic RTC support"
  1159. # Please consider writing a new RTC driver instead of using the generic
  1160. # RTC abstraction
  1161. depends on PARISC || M68K || PPC || SUPERH32 || COMPILE_TEST
  1162. help
  1163. Say Y or M here to enable RTC support on systems using the generic
  1164. RTC abstraction. If you do not know what you are doing, you should
  1165. just say Y.
  1166. config RTC_DRV_PXA
  1167. tristate "PXA27x/PXA3xx"
  1168. depends on ARCH_PXA
  1169. select RTC_DRV_SA1100
  1170. help
  1171. If you say Y here you will get access to the real time clock
  1172. built into your PXA27x or PXA3xx CPU. This RTC is actually 2 RTCs
  1173. consisting of an SA1100 compatible RTC and the extended PXA RTC.
  1174. This RTC driver uses PXA RTC registers available since pxa27x
  1175. series (RDxR, RYxR) instead of legacy RCNR, RTAR.
  1176. config RTC_DRV_VT8500
  1177. tristate "VIA/WonderMedia 85xx SoC RTC"
  1178. depends on ARCH_VT8500 || COMPILE_TEST
  1179. help
  1180. If you say Y here you will get access to the real time clock
  1181. built into your VIA VT8500 SoC or its relatives.
  1182. config RTC_DRV_SUN4V
  1183. bool "SUN4V Hypervisor RTC"
  1184. depends on SPARC64
  1185. help
  1186. If you say Y here you will get support for the Hypervisor
  1187. based RTC on SUN4V systems.
  1188. config RTC_DRV_SUN6I
  1189. bool "Allwinner A31 RTC"
  1190. default MACH_SUN6I || MACH_SUN8I
  1191. depends on COMMON_CLK
  1192. depends on ARCH_SUNXI || COMPILE_TEST
  1193. help
  1194. If you say Y here you will get support for the RTC found in
  1195. some Allwinner SoCs like the A31 or the A64.
  1196. config RTC_DRV_SUNXI
  1197. tristate "Allwinner sun4i/sun7i RTC"
  1198. depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
  1199. help
  1200. If you say Y here you will get support for the RTC found on
  1201. Allwinner A10/A20.
  1202. config RTC_DRV_STARFIRE
  1203. bool "Starfire RTC"
  1204. depends on SPARC64
  1205. help
  1206. If you say Y here you will get support for the RTC found on
  1207. Starfire systems.
  1208. config RTC_DRV_TX4939
  1209. tristate "TX4939 SoC"
  1210. depends on SOC_TX4939 || COMPILE_TEST
  1211. help
  1212. Driver for the internal RTC (Realtime Clock) module found on
  1213. Toshiba TX4939 SoC.
  1214. config RTC_DRV_MV
  1215. tristate "Marvell SoC RTC"
  1216. depends on ARCH_DOVE || ARCH_MVEBU || COMPILE_TEST
  1217. help
  1218. If you say yes here you will get support for the in-chip RTC
  1219. that can be found in some of Marvell's SoC devices, such as
  1220. the Kirkwood 88F6281 and 88F6192.
  1221. This driver can also be built as a module. If so, the module
  1222. will be called rtc-mv.
  1223. config RTC_DRV_ARMADA38X
  1224. tristate "Armada 38x Marvell SoC RTC"
  1225. depends on ARCH_MVEBU || COMPILE_TEST
  1226. help
  1227. If you say yes here you will get support for the in-chip RTC
  1228. that can be found in the Armada 38x Marvell's SoC device
  1229. This driver can also be built as a module. If so, the module
  1230. will be called armada38x-rtc.
  1231. config RTC_DRV_FTRTC010
  1232. tristate "Faraday Technology FTRTC010 RTC"
  1233. depends on HAS_IOMEM
  1234. default ARCH_GEMINI
  1235. help
  1236. If you say Y here you will get support for the
  1237. Faraday Technolog FTRTC010 found on e.g. Gemini SoC's.
  1238. This driver can also be built as a module. If so, the module
  1239. will be called rtc-ftrtc010.
  1240. config RTC_DRV_PS3
  1241. tristate "PS3 RTC"
  1242. depends on PPC_PS3
  1243. help
  1244. If you say yes here you will get support for the RTC on PS3.
  1245. This driver can also be built as a module. If so, the module
  1246. will be called rtc-ps3.
  1247. config RTC_DRV_COH901331
  1248. tristate "ST-Ericsson COH 901 331 RTC"
  1249. depends on ARCH_U300 || COMPILE_TEST
  1250. help
  1251. If you say Y here you will get access to ST-Ericsson
  1252. COH 901 331 RTC clock found in some ST-Ericsson Mobile
  1253. Platforms.
  1254. This driver can also be built as a module. If so, the module
  1255. will be called "rtc-coh901331".
  1256. config RTC_DRV_STMP
  1257. tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC"
  1258. depends on ARCH_MXS || COMPILE_TEST
  1259. select STMP_DEVICE
  1260. help
  1261. If you say yes here you will get support for the onboard
  1262. STMP3xxx/i.MX23/i.MX28 RTC.
  1263. This driver can also be built as a module. If so, the module
  1264. will be called rtc-stmp3xxx.
  1265. config RTC_DRV_PCAP
  1266. tristate "PCAP RTC"
  1267. depends on EZX_PCAP
  1268. help
  1269. If you say Y here you will get support for the RTC found on
  1270. the PCAP2 ASIC used on some Motorola phones.
  1271. config RTC_DRV_MC13XXX
  1272. depends on MFD_MC13XXX
  1273. tristate "Freescale MC13xxx RTC"
  1274. help
  1275. This enables support for the RTCs found on Freescale's PMICs
  1276. MC13783 and MC13892.
  1277. config RTC_DRV_MPC5121
  1278. tristate "Freescale MPC5121 built-in RTC"
  1279. depends on PPC_MPC512x || PPC_MPC52xx
  1280. help
  1281. If you say yes here you will get support for the
  1282. built-in RTC on MPC5121 or on MPC5200.
  1283. This driver can also be built as a module. If so, the module
  1284. will be called rtc-mpc5121.
  1285. config RTC_DRV_JZ4740
  1286. tristate "Ingenic JZ4740 SoC"
  1287. depends on MACH_INGENIC || COMPILE_TEST
  1288. help
  1289. If you say yes here you get support for the Ingenic JZ47xx SoCs RTC
  1290. controllers.
  1291. This driver can also be built as a module. If so, the module
  1292. will be called rtc-jz4740.
  1293. config RTC_DRV_LPC24XX
  1294. tristate "NXP RTC for LPC178x/18xx/408x/43xx"
  1295. depends on ARCH_LPC18XX || COMPILE_TEST
  1296. depends on OF && HAS_IOMEM
  1297. help
  1298. This enables support for the NXP RTC found which can be found on
  1299. NXP LPC178x/18xx/408x/43xx devices.
  1300. If you have one of the devices above enable this driver to use
  1301. the hardware RTC. This driver can also be built as a module. If
  1302. so, the module will be called rtc-lpc24xx.
  1303. config RTC_DRV_LPC32XX
  1304. depends on ARCH_LPC32XX || COMPILE_TEST
  1305. tristate "NXP LPC32XX RTC"
  1306. help
  1307. This enables support for the NXP RTC in the LPC32XX
  1308. This driver can also be built as a module. If so, the module
  1309. will be called rtc-lpc32xx.
  1310. config RTC_DRV_PM8XXX
  1311. tristate "Qualcomm PMIC8XXX RTC"
  1312. depends on MFD_PM8XXX || MFD_SPMI_PMIC || COMPILE_TEST
  1313. help
  1314. If you say yes here you get support for the
  1315. Qualcomm PMIC8XXX RTC.
  1316. To compile this driver as a module, choose M here: the
  1317. module will be called rtc-pm8xxx.
  1318. config RTC_DRV_TEGRA
  1319. tristate "NVIDIA Tegra Internal RTC driver"
  1320. depends on ARCH_TEGRA || COMPILE_TEST
  1321. help
  1322. If you say yes here you get support for the
  1323. Tegra 200 series internal RTC module.
  1324. This drive can also be built as a module. If so, the module
  1325. will be called rtc-tegra.
  1326. config RTC_DRV_PUV3
  1327. tristate "PKUnity v3 RTC support"
  1328. depends on ARCH_PUV3
  1329. help
  1330. This enables support for the RTC in the PKUnity-v3 SoCs.
  1331. This drive can also be built as a module. If so, the module
  1332. will be called rtc-puv3.
  1333. config RTC_DRV_LOONGSON1
  1334. tristate "loongson1 RTC support"
  1335. depends on MACH_LOONGSON32
  1336. help
  1337. This is a driver for the loongson1 on-chip Counter0 (Time-Of-Year
  1338. counter) to be used as a RTC.
  1339. This driver can also be built as a module. If so, the module
  1340. will be called rtc-ls1x.
  1341. config RTC_DRV_MXC
  1342. tristate "Freescale MXC Real Time Clock"
  1343. depends on ARCH_MXC
  1344. help
  1345. If you say yes here you get support for the Freescale MXC
  1346. RTC module.
  1347. This driver can also be built as a module, if so, the module
  1348. will be called "rtc-mxc".
  1349. config RTC_DRV_MXC_V2
  1350. tristate "Freescale MXC Real Time Clock for i.MX53"
  1351. depends on ARCH_MXC
  1352. help
  1353. If you say yes here you get support for the Freescale MXC
  1354. SRTC module in i.MX53 processor.
  1355. This driver can also be built as a module, if so, the module
  1356. will be called "rtc-mxc_v2".
  1357. config RTC_DRV_SNVS
  1358. tristate "Freescale SNVS RTC support"
  1359. select REGMAP_MMIO
  1360. depends on HAS_IOMEM
  1361. depends on OF
  1362. help
  1363. If you say yes here you get support for the Freescale SNVS
  1364. Low Power (LP) RTC module.
  1365. This driver can also be built as a module, if so, the module
  1366. will be called "rtc-snvs".
  1367. config RTC_DRV_SIRFSOC
  1368. tristate "SiRFSOC RTC"
  1369. depends on ARCH_SIRF
  1370. help
  1371. Say "yes" here to support the real time clock on SiRF SOC chips.
  1372. This driver can also be built as a module called rtc-sirfsoc.
  1373. config RTC_DRV_ST_LPC
  1374. tristate "STMicroelectronics LPC RTC"
  1375. depends on ARCH_STI
  1376. depends on OF
  1377. help
  1378. Say Y here to include STMicroelectronics Low Power Controller
  1379. (LPC) based RTC support.
  1380. To compile this driver as a module, choose M here: the
  1381. module will be called rtc-st-lpc.
  1382. config RTC_DRV_MOXART
  1383. tristate "MOXA ART RTC"
  1384. depends on ARCH_MOXART || COMPILE_TEST
  1385. help
  1386. If you say yes here you get support for the MOXA ART
  1387. RTC module.
  1388. This driver can also be built as a module. If so, the module
  1389. will be called rtc-moxart
  1390. config RTC_DRV_MT6397
  1391. tristate "MediaTek PMIC based RTC"
  1392. depends on MFD_MT6397 || (COMPILE_TEST && IRQ_DOMAIN)
  1393. help
  1394. This selects the MediaTek(R) RTC driver. RTC is part of MediaTek
  1395. MT6397 PMIC. You should enable MT6397 PMIC MFD before select
  1396. MediaTek(R) RTC driver.
  1397. If you want to use MediaTek(R) RTC interface, select Y or M here.
  1398. config RTC_DRV_MT7622
  1399. tristate "MediaTek SoC based RTC"
  1400. depends on ARCH_MEDIATEK || COMPILE_TEST
  1401. help
  1402. This enables support for the real time clock built in the MediaTek
  1403. SoCs.
  1404. This drive can also be built as a module. If so, the module
  1405. will be called rtc-mt7622.
  1406. config RTC_DRV_XGENE
  1407. tristate "APM X-Gene RTC"
  1408. depends on HAS_IOMEM
  1409. depends on ARCH_XGENE || COMPILE_TEST
  1410. help
  1411. If you say yes here you get support for the APM X-Gene SoC real time
  1412. clock.
  1413. This driver can also be built as a module, if so, the module
  1414. will be called "rtc-xgene".
  1415. config RTC_DRV_PIC32
  1416. tristate "Microchip PIC32 RTC"
  1417. depends on MACH_PIC32
  1418. default y
  1419. help
  1420. If you say yes here you get support for the PIC32 RTC module.
  1421. This driver can also be built as a module. If so, the module
  1422. will be called rtc-pic32
  1423. config RTC_DRV_R7301
  1424. tristate "EPSON TOYOCOM RTC-7301SF/DG"
  1425. select REGMAP_MMIO
  1426. depends on OF && HAS_IOMEM
  1427. help
  1428. If you say yes here you get support for the EPSON TOYOCOM
  1429. RTC-7301SF/DG chips.
  1430. This driver can also be built as a module. If so, the module
  1431. will be called rtc-r7301.
  1432. config RTC_DRV_STM32
  1433. tristate "STM32 RTC"
  1434. select REGMAP_MMIO
  1435. depends on ARCH_STM32 || COMPILE_TEST
  1436. help
  1437. If you say yes here you get support for the STM32 On-Chip
  1438. Real Time Clock.
  1439. This driver can also be built as a module, if so, the module
  1440. will be called "rtc-stm32".
  1441. config RTC_DRV_CPCAP
  1442. depends on MFD_CPCAP
  1443. tristate "Motorola CPCAP RTC"
  1444. help
  1445. Say y here for CPCAP rtc found on some Motorola phones
  1446. and tablets such as Droid 4.
  1447. config RTC_DRV_RTD119X
  1448. bool "Realtek RTD129x RTC"
  1449. depends on ARCH_REALTEK || COMPILE_TEST
  1450. default ARCH_REALTEK
  1451. help
  1452. If you say yes here, you get support for the RTD1295 SoC
  1453. Real Time Clock.
  1454. comment "HID Sensor RTC drivers"
  1455. config RTC_DRV_HID_SENSOR_TIME
  1456. tristate "HID Sensor Time"
  1457. depends on USB_HID
  1458. select IIO
  1459. select HID_SENSOR_HUB
  1460. select HID_SENSOR_IIO_COMMON
  1461. help
  1462. Say yes here to build support for the HID Sensors of type Time.
  1463. This drivers makes such sensors available as RTCs.
  1464. If this driver is compiled as a module, it will be named
  1465. rtc-hid-sensor-time.
  1466. config RTC_DRV_GOLDFISH
  1467. tristate "Goldfish Real Time Clock"
  1468. depends on MIPS && (GOLDFISH || COMPILE_TEST)
  1469. help
  1470. Say yes to enable RTC driver for the Goldfish based virtual platform.
  1471. Goldfish is a code name for the virtual platform developed by Google
  1472. for Android emulation.
  1473. endif # RTC_CLASS