diff options
Diffstat (limited to 'zephyr/emul/Kconfig.sm5803')
-rw-r--r-- | zephyr/emul/Kconfig.sm5803 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/zephyr/emul/Kconfig.sm5803 b/zephyr/emul/Kconfig.sm5803 new file mode 100644 index 0000000000..b1ee48a392 --- /dev/null +++ b/zephyr/emul/Kconfig.sm5803 @@ -0,0 +1,18 @@ +# Copyright 2023 The ChromiumOS Authors +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +menuconfig EMUL_SM5803 + bool "SM5803 charger emulator" + default y + depends on DT_HAS_CROS_SM5803_EMUL_ENABLED + depends on I2C_EMUL + help + Enable the SM5803 emulator, used to test the sm5803 driver. + The emulator API is defined in zephyr/include/emul/emul_sm5803.h + +if EMUL_SM5803 +module = SM5803_EMUL +module-str = sm5803_emul +source "subsys/logging/Kconfig.template.log_config" +endif |