summaryrefslogtreecommitdiff
path: root/zephyr/drivers/cros_rtc/Kconfig
blob: 2839b03c620fc7e88a73441beaf9e7a7eb94337c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 2021 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

if PLATFORM_EC_RTC && !ARCH_POSIX

choice CROS_RTC_TYPE
	prompt "Select the RTC to use"
	default CROS_RTC_NPCX if SOC_FAMILY_NPCX
	help
	  Select the RTC used on the board.

config CROS_RTC_NPCX
	bool "Nuvoton NPCX Real-Time Clock (RTC) driver for the Zephyr shim"
	depends on SOC_FAMILY_NPCX
	help
	  This option enables a driver for providing the support of Real-Time
	  Clock (RTC) on the NPCX chip.

config CROS_RTC_XEC
	bool "Microchip XEC Real-Time Clock (RTC) driver for the Zephyr shim"
	depends on SOC_FAMILY_MEC
	help
	  This option enables a driver for providing the support of Real-Time
	  Clock (RTC) on the MCHP XEC chip.

config CROS_RTC_NXP_PCF85063A
	bool "NXP PCF85063A Real-Time Clock (RTC) driver for the Zephyr shim"
	depends on I2C
	help
	  This option enables a driver for providing the support of NXP
	  Real-Time Clock (RTC) on the the I2C bus.

config CROS_RTC_RENESAS_IDT1337AG
	bool "RENESAS IDT1337AG Real-Time Clock (RTC) driver for the Zephyr shim"
	depends on I2C
	help
	  This option enables a driver for providing the support of RENESAS
	  Real-Time Clock (RTC) on the the I2C bus.

endchoice # CROS_RTC_TYPE

endif # PLATFORM_EC_RTC