Kconfig 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. endmenu