blob: d06d272e14b040646ee388f07095837cea17e4a4 [file] [log] [blame]
Masahiro Yamada0b11dbf2015-07-26 02:46:26 +09001#
2# RTC drivers configuration
3#
4
5menu "Real Time Clock"
6
Simon Glassdbeda5b2015-04-20 12:37:23 -06007config DM_RTC
8 bool "Enable Driver Model for RTC drivers"
9 depends on DM
AKASHI Takahiro05429b62019-11-13 09:44:49 +090010 select LIB_DATE
Simon Glassdbeda5b2015-04-20 12:37:23 -060011 help
12 Enable drver model for real-time-clock drivers. The RTC uclass
13 then provides the rtc_get()/rtc_set() interface, delegating to
14 drivers to perform the actual functions. See rtc.h for a
15 description of the API.
Masahiro Yamada0b11dbf2015-07-26 02:46:26 +090016
Simon Glass380d4f72018-10-01 12:22:15 -060017config SPL_DM_RTC
18 bool "Enable Driver Model for RTC drivers in SPL"
19 depends on SPL_DM
20 help
21 Enable drver model for real-time-clock drivers. The RTC uclass
22 then provides the rtc_get()/rtc_set() interface, delegating to
23 drivers to perform the actual functions. See rtc.h for a
24 description of the API.
25
26config TPL_DM_RTC
27 bool "Enable Driver Model for RTC drivers in TPL"
28 depends on TPL_DM
29 help
30 Enable drver model for real-time-clock drivers. The RTC uclass
31 then provides the rtc_get()/rtc_set() interface, delegating to
32 drivers to perform the actual functions. See rtc.h for a
33 description of the API.
34
Chuanhua Handb07c442019-07-26 19:24:00 +080035config RTC_ENABLE_32KHZ_OUTPUT
36 bool "Enable RTC 32Khz output"
37 help
38 Some real-time clocks support the output of 32kHz square waves (such as ds3231),
39 the config symbol choose Real Time Clock device 32Khz output feature.
40
Meng Yi8f3a8422016-11-30 15:47:31 +080041config RTC_PCF2127
42 bool "Enable PCF2127 driver"
43 depends on DM_RTC
44 help
Meng Yi45a01942017-01-09 11:24:51 -070045 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.
Meng Yi8f3a8422016-11-30 15:47:31 +080050
Chris Packhamd425d602017-04-29 15:20:29 +120051config RTC_DS1307
52 bool "Enable DS1307 driver"
53 depends on DM_RTC
54 help
55 Support for Dallas Semiconductor (now Maxim) DS1307 and DS1338/9 and
56 compatible Real Time Clock devices.
57
Han Nandor0b326fc2019-11-12 08:39:38 +000058config RTC_DS3232
59 bool "Enable DS3232 driver"
60 depends on DM_RTC
61 depends on DM_I2C
62 help
63 Support for Dallas Semiconductor (now Maxim) DS3232 compatible
64 Real Time Clock devices.
65
Heinrich Schuchardt87e99632020-10-22 23:52:14 +020066config RTC_EMULATION
67 bool "Enable emulated RTC"
68 depends on DM_RTC
69 help
70 On a board without hardware clock this software real time clock can be
71 used. The build time is used to initialize the RTC. So you will have
72 to adjust the time either manually using the 'date' command or use
73 the 'sntp' to update the RTC with the time from a network time server.
74 See CONFIG_CMD_SNTP and CONFIG_BOOTP_NTPSERVER. The RTC time is
75 advanced according to CPU ticks.
76
Klaus Goger52280312018-03-19 20:32:05 +010077config RTC_ISL1208
78 bool "Enable ISL1208 driver"
79 depends on DM_RTC
80 help
81 The Renesas (formerly Intersil) ISL1208 is a I2C Real Time Clock (RTC) and
82 calendar with automatic leap year correction, 2-byte battery backed SRAM,
83 automatic power switch-over, alarm function and 15 selectable frequency
84 outputs.
85
86 This driver supports reading and writing the RTC/calendar and detects
87 total power failures.
88
Heiko Schocherdddfde52020-10-16 10:41:46 +020089config RTC_PCF8563
90 tristate "Philips PCF8563"
91 help
92 If you say yes here you get support for the Philips PCF8563 RTC
93 and compatible chips.
94
Philipp Tomsicha3716b52018-11-27 22:53:57 +010095config RTC_RV3029
96 bool "Enable RV3029 driver"
97 depends on DM_RTC
98 help
99 The MicroCrystal RV3029 is a I2C Real Time Clock (RTC) with 8-byte
100 battery-backed SRAM.
101
102 This driver supports reading and writing the RTC/calendar and the
103 battery-baced SRAM section.
104
Michael Wallefb9a1ff2019-05-29 01:29:58 +0200105config RTC_RV8803
106 bool "Enable RV8803 driver"
107 depends on DM_RTC
108 help
109 The Micro Crystal RV8803 is a high accuracy, ultra-low power I2C
110 Real Time Clock (RTC) with temperature compensation.
111
112 This driver supports reading and writing the RTC/calendar and
113 detects total power failures.
114
Nandor Han958a2102018-01-10 20:31:27 +0100115config RTC_RX8010SJ
116 bool "Enable RX8010SJ driver"
117 depends on DM_RTC
118 help
119 Support for Epson RX8010SJ Real Time Clock devices.
120
Heiko Schochera7e6d0c2019-07-16 05:31:33 +0200121config RTC_RX8025
122 bool "Enable RX8025 driver"
123 help
124 Support for Epson RX8025 Real Time Clock devices.
125
Heinrich Schuchardtb19886b2018-06-29 00:34:16 +0200126config RTC_PL031
127 bool "Enable ARM AMBA PL031 RTC driver"
128 help
129 The ARM PrimeCell Real Time Clock (PL031) is an optional SoC
130 peripheral based on the Advanced Microcontroller Bus Architecture
131 (AMBA). It is emulated in QEMU virtual ARM machines.
132
Chris Packhamd3671df2018-05-28 23:39:58 +1200133config RTC_MV
134 bool "Enable Marvell RTC driver"
135 depends on DM_RTC
136 help
137 Enable Marvell RTC driver. This driver supports the rtc that is present
138 on some Marvell SoCs.
139
Nandor Handa5337a2017-11-08 15:35:14 +0000140config RTC_S35392A
141 bool "Enable S35392A driver"
142 select BITREVERSE
143 help
144 Enable s35392a driver which provides rtc get and set function.
145
Simon Glass10761072018-10-01 12:22:14 -0600146config RTC_MC146818
147 bool "Enable MC146818 driver"
148 help
149 This is a widely used real-time clock chip originally by Motorola
150 and now available from NXP. It includes a battery-backed real-time
151 clock with a wide array of features and 50 bytes of general-purpose,
152 battery-backed RAM. The driver supports access to the clock and RAM.
153
Lukasz Majewskid27db672018-11-22 14:54:31 +0100154config RTC_M41T62
155 bool "Enable M41T62 driver"
156 help
157 Enable driver for ST's M41T62 compatible RTC devices (like RV-4162).
158 It is a serial (I2C) real-time clock (RTC) with alarm.
159
Patrick Delaunay1f99eaf2019-07-22 11:02:34 +0200160config RTC_STM32
161 bool "Enable STM32 RTC driver"
162 depends on DM_RTC
163 help
164 Enable STM32 RTC driver. This driver supports the rtc that is present
165 on some STM32 SoCs.
Masahiro Yamada0b11dbf2015-07-26 02:46:26 +0900166endmenu