Kconfig 59 KB

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