zephyr/drivers/i2c/Kconfig.ifx_xmc4
Andriy Gelman d330d97997 dts: bindings: Rename compatible infineon,xmc4-i2c->infineon,xmc4xxx-i2c
To be consistent with other xmc4xxx drivers.

A few other device tree changes:
- Rename clock signal option as it's handled by DX1.
- Remove clock-frequency option as it's already added in
  i2c-controller.yaml, and interrupts is already defined as array
  in base.yaml.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2023-08-16 20:43:50 +02:00

22 lines
587 B
Plaintext

# Infineon XMC4 I2C configuration options
# Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) or
# an affiliate of Cypress Semiconductor Corporation
#
# SPDX-License-Identifier: Apache-2.0
menuconfig I2C_INFINEON_XMC4
bool "Infineon XMC4 I2C driver"
default y
depends on DT_HAS_INFINEON_XMC4XXX_I2C_ENABLED
help
This option enables the I2C driver for Infineon XMC4 family.
config I2C_INFINEON_XMC4_TARGET_BUF
int "I2C Target data buffer length"
depends on I2C_INFINEON_XMC4
range 1 1024
default 64
help
Buffer to receive data as an I2C Target.