Merge https://gitlab.denx.de/u-boot/custodians/u-boot-clk
[oweals/u-boot.git] / drivers / rtc / Kconfig
1 #
2 # RTC drivers configuration
3 #
4
5 menu "Real Time Clock"
6
7 config 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.
15
16 config 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
25 config 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
34 config RTC_ENABLE_32KHZ_OUTPUT
35         bool "Enable RTC 32Khz output"
36         help
37            Some real-time clocks support the output of 32kHz square waves (such as ds3231),
38            the config symbol choose Real Time Clock device 32Khz output feature.
39
40 config RTC_PCF2127
41         bool "Enable PCF2127 driver"
42         depends on DM_RTC
43         help
44           The PCF2127 is a CMOS Real Time Clock (RTC) and calendar with an integrated
45           Temperature Compensated Crystal (Xtal) Oscillator (TCXO) and a 32.768 kHz quartz
46           crystal optimized for very high accuracy and very low power consumption. The PCF2127
47           has a selectable I2C-bus or SPI-bus, a backup battery switch-over circuit, a
48           programmable watchdog function, a timestamp function, and many other features.
49
50 config RTC_DS1307
51         bool "Enable DS1307 driver"
52         depends on DM_RTC
53         help
54           Support for Dallas Semiconductor (now Maxim) DS1307 and DS1338/9 and
55           compatible Real Time Clock devices.
56
57 config RTC_ISL1208
58         bool "Enable ISL1208 driver"
59         depends on DM_RTC
60         help
61           The Renesas (formerly Intersil) ISL1208 is a I2C Real Time Clock (RTC) and
62           calendar with automatic leap year correction, 2-byte battery backed SRAM,
63           automatic power switch-over, alarm function and 15 selectable frequency
64           outputs.
65
66           This driver supports reading and writing the RTC/calendar and detects
67           total power failures.
68
69 config RTC_RV3029
70         bool "Enable RV3029 driver"
71         depends on DM_RTC
72         help
73           The MicroCrystal RV3029 is a I2C Real Time Clock (RTC) with 8-byte
74           battery-backed SRAM.
75
76           This driver supports reading and writing the RTC/calendar and the
77           battery-baced SRAM section.
78
79 config RTC_RV8803
80         bool "Enable RV8803 driver"
81         depends on DM_RTC
82         help
83           The Micro Crystal RV8803 is a high accuracy, ultra-low power I2C
84           Real Time Clock (RTC) with temperature compensation.
85
86           This driver supports reading and writing the RTC/calendar and
87           detects total power failures.
88
89 config RTC_RX8010SJ
90         bool "Enable RX8010SJ driver"
91         depends on DM_RTC
92         help
93           Support for Epson RX8010SJ Real Time Clock devices.
94
95 config RTC_RX8025
96         bool "Enable RX8025 driver"
97         help
98           Support for Epson RX8025 Real Time Clock devices.
99
100 config RTC_PL031
101         bool "Enable ARM AMBA PL031 RTC driver"
102         help
103           The ARM PrimeCell Real Time Clock (PL031) is an optional SoC
104           peripheral based on the Advanced Microcontroller Bus Architecture
105           (AMBA). It is emulated in QEMU virtual ARM machines.
106
107 config RTC_MV
108         bool "Enable Marvell RTC driver"
109         depends on DM_RTC
110         help
111           Enable Marvell RTC driver. This driver supports the rtc that is present
112           on some Marvell SoCs.
113
114 config RTC_S35392A
115         bool "Enable S35392A driver"
116         select BITREVERSE
117         help
118           Enable s35392a driver which provides rtc get and set function.
119
120 config RTC_MC146818
121         bool "Enable MC146818 driver"
122         help
123           This is a widely used real-time clock chip originally by Motorola
124           and now available from NXP. It includes a battery-backed real-time
125           clock with a wide array of features and 50 bytes of general-purpose,
126           battery-backed RAM. The driver supports access to the clock and RAM.
127
128 config RTC_M41T62
129         bool "Enable M41T62 driver"
130         help
131           Enable driver for ST's M41T62 compatible RTC devices (like RV-4162).
132           It is a serial (I2C) real-time clock (RTC) with alarm.
133
134 config RTC_STM32
135         bool "Enable STM32 RTC driver"
136         depends on DM_RTC
137         help
138           Enable STM32 RTC driver. This driver supports the rtc that is present
139           on some STM32 SoCs.
140 endmenu