summaryrefslogtreecommitdiff
path: root/zephyr/emul/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/emul/Kconfig')
-rw-r--r--zephyr/emul/Kconfig21
1 files changed, 20 insertions, 1 deletions
diff --git a/zephyr/emul/Kconfig b/zephyr/emul/Kconfig
index ffbafd059a..3cabd96b6f 100644
--- a/zephyr/emul/Kconfig
+++ b/zephyr/emul/Kconfig
@@ -1,4 +1,4 @@
-# Copyright 2021 The Chromium OS Authors. All rights reserved.
+# 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.
@@ -77,9 +77,28 @@ config EMUL_KB_RAW
config EMUL_CROS_FLASH
bool "Emulated flash driver for the Zephyr shim"
select PLATFORM_EC_FLASH_CROS
+ imply SYSTEM_FAKE
help
This option enables the flash emulator for testing.
+config EMUL_RTC
+ bool "Emulated RTC driver for Zephyr shim"
+ help
+ This options enables the RTC emulator for testing.
+
+config EMUL_RT9490
+ bool "Rt9490 charger emulator"
+ select EMUL_COMMON_I2C
+ help
+ Enable the RT9490 light sensor emulator. This driver use emulated I2C
+ bus. Emulators API is available in zephyr/include/emul/emul_rt9490.h.
+
+config PWM_MOCK
+ bool "Mock implementation of an PWM device"
+ help
+ Enable the PWM mock. This driver is a pure mock and does nothing by
+ default.
+
rsource "Kconfig.ln9310"
rsource "Kconfig.lis2dw12"
rsource "Kconfig.i2c_mock"