Kconfig 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. \#
  2. # RTC class/drivers configuration
  3. #
  4. menu "Real Time Clock"
  5. config RTC_LIB
  6. tristate
  7. config RTC_CLASS
  8. tristate "RTC class"
  9. depends on EXPERIMENTAL
  10. default n
  11. select RTC_LIB
  12. help
  13. Generic RTC class support. If you say yes here, you will
  14. be allowed to plug one or more RTCs to your system. You will
  15. probably want to enable one of more of the interfaces below.
  16. This driver can also be built as a module. If so, the module
  17. will be called rtc-class.
  18. config RTC_HCTOSYS
  19. bool "Set system time from RTC on startup"
  20. depends on RTC_CLASS = y
  21. default y
  22. help
  23. If you say yes here, the system time will be set using
  24. the value read from the specified RTC device. This is useful
  25. in order to avoid unnecessary fschk runs.
  26. config RTC_HCTOSYS_DEVICE
  27. string "The RTC to read the time from"
  28. depends on RTC_HCTOSYS = y
  29. default "rtc0"
  30. help
  31. The RTC device that will be used as the source for
  32. the system time, usually rtc0.
  33. comment "RTC interfaces"
  34. depends on RTC_CLASS
  35. config RTC_INTF_SYSFS
  36. tristate "sysfs"
  37. depends on RTC_CLASS && SYSFS
  38. default RTC_CLASS
  39. help
  40. Say yes here if you want to use your RTC using the sysfs
  41. interface, /sys/class/rtc/rtcX .
  42. This driver can also be built as a module. If so, the module
  43. will be called rtc-sysfs.
  44. config RTC_INTF_PROC
  45. tristate "proc"
  46. depends on RTC_CLASS && PROC_FS
  47. default RTC_CLASS
  48. help
  49. Say yes here if you want to use your RTC using the proc
  50. interface, /proc/driver/rtc .
  51. This driver can also be built as a module. If so, the module
  52. will be called rtc-proc.
  53. config RTC_INTF_DEV
  54. tristate "dev"
  55. depends on RTC_CLASS
  56. default RTC_CLASS
  57. help
  58. Say yes here if you want to use your RTC using the dev
  59. interface, /dev/rtc .
  60. This driver can also be built as a module. If so, the module
  61. will be called rtc-dev.
  62. comment "RTC drivers"
  63. depends on RTC_CLASS
  64. config RTC_DRV_X1205
  65. tristate "Xicor/Intersil X1205"
  66. depends on RTC_CLASS && I2C
  67. help
  68. If you say yes here you get support for the
  69. Xicor/Intersil X1205 RTC chip.
  70. This driver can also be built as a module. If so, the module
  71. will be called rtc-x1205.
  72. config RTC_DRV_DS1307
  73. tristate "Dallas/Maxim DS1307 and similar I2C RTC chips"
  74. depends on RTC_CLASS && I2C
  75. help
  76. If you say yes here you get support for various compatible RTC
  77. chips (often with battery backup) connected with I2C. This driver
  78. should handle DS1307, DS1337, DS1338, DS1339, DS1340, ST M41T00,
  79. and probably other chips. In some cases the RTC must already
  80. have been initialized (by manufacturing or a bootloader).
  81. The first seven registers on these chips hold an RTC, and other
  82. registers may add features such as NVRAM, a trickle charger for
  83. the RTC/NVRAM backup power, and alarms. This driver may not
  84. expose all those available chip features.
  85. This driver can also be built as a module. If so, the module
  86. will be called rtc-ds1307.
  87. config RTC_DRV_DS1672
  88. tristate "Dallas/Maxim DS1672"
  89. depends on RTC_CLASS && I2C
  90. help
  91. If you say yes here you get support for the
  92. Dallas/Maxim DS1672 timekeeping chip.
  93. This driver can also be built as a module. If so, the module
  94. will be called rtc-ds1672.
  95. config RTC_DRV_PCF8563
  96. tristate "Philips PCF8563/Epson RTC8564"
  97. depends on RTC_CLASS && I2C
  98. help
  99. If you say yes here you get support for the
  100. Philips PCF8563 RTC chip. The Epson RTC8564
  101. should work as well.
  102. This driver can also be built as a module. If so, the module
  103. will be called rtc-pcf8563.
  104. config RTC_DRV_RS5C372
  105. tristate "Ricoh RS5C372A/B"
  106. depends on RTC_CLASS && I2C
  107. help
  108. If you say yes here you get support for the
  109. Ricoh RS5C372A and RS5C372B RTC chips.
  110. This driver can also be built as a module. If so, the module
  111. will be called rtc-rs5c372.
  112. config RTC_DRV_M48T86
  113. tristate "ST M48T86/Dallas DS12887"
  114. depends on RTC_CLASS
  115. help
  116. If you say Y here you will get support for the
  117. ST M48T86 and Dallas DS12887 RTC chips.
  118. This driver can also be built as a module. If so, the module
  119. will be called rtc-m48t86.
  120. config RTC_DRV_EP93XX
  121. tristate "Cirrus Logic EP93XX"
  122. depends on RTC_CLASS && ARCH_EP93XX
  123. help
  124. If you say yes here you get support for the
  125. RTC embedded in the Cirrus Logic EP93XX processors.
  126. This driver can also be built as a module. If so, the module
  127. will be called rtc-ep93xx.
  128. config RTC_DRV_SA1100
  129. tristate "SA11x0/PXA2xx"
  130. depends on RTC_CLASS && (ARCH_SA1100 || ARCH_PXA)
  131. help
  132. If you say Y here you will get access to the real time clock
  133. built into your SA11x0 or PXA2xx CPU.
  134. To compile this driver as a module, choose M here: the
  135. module will be called rtc-sa1100.
  136. config RTC_DRV_VR41XX
  137. tristate "NEC VR41XX"
  138. depends on RTC_CLASS && CPU_VR41XX
  139. help
  140. If you say Y here you will get access to the real time clock
  141. built into your NEC VR41XX CPU.
  142. To compile this driver as a module, choose M here: the
  143. module will be called rtc-vr41xx.
  144. config RTC_DRV_PL031
  145. tristate "ARM AMBA PL031 RTC"
  146. depends on RTC_CLASS && ARM_AMBA
  147. help
  148. If you say Y here you will get access to ARM AMBA
  149. PrimeCell PL031 UART found on certain ARM SOCs.
  150. To compile this driver as a module, choose M here: the
  151. module will be called rtc-pl031.
  152. config RTC_DRV_TEST
  153. tristate "Test driver/device"
  154. depends on RTC_CLASS
  155. help
  156. If you say yes here you get support for the
  157. RTC test driver. It's a software RTC which can be
  158. used to test the RTC subsystem APIs. It gets
  159. the time from the system clock.
  160. You want this driver only if you are doing development
  161. on the RTC subsystem. Please read the source code
  162. for further details.
  163. This driver can also be built as a module. If so, the module
  164. will be called rtc-test.
  165. endmenu