summaryrefslogtreecommitdiff
path: root/zephyr/emul/Kconfig.isl923x
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/emul/Kconfig.isl923x')
-rw-r--r--zephyr/emul/Kconfig.isl923x7
1 files changed, 3 insertions, 4 deletions
diff --git a/zephyr/emul/Kconfig.isl923x b/zephyr/emul/Kconfig.isl923x
index bf124ec0a9..d1ad526979 100644
--- a/zephyr/emul/Kconfig.isl923x
+++ b/zephyr/emul/Kconfig.isl923x
@@ -1,12 +1,11 @@
-# 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.
-DT_COMPAT_ISL923X_EMUL := cros,isl923x-emul
-
menuconfig EMUL_ISL923X
bool "ISL923X switchcap emulator"
- default $(dt_compat_enabled,$(DT_COMPAT_ISL923X_EMUL))
+ default y
+ depends on DT_HAS_CROS_ISL923X_EMUL_ENABLED
depends on I2C_EMUL
help
Enable the ISL923X emulator. This driver uses the emulated I2C bus. It