Kconfig 5.2 KB

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