blob: 5773cf372123cbc97784852064dd3be9d524529c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# 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.
DT_COMPAT_LN9310_EMUL := cros,ln9310-emul
menuconfig EMUL_LN9310
bool "LN9310 switchcap emulator"
default $(dt_compat_enabled,$(DT_COMPAT_LN9310_EMUL))
depends on I2C_EMUL
help
Enable the LN9310 emulator. This driver uses the emulated I2C bus. It
is used to test the ln9310 driver. Emulator API is available in
zephyr/include/emul/emul_ln9310.h
if EMUL_LN9310
module = LN9310_EMUL
module-str = ln9310_emul
source "subsys/logging/Kconfig.template.log_config"
endif # EMUL_LN9310
|