blob: 59e2fc44ba94e71454c8caed39d0ab6428023449 [file] [log] [blame]
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +09001#
2# RTC drivers configuration
3#
4
5menu "Real Time Clock"
6
Simon Glassd9050b52015-04-20 12:37:23 -06007config DM_RTC
8 bool "Enable Driver Model for RTC drivers"
9 depends on DM
AKASHI Takahiro51ba5222019-11-13 09:44:49 +090010 select LIB_DATE
Simon Glassd9050b52015-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 Yamadacc85b7b2015-07-26 02:46:26 +090016
Simon Glass39c94222018-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 Han4f97aac2019-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 Yi188417c2016-11-30 15:47:31 +080041config RTC_PCF2127
42 bool "Enable PCF2127 driver"
43 depends on DM_RTC
44 help
Meng Yie21f5c22017-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 Yi188417c2016-11-30 15:47:31 +080050
Chris Packham97a3e912017-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 Nandor9c5fc932019-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
Klaus Goger2f6bb762018-03-19 20:32:05 +010066config RTC_ISL1208
67 bool "Enable ISL1208 driver"
68 depends on DM_RTC
69 help
70 The Renesas (formerly Intersil) ISL1208 is a I2C Real Time Clock (RTC) and
71 calendar with automatic leap year correction, 2-byte battery backed SRAM,
72 automatic power switch-over, alarm function and 15 selectable frequency
73 outputs.
74
75 This driver supports reading and writing the RTC/calendar and detects
76 total power failures.
77
Philipp Tomsich3d0e1ad2018-11-27 22:53:57 +010078config RTC_RV3029
79 bool "Enable RV3029 driver"
80 depends on DM_RTC
81 help
82 The MicroCrystal RV3029 is a I2C Real Time Clock (RTC) with 8-byte
83 battery-backed SRAM.
84
85 This driver supports reading and writing the RTC/calendar and the
86 battery-baced SRAM section.
87
Michael Walle2febcea2019-05-29 01:29:58 +020088config RTC_RV8803
89 bool "Enable RV8803 driver"
90 depends on DM_RTC
91 help
92 The Micro Crystal RV8803 is a high accuracy, ultra-low power I2C
93 Real Time Clock (RTC) with temperature compensation.
94
95 This driver supports reading and writing the RTC/calendar and
96 detects total power failures.
97
Nandor Han20de5b02018-01-10 20:31:27 +010098config RTC_RX8010SJ
99 bool "Enable RX8010SJ driver"
100 depends on DM_RTC
101 help
102 Support for Epson RX8010SJ Real Time Clock devices.
103
Heiko Schocher1ac5f6c2019-07-16 05:31:33 +0200104config RTC_RX8025
105 bool "Enable RX8025 driver"
106 help
107 Support for Epson RX8025 Real Time Clock devices.
108
Heinrich Schuchardt1bf05d02018-06-29 00:34:16 +0200109config RTC_PL031
110 bool "Enable ARM AMBA PL031 RTC driver"
111 help
112 The ARM PrimeCell Real Time Clock (PL031) is an optional SoC
113 peripheral based on the Advanced Microcontroller Bus Architecture
114 (AMBA). It is emulated in QEMU virtual ARM machines.
115
Chris Packhamf654d652018-05-28 23:39:58 +1200116config 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
Nandor Hand5ea84a2017-11-08 15:35:14 +0000123config RTC_S35392A
124 bool "Enable S35392A driver"
125 select BITREVERSE
126 help
127 Enable s35392a driver which provides rtc get and set function.
128
Simon Glass9be963e2018-10-01 12:22:14 -0600129config RTC_MC146818
130 bool "Enable MC146818 driver"
131 help
132 This is a widely used real-time clock chip originally by Motorola
133 and now available from NXP. It includes a battery-backed real-time
134 clock with a wide array of features and 50 bytes of general-purpose,
135 battery-backed RAM. The driver supports access to the clock and RAM.
136
Lukasz Majewskic17ec482018-11-22 14:54:31 +0100137config RTC_M41T62
138 bool "Enable M41T62 driver"
139 help
140 Enable driver for ST's M41T62 compatible RTC devices (like RV-4162).
141 It is a serial (I2C) real-time clock (RTC) with alarm.
142
Patrick Delaunayfeee9af2019-07-22 11:02:34 +0200143config RTC_STM32
144 bool "Enable STM32 RTC driver"
145 depends on DM_RTC
146 help
147 Enable STM32 RTC driver. This driver supports the rtc that is present
148 on some STM32 SoCs.
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +0900149endmenu