-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: i2c: Add Infineon CAT1 i2c driver
- Add initial version of Infineon CAT1 i2c driver. - Add initial version of binding file for Infineon CAT1 I2C driver Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
- Loading branch information
1 parent
1b2942f
commit 185aa1c
Showing
9 changed files
with
716 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ toolchain: | |
supported: | ||
- gpio | ||
- uart | ||
- i2c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Infineon CAT1 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 | ||
|
||
config I2C_INFINEON_CAT1 | ||
bool "Infineon CAT1 I2C driver" | ||
default y | ||
depends on DT_HAS_INFINEON_CAT1_I2C_ENABLED | ||
select USE_INFINEON_I2C | ||
help | ||
This option enables the I2C driver for Infineon CAT1 family. | ||
|
||
config I2C_INFINEON_CAT1_TARGET_BUF | ||
int "I2C Target data buffer length" | ||
depends on I2C_INFINEON_CAT1 | ||
range 1 1024 | ||
default 64 | ||
help | ||
Buffer to receive data as an I2C Target. | ||
|
||
config I2C_INFINEON_CAT1_ASYNC | ||
bool "Support Asynchronous I2C driver" | ||
default y | ||
depends on I2C_INFINEON_CAT1 | ||
help | ||
Configure the I2C driver to be non-blocking/Asynchronous mode. |
Oops, something went wrong.