Kconfig 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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 RTC_ENABLE_32KHZ_OUTPUT
  31. bool "Enable RTC 32Khz output"
  32. help
  33. Some real-time clocks support the output of 32kHz square waves (such as ds3231),
  34. the config symbol choose Real Time Clock device 32Khz output feature.
  35. config RTC_ARMADA38X
  36. bool "Enable Armada 38x Marvell SoC RTC"
  37. depends on DM_RTC && ARCH_MVEBU
  38. help
  39. This adds support for the in-chip RTC that can be found in the
  40. Armada 38x Marvell's SoC devices.
  41. config RTC_PCF2127
  42. bool "Enable PCF2127 driver"
  43. depends on DM_RTC
  44. help
  45. The PCF2127 is a CMOS Real Time Clock (RTC) and calendar with an integrated
  46. Temperature Compensated Crystal (Xtal) Oscillator (TCXO) and a 32.768 kHz quartz
  47. crystal optimized for very high accuracy and very low power consumption. The PCF2127
  48. has a selectable I2C-bus or SPI-bus, a backup battery switch-over circuit, a
  49. programmable watchdog function, a timestamp function, and many other features.
  50. config RTC_DS1307
  51. bool "Enable DS1307 driver"
  52. depends on DM_RTC
  53. help
  54. Support for Dallas Semiconductor (now Maxim) DS1307 and DS1338/9 and
  55. compatible Real Time Clock devices.
  56. config RTC_DS3232
  57. bool "Enable DS3232 driver"
  58. depends on DM_RTC
  59. depends on DM_I2C
  60. help
  61. Support for Dallas Semiconductor (now Maxim) DS3232 compatible
  62. Real Time Clock devices.
  63. config RTC_EMULATION
  64. bool "Enable emulated RTC"
  65. depends on DM_RTC
  66. help
  67. On a board without hardware clock this software real time clock can be
  68. used. The initial time may be provided via the environment variable
  69. 'rtc_emul_epoch' as a decimal string indicating seconds since
  70. 1970-01-01. If the environment variable is missing, the build time is
  71. used to initialize the RTC. The time can be adjusted manually via the
  72. 'date' command or the 'sntp' command can be used to update the RTC
  73. with the time from a network time server. See CONFIG_CMD_SNTP and
  74. CONFIG_BOOTP_NTPSERVER. The RTC time is advanced according to CPU
  75. ticks.
  76. config RTC_ISL1208
  77. bool "Enable ISL1208 driver"
  78. depends on DM_RTC
  79. help
  80. The Renesas (formerly Intersil) ISL1208 is a I2C Real Time Clock (RTC) and
  81. calendar with automatic leap year correction, 2-byte battery backed SRAM,
  82. automatic power switch-over, alarm function and 15 selectable frequency
  83. outputs.
  84. This driver supports reading and writing the RTC/calendar and detects
  85. total power failures.
  86. config RTC_PCF8563
  87. tristate "Philips PCF8563"
  88. help
  89. If you say yes here you get support for the Philips PCF8563 RTC
  90. and compatible chips.
  91. config RTC_RV3028
  92. bool "Enable RV3028 driver"
  93. depends on DM_RTC
  94. help
  95. The MicroCrystal RV3028 is a I2C Real Time Clock (RTC)
  96. config RTC_RV3029
  97. bool "Enable RV3029 driver"
  98. depends on DM_RTC
  99. help
  100. The MicroCrystal RV3029 is a I2C Real Time Clock (RTC) with 8-byte
  101. battery-backed SRAM.
  102. This driver supports reading and writing the RTC/calendar and the
  103. battery-baced SRAM section.
  104. config RTC_RV8803
  105. bool "Enable RV8803 driver"
  106. depends on DM_RTC
  107. help
  108. The Micro Crystal RV8803 is a high accuracy, ultra-low power I2C
  109. Real Time Clock (RTC) with temperature compensation.
  110. This driver supports reading and writing the RTC/calendar and
  111. detects total power failures.
  112. config RTC_RX8010SJ
  113. bool "Enable RX8010SJ driver"
  114. depends on DM_RTC
  115. help
  116. Support for Epson RX8010SJ Real Time Clock devices.
  117. config RTC_RX8025
  118. bool "Enable RX8025 driver"
  119. help
  120. Support for Epson RX8025 Real Time Clock devices.
  121. config RTC_PL031
  122. bool "Enable ARM AMBA PL031 RTC driver"
  123. help
  124. The ARM PrimeCell Real Time Clock (PL031) is an optional SoC
  125. peripheral based on the Advanced Microcontroller Bus Architecture
  126. (AMBA). It is emulated in QEMU virtual ARM machines.
  127. config RTC_MV
  128. bool "Enable Marvell RTC driver"
  129. depends on DM_RTC
  130. help
  131. Enable Marvell RTC driver. This driver supports the rtc that is present
  132. on some Marvell SoCs.
  133. config RTC_S35392A
  134. bool "Enable S35392A driver"
  135. select BITREVERSE
  136. help
  137. Enable s35392a driver which provides rtc get and set function.
  138. config RTC_MC146818
  139. bool "Enable MC146818 driver"
  140. help
  141. This is a widely used real-time clock chip originally by Motorola
  142. and now available from NXP. It includes a battery-backed real-time
  143. clock with a wide array of features and 50 bytes of general-purpose,
  144. battery-backed RAM. The driver supports access to the clock and RAM.
  145. config RTC_M41T62
  146. bool "Enable M41T62 driver"
  147. help
  148. Enable driver for ST's M41T62 compatible RTC devices (like RV-4162).
  149. It is a serial (I2C) real-time clock (RTC) with alarm.
  150. config RTC_STM32
  151. bool "Enable STM32 RTC driver"
  152. depends on DM_RTC
  153. help
  154. Enable STM32 RTC driver. This driver supports the rtc that is present
  155. on some STM32 SoCs.
  156. config RTC_ABX80X
  157. bool "Enable Abracon ABx80x RTC driver"
  158. depends on DM_RTC
  159. help
  160. If you say yes here you get support for Abracon AB080X and AB180X
  161. families of ultra-low-power battery- and capacitor-backed real-time
  162. clock chips.
  163. config RTC_DAVINCI
  164. bool "Enable TI OMAP RTC driver"
  165. depends on ARCH_DAVINCI || ARCH_OMAP2PLUS
  166. help
  167. Say "yes" here to support the on chip real time clock
  168. present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
  169. config RTC_ZYNQMP
  170. bool "Enable ZynqMP RTC driver"
  171. depends on ARCH_ZYNQMP
  172. help
  173. Say "yes" here to support the on chip real time clock
  174. present on Xilinx ZynqMP SoC.
  175. endmenu