1# USB-C TCPCI-compliant devices configuration options 2 3# Copyright 2024 Google LLC 4# SPDX-License-Identifier: Apache-2.0 5 6config USBC_TCPC_TCPCI 7 bool 8 select I2C 9 help 10 Enable support for Type-C Port Controller Interface. 11 This symbol should be selected by TCPCI-compliant drivers to allow the use of generic 12 TCPCI functions for registers operations. 13 14if USBC_TCPC_TCPCI 15 16config USBC_TCPC_TCPCI_I2C_RETRIES 17 int "I2C communication retries" 18 default 2 19 help 20 Number of I2C transaction tries that will be performed for each request. 21 Some TCPCs are going into deep sleep mode when no charger is connected and won't respond 22 to the i2c address immediately. If device won't respond after retries, it means that 23 it is not responsible or is not connected. 24 25endif 26