diff options
Diffstat (limited to 'zephyr/emul/tcpc/Kconfig')
-rw-r--r-- | zephyr/emul/tcpc/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/zephyr/emul/tcpc/Kconfig b/zephyr/emul/tcpc/Kconfig index 03b432f0a6..147f267113 100644 --- a/zephyr/emul/tcpc/Kconfig +++ b/zephyr/emul/tcpc/Kconfig @@ -4,6 +4,8 @@ menuconfig EMUL_TCPCI bool "TCPCI common functionality" + default y + depends on DT_HAS_CROS_TCPCI_GENERIC_EMUL_ENABLED depends on I2C_EMUL help Enable the TCPCI emulator. This driver uses the emulated I2C bus. @@ -21,6 +23,8 @@ source "subsys/logging/Kconfig.template.log_config" config EMUL_ANX7447 bool "Analogix ANX7447 emulator" + default y + depends on DT_HAS_CROS_ANX7447_TCPC_EMUL_ENABLED help Enable emulator for ANX7447 of TCPM. This emulator is extension for TCPCI emulator. ANX7447 specific API is available in @@ -36,6 +40,8 @@ config EMUL_TCPCI_PARTNER_COMMON config EMUL_PS8XXX bool "Parade PS8XXX emulator" + default y + depends on DT_HAS_CROS_PS8XXX_EMUL_ENABLED help Enable emulator for PS8XXX family of TCPC. This emulator is extenstion for TCPCI emulator. PS8XXX specific API is available in @@ -76,4 +82,14 @@ config EMUL_TCPCI_PARTNER_FAULTY_EXT to TCPCI emulator. API of malfunctioning device emulator is available in zephyr/include/emul/tcpc/emul_tcpci_partner_faulty_ext.h +config EMUL_TCPCI_PARTNER_VPD + bool "USB-C VCONN-powered device emulator" + select EMUL_TCPCI_PARTNER_COMMON + # select EMUL_TCPCI_PARTNER_SRC + help + Enable USB-C VCONN-powered device (VPD) emulator, which may be + attached to TCPCI emulator. API of VPD is available in + zephyr/include/emul/tcpc/emul_tcpci_partner_vpd.h. This emulation is + specifically for the host port side of the VPD. + endif # EMUL_TCPCI |