summaryrefslogtreecommitdiff
path: root/zephyr/drivers/cros_rtc/Kconfig
blob: 9abe8e27e056860f1c894d7b59d1a8677e1afd87 (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
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

if PLATFORM_EC_RTC

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_NXP_PCF85063A
	bool "NXP PCF85063A Real-Time Clock (RTC) driver for the Zephyr shim"
	depends on PLATFORM_EC_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 PLATFORM_EC_I2C
	help
	  This option enables a driver for providing the support of RENESAS
	  Real-Time Clock (RTC) on the the I2C bus.

endchoice  # RTC Select

endif # PLATFORM_EC_RTC