2015-07-25 17:46:26 +00:00
|
|
|
#
|
|
|
|
# RTC drivers configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
menu "Real Time Clock"
|
|
|
|
|
2015-04-20 18:37:23 +00:00
|
|
|
config DM_RTC
|
|
|
|
bool "Enable Driver Model for RTC drivers"
|
|
|
|
depends on DM
|
2019-11-13 00:44:49 +00:00
|
|
|
select LIB_DATE
|
2015-04-20 18:37:23 +00:00
|
|
|
help
|
|
|
|
Enable drver model for real-time-clock drivers. The RTC uclass
|
|
|
|
then provides the rtc_get()/rtc_set() interface, delegating to
|
|
|
|
drivers to perform the actual functions. See rtc.h for a
|
|
|
|
description of the API.
|
2015-07-25 17:46:26 +00:00
|
|
|
|
2018-10-01 18:22:15 +00:00
|
|
|
config SPL_DM_RTC
|
|
|
|
bool "Enable Driver Model for RTC drivers in SPL"
|
|
|
|
depends on SPL_DM
|
|
|
|
help
|
|
|
|
Enable drver model for real-time-clock drivers. The RTC uclass
|
|
|
|
then provides the rtc_get()/rtc_set() interface, delegating to
|
|
|
|
drivers to perform the actual functions. See rtc.h for a
|
|
|
|
description of the API.
|
|
|
|
|
|
|
|
config TPL_DM_RTC
|
|
|
|
bool "Enable Driver Model for RTC drivers in TPL"
|
|
|
|
depends on TPL_DM
|
|
|
|
help
|
|
|
|
Enable drver model for real-time-clock drivers. The RTC uclass
|
|
|
|
then provides the rtc_get()/rtc_set() interface, delegating to
|
|
|
|
drivers to perform the actual functions. See rtc.h for a
|
|
|
|
description of the API.
|
|
|
|
|
2022-04-30 06:56:53 +00:00
|
|
|
config VPL_DM_RTC
|
|
|
|
bool "Enable Driver Model for RTC drivers in VPL"
|
|
|
|
depends on VPL_DM
|
|
|
|
help
|
|
|
|
Enable drver model for real-time-clock drivers. The RTC uclass
|
|
|
|
then provides the rtc_get()/rtc_set() interface, delegating to
|
|
|
|
drivers to perform the actual functions. See rtc.h for a
|
|
|
|
description of the API.
|
|
|
|
|
2019-07-26 11:24:00 +00:00
|
|
|
config RTC_ENABLE_32KHZ_OUTPUT
|
|
|
|
bool "Enable RTC 32Khz output"
|
|
|
|
help
|
|
|
|
Some real-time clocks support the output of 32kHz square waves (such as ds3231),
|
|
|
|
the config symbol choose Real Time Clock device 32Khz output feature.
|
|
|
|
|
2021-02-26 09:30:19 +00:00
|
|
|
config RTC_ARMADA38X
|
|
|
|
bool "Enable Armada 38x Marvell SoC RTC"
|
|
|
|
depends on DM_RTC && ARCH_MVEBU
|
|
|
|
help
|
|
|
|
This adds support for the in-chip RTC that can be found in the
|
|
|
|
Armada 38x Marvell's SoC devices.
|
|
|
|
|
2016-11-30 07:47:31 +00:00
|
|
|
config RTC_PCF2127
|
|
|
|
bool "Enable PCF2127 driver"
|
|
|
|
depends on DM_RTC
|
|
|
|
help
|
2017-01-09 18:24:51 +00:00
|
|
|
The PCF2127 is a CMOS Real Time Clock (RTC) and calendar with an integrated
|
|
|
|
Temperature Compensated Crystal (Xtal) Oscillator (TCXO) and a 32.768 kHz quartz
|
|
|
|
crystal optimized for very high accuracy and very low power consumption. The PCF2127
|
|
|
|
has a selectable I2C-bus or SPI-bus, a backup battery switch-over circuit, a
|
|
|
|
programmable watchdog function, a timestamp function, and many other features.
|
2016-11-30 07:47:31 +00:00
|
|
|
|
2017-04-29 03:20:29 +00:00
|
|
|
config RTC_DS1307
|
|
|
|
bool "Enable DS1307 driver"
|
|
|
|
depends on DM_RTC
|
|
|
|
help
|
2022-11-19 23:45:31 +00:00
|
|
|
Support for Dallas Semiconductor (now Maxim) DS1307 and DS1339 and
|
2017-04-29 03:20:29 +00:00
|
|
|
compatible Real Time Clock devices.
|
|
|
|
|
2022-11-19 23:45:31 +00:00
|
|
|
config RTC_DS1337
|
|
|
|
bool "Enable DS1337 driver"
|
|
|
|
help
|
|
|
|
Support for Dallas Semiconductor (now Maxim) DS1337/8/9 compatible
|
|
|
|
Real Time Clock devices.
|
|
|
|
|
|
|
|
config RTC_DS1337_NOOSC
|
|
|
|
bool "Enable support for no oscillator output in DS1337 driver"
|
|
|
|
depends on RTC_DS1337
|
|
|
|
|
|
|
|
config RTC_DS1338
|
|
|
|
bool "Enable DS1338 driver"
|
|
|
|
help
|
|
|
|
Support for Dallas Semiconductor (now Maxim) DS1338 and compatible
|
|
|
|
Real Time Clock devices.
|
|
|
|
|
|
|
|
config RTC_DS1374
|
|
|
|
bool "Enable DS1374 driver"
|
|
|
|
depends on !DM_RTC
|
|
|
|
help
|
|
|
|
Support for Dallas Semiconductor (now Maxim) DS1374 and compatible
|
|
|
|
Real Time Clock devices.
|
|
|
|
|
|
|
|
config RTC_DS3231
|
|
|
|
bool "Enable DS3231 driver"
|
|
|
|
help
|
|
|
|
Support for Dallas Semiconductor (now Maxim) DS3231 compatible
|
|
|
|
Real Time Clock devices.
|
|
|
|
|
2019-11-12 08:39:38 +00:00
|
|
|
config RTC_DS3232
|
|
|
|
bool "Enable DS3232 driver"
|
|
|
|
depends on DM_RTC
|
|
|
|
depends on DM_I2C
|
|
|
|
help
|
|
|
|
Support for Dallas Semiconductor (now Maxim) DS3232 compatible
|
|
|
|
Real Time Clock devices.
|
|
|
|
|
2020-10-22 21:52:14 +00:00
|
|
|
config RTC_EMULATION
|
|
|
|
bool "Enable emulated RTC"
|
|
|
|
depends on DM_RTC
|
|
|
|
help
|
|
|
|
On a board without hardware clock this software real time clock can be
|
2020-10-30 02:27:22 +00:00
|
|
|
used. The initial time may be provided via the environment variable
|
|
|
|
'rtc_emul_epoch' as a decimal string indicating seconds since
|
|
|
|
1970-01-01. If the environment variable is missing, the build time is
|
|
|
|
used to initialize the RTC. The time can be adjusted manually via the
|
|
|
|
'date' command or the 'sntp' command can be used to update the RTC
|
|
|
|
with the time from a network time server. See CONFIG_CMD_SNTP and
|
|
|
|
CONFIG_BOOTP_NTPSERVER. The RTC time is advanced according to CPU
|
|
|
|
ticks.
|
2020-10-22 21:52:14 +00:00
|
|
|
|
2018-03-19 19:32:05 +00:00
|
|
|
config RTC_ISL1208
|
|
|
|
bool "Enable ISL1208 driver"
|
|
|
|
depends on DM_RTC
|
|
|
|
help
|
|
|
|
The Renesas (formerly Intersil) ISL1208 is a I2C Real Time Clock (RTC) and
|
|
|
|
calendar with automatic leap year correction, 2-byte battery backed SRAM,
|
|
|
|
automatic power switch-over, alarm function and 15 selectable frequency
|
|
|
|
outputs.
|
|
|
|
|
|
|
|
This driver supports reading and writing the RTC/calendar and detects
|
|
|
|
total power failures.
|
|
|
|
|
2023-03-19 21:23:44 +00:00
|
|
|
config RTC_MAX313XX
|
|
|
|
bool "Analog Devices MAX313XX RTC driver"
|
|
|
|
depends on DM_RTC
|
|
|
|
depends on DM_I2C
|
|
|
|
help
|
|
|
|
If you say yes here you will get support for the
|
|
|
|
Analog Devices MAX313XX series RTC family.
|
|
|
|
|
|
|
|
Chip features not currently supported:
|
|
|
|
- Timestamp registers as SRAM
|
|
|
|
- Temperature sensor
|
|
|
|
- CLKOUT generation
|
|
|
|
|
2020-10-16 08:41:46 +00:00
|
|
|
config RTC_PCF8563
|
|
|
|
tristate "Philips PCF8563"
|
|
|
|
help
|
|
|
|
If you say yes here you get support for the Philips PCF8563 RTC
|
|
|
|
and compatible chips.
|
|
|
|
|
2022-11-19 23:45:31 +00:00
|
|
|
config RTC_PT7C4338
|
|
|
|
bool "Enable Pericom Technology PT7C4338 RTC driver"
|
|
|
|
|
2021-03-10 07:15:00 +00:00
|
|
|
config RTC_RV3028
|
|
|
|
bool "Enable RV3028 driver"
|
|
|
|
depends on DM_RTC
|
|
|
|
help
|
|
|
|
The MicroCrystal RV3028 is a I2C Real Time Clock (RTC)
|
|
|
|
|
2018-11-27 21:53:57 +00:00
|
|
|
config RTC_RV3029
|
|
|
|
bool "Enable RV3029 driver"
|
|
|
|
depends on DM_RTC
|
|
|
|
help
|
|
|
|
The MicroCrystal RV3029 is a I2C Real Time Clock (RTC) with 8-byte
|
|
|
|
battery-backed SRAM.
|
|
|
|
|
|
|
|
This driver supports reading and writing the RTC/calendar and the
|
|
|
|
battery-baced SRAM section.
|
|
|
|
|
2019-05-28 23:29:58 +00:00
|
|
|
config RTC_RV8803
|
|
|
|
bool "Enable RV8803 driver"
|
|
|
|
depends on DM_RTC
|
|
|
|
help
|
|
|
|
The Micro Crystal RV8803 is a high accuracy, ultra-low power I2C
|
|
|
|
Real Time Clock (RTC) with temperature compensation.
|
|
|
|
|
|
|
|
This driver supports reading and writing the RTC/calendar and
|
|
|
|
detects total power failures.
|
|
|
|
|
2018-01-10 19:31:27 +00:00
|
|
|
config RTC_RX8010SJ
|
|
|
|
bool "Enable RX8010SJ driver"
|
|
|
|
depends on DM_RTC
|
|
|
|
help
|
|
|
|
Support for Epson RX8010SJ Real Time Clock devices.
|
|
|
|
|
2019-07-16 03:31:33 +00:00
|
|
|
config RTC_RX8025
|
|
|
|
bool "Enable RX8025 driver"
|
2021-09-17 06:46:01 +00:00
|
|
|
depends on DM_RTC
|
2019-07-16 03:31:33 +00:00
|
|
|
help
|
|
|
|
Support for Epson RX8025 Real Time Clock devices.
|
|
|
|
|
2018-06-28 22:34:16 +00:00
|
|
|
config RTC_PL031
|
|
|
|
bool "Enable ARM AMBA PL031 RTC driver"
|
|
|
|
help
|
|
|
|
The ARM PrimeCell Real Time Clock (PL031) is an optional SoC
|
|
|
|
peripheral based on the Advanced Microcontroller Bus Architecture
|
|
|
|
(AMBA). It is emulated in QEMU virtual ARM machines.
|
|
|
|
|
2018-05-28 11:39:58 +00:00
|
|
|
config RTC_MV
|
|
|
|
bool "Enable Marvell RTC driver"
|
|
|
|
depends on DM_RTC
|
|
|
|
help
|
|
|
|
Enable Marvell RTC driver. This driver supports the rtc that is present
|
|
|
|
on some Marvell SoCs.
|
|
|
|
|
2017-11-08 15:35:14 +00:00
|
|
|
config RTC_S35392A
|
|
|
|
bool "Enable S35392A driver"
|
|
|
|
select BITREVERSE
|
|
|
|
help
|
|
|
|
Enable s35392a driver which provides rtc get and set function.
|
|
|
|
|
2022-11-19 23:45:31 +00:00
|
|
|
config RTC_MC13XXX
|
|
|
|
bool "Enable MC13XXX RTC driver"
|
|
|
|
depends on !DM_RTC
|
|
|
|
|
2018-10-01 18:22:14 +00:00
|
|
|
config RTC_MC146818
|
|
|
|
bool "Enable MC146818 driver"
|
|
|
|
help
|
|
|
|
This is a widely used real-time clock chip originally by Motorola
|
|
|
|
and now available from NXP. It includes a battery-backed real-time
|
|
|
|
clock with a wide array of features and 50 bytes of general-purpose,
|
|
|
|
battery-backed RAM. The driver supports access to the clock and RAM.
|
|
|
|
|
2022-03-23 21:19:51 +00:00
|
|
|
config MCFRTC
|
|
|
|
bool "Use common CF RTC driver"
|
|
|
|
depends on M68K
|
|
|
|
|
|
|
|
config SYS_MCFRTC_BASE
|
|
|
|
hex "Base address for RTC in immap.h"
|
|
|
|
depends on MCFRTC
|
|
|
|
|
2022-11-19 23:45:31 +00:00
|
|
|
config RTC_MXS
|
|
|
|
bool "Enable i.MXS RTC driver"
|
|
|
|
depends on ARCH_MX23 || ARCH_MX28
|
|
|
|
|
2018-11-22 13:54:31 +00:00
|
|
|
config RTC_M41T62
|
|
|
|
bool "Enable M41T62 driver"
|
|
|
|
help
|
|
|
|
Enable driver for ST's M41T62 compatible RTC devices (like RV-4162).
|
|
|
|
It is a serial (I2C) real-time clock (RTC) with alarm.
|
|
|
|
|
2023-02-22 16:34:04 +00:00
|
|
|
config RTC_SANDBOX
|
|
|
|
bool "Enable sandbox RTC driver"
|
|
|
|
depends on SANDBOX && DM_RTC
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable the sandbox RTC driver. This driver connects to the RTC
|
|
|
|
emulator and is used to test the RTC uclasses and associated code,
|
|
|
|
as well as the I2C subsystem.
|
|
|
|
|
|
|
|
config SPL_RTC_SANDBOX
|
|
|
|
bool "Enable sandbox RTC driver (SPL)"
|
|
|
|
depends on SANDBOX && SPL_DM_RTC
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable the sandbox RTC driver. This driver connects to the RTC
|
|
|
|
emulator and is used to test the RTC uclasses and associated code,
|
|
|
|
as well as the I2C subsystem.
|
|
|
|
|
2019-07-22 09:02:34 +00:00
|
|
|
config RTC_STM32
|
|
|
|
bool "Enable STM32 RTC driver"
|
|
|
|
depends on DM_RTC
|
|
|
|
help
|
|
|
|
Enable STM32 RTC driver. This driver supports the rtc that is present
|
|
|
|
on some STM32 SoCs.
|
2021-01-15 05:53:02 +00:00
|
|
|
|
|
|
|
config RTC_ABX80X
|
|
|
|
bool "Enable Abracon ABx80x RTC driver"
|
|
|
|
depends on DM_RTC
|
|
|
|
help
|
|
|
|
If you say yes here you get support for Abracon AB080X and AB180X
|
|
|
|
families of ultra-low-power battery- and capacitor-backed real-time
|
|
|
|
clock chips.
|
|
|
|
|
2021-06-02 20:37:58 +00:00
|
|
|
config RTC_DAVINCI
|
|
|
|
bool "Enable TI OMAP RTC driver"
|
|
|
|
depends on ARCH_DAVINCI || ARCH_OMAP2PLUS
|
|
|
|
help
|
|
|
|
Say "yes" here to support the on chip real time clock
|
|
|
|
present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
|
|
|
|
|
2021-07-29 08:39:08 +00:00
|
|
|
config RTC_ZYNQMP
|
|
|
|
bool "Enable ZynqMP RTC driver"
|
|
|
|
depends on ARCH_ZYNQMP
|
|
|
|
help
|
|
|
|
Say "yes" here to support the on chip real time clock
|
|
|
|
present on Xilinx ZynqMP SoC.
|
|
|
|
|
2022-12-09 16:15:30 +00:00
|
|
|
config RTC_HT1380
|
|
|
|
bool "Enable Holtek HT1380/HT1381 RTC driver"
|
|
|
|
depends on DM_RTC && DM_GPIO
|
|
|
|
help
|
|
|
|
Say "yes" here to get support for Holtek HT1380/HT1381
|
|
|
|
Serial Timekeeper IC which provides seconds, minutes, hours,
|
|
|
|
day of the week, date, month and year information. It is to be
|
|
|
|
connected via 3 GPIO pins which work as reset, clock, and data.
|
|
|
|
|
2015-07-25 17:46:26 +00:00
|
|
|
endmenu
|