Kconfig 62 KB

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