Kconfig 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. #
  2. # RTC drivers configuration
  3. #
  4. menu "Real Time Clock"
  5. config DM_RTC
  6. bool "Enable Driver Model for RTC drivers"
  7. depends on DM
  8. select LIB_DATE
  9. help
  10. Enable drver model for real-time-clock drivers. The RTC uclass
  11. then provides the rtc_get()/rtc_set() interface, delegating to
  12. drivers to perform the actual functions. See rtc.h for a
  13. description of the API.
  14. config SPL_DM_RTC
  15. bool "Enable Driver Model for RTC drivers in SPL"
  16. depends on SPL_DM
  17. help
  18. Enable drver model for real-time-clock drivers. The RTC uclass
  19. then provides the rtc_get()/rtc_set() interface, delegating to
  20. drivers to perform the actual functions. See rtc.h for a
  21. description of the API.
  22. config TPL_DM_RTC
  23. bool "Enable Driver Model for RTC drivers in TPL"
  24. depends on TPL_DM
  25. help
  26. Enable drver model for real-time-clock drivers. The RTC uclass
  27. then provides the rtc_get()/rtc_set() interface, delegating to
  28. drivers to perform the actual functions. See rtc.h for a
  29. description of the API.
  30. config VPL_DM_RTC
  31. bool "Enable Driver Model for RTC drivers in VPL"
  32. depends on VPL_DM
  33. help
  34. Enable drver model for real-time-clock drivers. The RTC uclass
  35. then provides the rtc_get()/rtc_set() interface, delegating to
  36. drivers to perform the actual functions. See rtc.h for a
  37. description of the API.
  38. config RTC_ENABLE_32KHZ_OUTPUT
  39. bool "Enable RTC 32Khz output"
  40. help
  41. Some real-time clocks support the output of 32kHz square waves (such as ds3231),
  42. the config symbol choose Real Time Clock device 32Khz output feature.
  43. config RTC_ARMADA38X
  44. bool "Enable Armada 38x Marvell SoC RTC"
  45. depends on DM_RTC && ARCH_MVEBU
  46. help
  47. This adds support for the in-chip RTC that can be found in the
  48. Armada 38x Marvell's SoC devices.
  49. config RTC_PCF2127
  50. bool "Enable PCF2127 driver"
  51. depends on DM_RTC
  52. help
  53. The PCF2127 is a CMOS Real Time Clock (RTC) and calendar with an integrated
  54. Temperature Compensated Crystal (Xtal) Oscillator (TCXO) and a 32.768 kHz quartz
  55. crystal optimized for very high accuracy and very low power consumption. The PCF2127
  56. has a selectable I2C-bus or SPI-bus, a backup battery switch-over circuit, a
  57. programmable watchdog function, a timestamp function, and many other features.
  58. config RTC_DS1307
  59. bool "Enable DS1307 driver"
  60. depends on DM_RTC
  61. help
  62. Support for Dallas Semiconductor (now Maxim) DS1307 and DS1339 and
  63. compatible Real Time Clock devices.
  64. config RTC_DS1337
  65. bool "Enable DS1337 driver"
  66. help
  67. Support for Dallas Semiconductor (now Maxim) DS1337/8/9 compatible
  68. Real Time Clock devices.
  69. config RTC_DS1337_NOOSC
  70. bool "Enable support for no oscillator output in DS1337 driver"
  71. depends on RTC_DS1337
  72. config RTC_DS1338
  73. bool "Enable DS1338 driver"
  74. help
  75. Support for Dallas Semiconductor (now Maxim) DS1338 and compatible
  76. Real Time Clock devices.
  77. config RTC_DS1374
  78. bool "Enable DS1374 driver"
  79. depends on !DM_RTC
  80. help
  81. Support for Dallas Semiconductor (now Maxim) DS1374 and compatible
  82. Real Time Clock devices.
  83. config RTC_DS3231
  84. bool "Enable DS3231 driver"
  85. help
  86. Support for Dallas Semiconductor (now Maxim) DS3231 compatible
  87. Real Time Clock devices.
  88. config RTC_DS3232
  89. bool "Enable DS3232 driver"
  90. depends on DM_RTC
  91. depends on DM_I2C
  92. help
  93. Support for Dallas Semiconductor (now Maxim) DS3232 compatible
  94. Real Time Clock devices.
  95. config RTC_EMULATION
  96. bool "Enable emulated RTC"
  97. depends on DM_RTC
  98. help
  99. On a board without hardware clock this software real time clock can be
  100. used. The initial time may be provided via the environment variable
  101. 'rtc_emul_epoch' as a decimal string indicating seconds since
  102. 1970-01-01. If the environment variable is missing, the build time is
  103. used to initialize the RTC. The time can be adjusted manually via the
  104. 'date' command or the 'sntp' command can be used to update the RTC
  105. with the time from a network time server. See CONFIG_CMD_SNTP and
  106. CONFIG_BOOTP_NTPSERVER. The RTC time is advanced according to CPU
  107. ticks.
  108. config RTC_ISL1208
  109. bool "Enable ISL1208 driver"
  110. depends on DM_RTC
  111. help
  112. The Renesas (formerly Intersil) ISL1208 is a I2C Real Time Clock (RTC) and
  113. calendar with automatic leap year correction, 2-byte battery backed SRAM,
  114. automatic power switch-over, alarm function and 15 selectable frequency
  115. outputs.
  116. This driver supports reading and writing the RTC/calendar and detects
  117. total power failures.
  118. config RTC_MAX313XX
  119. bool "Analog Devices MAX313XX RTC driver"
  120. depends on DM_RTC
  121. depends on DM_I2C
  122. help
  123. If you say yes here you will get support for the
  124. Analog Devices MAX313XX series RTC family.
  125. Chip features not currently supported:
  126. - Timestamp registers as SRAM
  127. - Temperature sensor
  128. - CLKOUT generation
  129. config RTC_PCF8563
  130. tristate "Philips PCF8563"
  131. help
  132. If you say yes here you get support for the Philips PCF8563 RTC
  133. and compatible chips.
  134. config RTC_PT7C4338
  135. bool "Enable Pericom Technology PT7C4338 RTC driver"
  136. config RTC_RV3028
  137. bool "Enable RV3028 driver"
  138. depends on DM_RTC
  139. help
  140. The MicroCrystal RV3028 is a I2C Real Time Clock (RTC)
  141. config RTC_RV3029
  142. bool "Enable RV3029 driver"
  143. depends on DM_RTC
  144. help
  145. The MicroCrystal RV3029 is a I2C Real Time Clock (RTC) with 8-byte
  146. battery-backed SRAM.
  147. This driver supports reading and writing the RTC/calendar and the
  148. battery-baced SRAM section.
  149. config RTC_RV8803
  150. bool "Enable RV8803 driver"
  151. depends on DM_RTC
  152. help
  153. The Micro Crystal RV8803 is a high accuracy, ultra-low power I2C
  154. Real Time Clock (RTC) with temperature compensation.
  155. This driver supports reading and writing the RTC/calendar and
  156. detects total power failures.
  157. config RTC_RX8010SJ
  158. bool "Enable RX8010SJ driver"
  159. depends on DM_RTC
  160. help
  161. Support for Epson RX8010SJ Real Time Clock devices.
  162. config RTC_RX8025
  163. bool "Enable RX8025 driver"
  164. depends on DM_RTC
  165. help
  166. Support for Epson RX8025 Real Time Clock devices.
  167. config RTC_PL031
  168. bool "Enable ARM AMBA PL031 RTC driver"
  169. help
  170. The ARM PrimeCell Real Time Clock (PL031) is an optional SoC
  171. peripheral based on the Advanced Microcontroller Bus Architecture
  172. (AMBA). It is emulated in QEMU virtual ARM machines.
  173. config RTC_MV
  174. bool "Enable Marvell RTC driver"
  175. depends on DM_RTC
  176. help
  177. Enable Marvell RTC driver. This driver supports the rtc that is present
  178. on some Marvell SoCs.
  179. config RTC_S35392A
  180. bool "Enable S35392A driver"
  181. select BITREVERSE
  182. help
  183. Enable s35392a driver which provides rtc get and set function.
  184. config RTC_MC13XXX
  185. bool "Enable MC13XXX RTC driver"
  186. depends on !DM_RTC
  187. config RTC_MC146818
  188. bool "Enable MC146818 driver"
  189. help
  190. This is a widely used real-time clock chip originally by Motorola
  191. and now available from NXP. It includes a battery-backed real-time
  192. clock with a wide array of features and 50 bytes of general-purpose,
  193. battery-backed RAM. The driver supports access to the clock and RAM.
  194. config MCFRTC
  195. bool "Use common CF RTC driver"
  196. depends on M68K
  197. config SYS_MCFRTC_BASE
  198. hex "Base address for RTC in immap.h"
  199. depends on MCFRTC
  200. config RTC_MXS
  201. bool "Enable i.MXS RTC driver"
  202. depends on ARCH_MX23 || ARCH_MX28
  203. config RTC_M41T62
  204. bool "Enable M41T62 driver"
  205. help
  206. Enable driver for ST's M41T62 compatible RTC devices (like RV-4162).
  207. It is a serial (I2C) real-time clock (RTC) with alarm.
  208. config RTC_SANDBOX
  209. bool "Enable sandbox RTC driver"
  210. depends on SANDBOX && DM_RTC
  211. default y
  212. help
  213. Enable the sandbox RTC driver. This driver connects to the RTC
  214. emulator and is used to test the RTC uclasses and associated code,
  215. as well as the I2C subsystem.
  216. config SPL_RTC_SANDBOX
  217. bool "Enable sandbox RTC driver (SPL)"
  218. depends on SANDBOX && SPL_DM_RTC
  219. default y
  220. help
  221. Enable the sandbox RTC driver. This driver connects to the RTC
  222. emulator and is used to test the RTC uclasses and associated code,
  223. as well as the I2C subsystem.
  224. config RTC_STM32
  225. bool "Enable STM32 RTC driver"
  226. depends on DM_RTC
  227. help
  228. Enable STM32 RTC driver. This driver supports the rtc that is present
  229. on some STM32 SoCs.
  230. config RTC_ABX80X
  231. bool "Enable Abracon ABx80x RTC driver"
  232. depends on DM_RTC
  233. help
  234. If you say yes here you get support for Abracon AB080X and AB180X
  235. families of ultra-low-power battery- and capacitor-backed real-time
  236. clock chips.
  237. config RTC_DAVINCI
  238. bool "Enable TI OMAP RTC driver"
  239. depends on ARCH_DAVINCI || ARCH_OMAP2PLUS
  240. help
  241. Say "yes" here to support the on chip real time clock
  242. present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
  243. config RTC_ZYNQMP
  244. bool "Enable ZynqMP RTC driver"
  245. depends on ARCH_ZYNQMP
  246. help
  247. Say "yes" here to support the on chip real time clock
  248. present on Xilinx ZynqMP SoC.
  249. config RTC_HT1380
  250. bool "Enable Holtek HT1380/HT1381 RTC driver"
  251. depends on DM_RTC && DM_GPIO
  252. help
  253. Say "yes" here to get support for Holtek HT1380/HT1381
  254. Serial Timekeeper IC which provides seconds, minutes, hours,
  255. day of the week, date, month and year information. It is to be
  256. connected via 3 GPIO pins which work as reset, clock, and data.
  257. endmenu