blob: 0b58a18f5fc11c3b27b637fc71651b0ba3971d47 [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
10 help
11 Enable drver model for real-time-clock drivers. The RTC uclass
12 then provides the rtc_get()/rtc_set() interface, delegating to
13 drivers to perform the actual functions. See rtc.h for a
14 description of the API.
Masahiro Yamada0b11dbf2015-07-26 02:46:26 +090015
Simon Glass380d4f72018-10-01 12:22:15 -060016config SPL_DM_RTC
17 bool "Enable Driver Model for RTC drivers in SPL"
18 depends on SPL_DM
19 help
20 Enable drver model for real-time-clock drivers. The RTC uclass
21 then provides the rtc_get()/rtc_set() interface, delegating to
22 drivers to perform the actual functions. See rtc.h for a
23 description of the API.
24
25config TPL_DM_RTC
26 bool "Enable Driver Model for RTC drivers in TPL"
27 depends on TPL_DM
28 help
29 Enable drver model for real-time-clock drivers. The RTC uclass
30 then provides the rtc_get()/rtc_set() interface, delegating to
31 drivers to perform the actual functions. See rtc.h for a
32 description of the API.
33
Meng Yi8f3a8422016-11-30 15:47:31 +080034config RTC_PCF2127
35 bool "Enable PCF2127 driver"
36 depends on DM_RTC
37 help
Meng Yi45a01942017-01-09 11:24:51 -070038 The PCF2127 is a CMOS Real Time Clock (RTC) and calendar with an integrated
39 Temperature Compensated Crystal (Xtal) Oscillator (TCXO) and a 32.768 kHz quartz
40 crystal optimized for very high accuracy and very low power consumption. The PCF2127
41 has a selectable I2C-bus or SPI-bus, a backup battery switch-over circuit, a
42 programmable watchdog function, a timestamp function, and many other features.
Meng Yi8f3a8422016-11-30 15:47:31 +080043
Chris Packhamd425d602017-04-29 15:20:29 +120044config 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
Klaus Goger52280312018-03-19 20:32:05 +010051config RTC_ISL1208
52 bool "Enable ISL1208 driver"
53 depends on DM_RTC
54 help
55 The Renesas (formerly Intersil) ISL1208 is a I2C Real Time Clock (RTC) and
56 calendar with automatic leap year correction, 2-byte battery backed SRAM,
57 automatic power switch-over, alarm function and 15 selectable frequency
58 outputs.
59
60 This driver supports reading and writing the RTC/calendar and detects
61 total power failures.
62
Philipp Tomsicha3716b52018-11-27 22:53:57 +010063config RTC_RV3029
64 bool "Enable RV3029 driver"
65 depends on DM_RTC
66 help
67 The MicroCrystal RV3029 is a I2C Real Time Clock (RTC) with 8-byte
68 battery-backed SRAM.
69
70 This driver supports reading and writing the RTC/calendar and the
71 battery-baced SRAM section.
72
Michael Wallefb9a1ff2019-05-29 01:29:58 +020073config RTC_RV8803
74 bool "Enable RV8803 driver"
75 depends on DM_RTC
76 help
77 The Micro Crystal RV8803 is a high accuracy, ultra-low power I2C
78 Real Time Clock (RTC) with temperature compensation.
79
80 This driver supports reading and writing the RTC/calendar and
81 detects total power failures.
82
Nandor Han958a2102018-01-10 20:31:27 +010083config RTC_RX8010SJ
84 bool "Enable RX8010SJ driver"
85 depends on DM_RTC
86 help
87 Support for Epson RX8010SJ Real Time Clock devices.
88
Heinrich Schuchardtb19886b2018-06-29 00:34:16 +020089config RTC_PL031
90 bool "Enable ARM AMBA PL031 RTC driver"
91 help
92 The ARM PrimeCell Real Time Clock (PL031) is an optional SoC
93 peripheral based on the Advanced Microcontroller Bus Architecture
94 (AMBA). It is emulated in QEMU virtual ARM machines.
95
Chris Packhamd3671df2018-05-28 23:39:58 +120096config RTC_MV
97 bool "Enable Marvell RTC driver"
98 depends on DM_RTC
99 help
100 Enable Marvell RTC driver. This driver supports the rtc that is present
101 on some Marvell SoCs.
102
Nandor Handa5337a2017-11-08 15:35:14 +0000103config RTC_S35392A
104 bool "Enable S35392A driver"
105 select BITREVERSE
106 help
107 Enable s35392a driver which provides rtc get and set function.
108
Simon Glass10761072018-10-01 12:22:14 -0600109config RTC_MC146818
110 bool "Enable MC146818 driver"
111 help
112 This is a widely used real-time clock chip originally by Motorola
113 and now available from NXP. It includes a battery-backed real-time
114 clock with a wide array of features and 50 bytes of general-purpose,
115 battery-backed RAM. The driver supports access to the clock and RAM.
116
Lukasz Majewskid27db672018-11-22 14:54:31 +0100117config RTC_M41T62
118 bool "Enable M41T62 driver"
119 help
120 Enable driver for ST's M41T62 compatible RTC devices (like RV-4162).
121 It is a serial (I2C) real-time clock (RTC) with alarm.
122
Patrick Delaunay1f99eaf2019-07-22 11:02:34 +0200123config RTC_STM32
124 bool "Enable STM32 RTC driver"
125 depends on DM_RTC
126 help
127 Enable STM32 RTC driver. This driver supports the rtc that is present
128 on some STM32 SoCs.
Masahiro Yamada0b11dbf2015-07-26 02:46:26 +0900129endmenu