blob: 2f064b4db8e9ed138a01e24a236e4fa334b253b5 (
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
44
45
46
47
48
49
50
51
52
53
54
55
|
# 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"
# List standalone controllers before embedded once so that they get
# higher priority.
default CROS_RTC_NXP_PCF85063A if DT_HAS_NXP_RTC_PCF85063A_ENABLED
default CROS_RTC_RENESAS_IDT1337AG if DT_HAS_RENESAS_RTC_IDT1337AG_ENABLED
default CROS_RTC_NPCX if DT_HAS_NUVOTON_NPCX_CROS_MTC_ENABLED
default CROS_RTC_XEC if DT_HAS_MICROCHIP_XEC_CROS_RTC_ENABLED
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
config PLATFORM_EC_PCF85063A_CAP_SEL
bool "Set CAP_SEL of PCF85063A"
depends on CROS_RTC_NXP_PCF85063A
help
This option select the internal oscillator capacitor to 12.5 pF,
default is 7 pF.
endif # PLATFORM_EC_RTC
|