summaryrefslogtreecommitdiff
path: root/zephyr/emul/Kconfig.isl923x
blob: bf124ec0a9313d46755b2ea25e571d329cc8b78b (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_ISL923X_EMUL := cros,isl923x-emul

menuconfig EMUL_ISL923X
	bool "ISL923X switchcap emulator"
	default $(dt_compat_enabled,$(DT_COMPAT_ISL923X_EMUL))
	depends on I2C_EMUL
	help
	  Enable the ISL923X emulator. This driver uses the emulated I2C bus. It
	  is used to test the isl923x driver. Emulator API is available in
	  zephyr/include/emul/emul_isl923x.h

if EMUL_ISL923X

module = ISL923X_EMUL
module-str = isl923x_emul
source "subsys/logging/Kconfig.template.log_config"

endif # EMUL_ISL923X