Skip to content

Add .recover_bus support for Infineon devices using the i2c_pdl driver#106458

Open
mcatee-infineon wants to merge 2 commits intozephyrproject-rtos:mainfrom
mcatee-infineon:pse84-bmi270-i2c-sample
Open

Add .recover_bus support for Infineon devices using the i2c_pdl driver#106458
mcatee-infineon wants to merge 2 commits intozephyrproject-rtos:mainfrom
mcatee-infineon:pse84-bmi270-i2c-sample

Conversation

@mcatee-infineon
Copy link
Copy Markdown
Contributor

Add support for the i2c .recover_bus api in Infineon's i2c_pdl
driver. This uses the functions defined in i2c_bitbang.c to cause a
release of an improperly held sda line.

Additionally, changes are made to the driver's relevant Kconfig
and i2c binding .yaml files. This adds definitions for the sda and scl
bins for recovery purposes. The .recover_bus api is set to depend on the
"scl_gpios" and "sda_gpios" variables being set up in devicetree.

As part of this PR adding kit_pse84_* platform overlays for the bmi270 sensor sample.

	Add support for the i2c .recover_bus api in Infineon's i2c_pdl
driver. This uses the functions defined in i2c_bitbang.c to cause a
release of an improperly held sda line.

	Additionally, changes are made to the driver's relevant Kconfig
and i2c binding .yaml files. This adds definitions for the sda and scl
bins for recovery purposes. The .recover_bus api is set to depend on the
"scl_gpios" and "sda_gpios" variables being set up in devicetree.

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
- Add boards directory for the bmi270 sensor sample
- Add overlay for infineon's kit_pse84_ai platform's m55 core
- Add overlay for infineon's kit_pse84_eval platform's m55 core

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
@mcatee-infineon mcatee-infineon force-pushed the pse84-bmi270-i2c-sample branch from 0f6246f to 03d47bd Compare March 27, 2026 21:44
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Devicetree Binding PR modifies or adds a Device Tree binding area: I2C area: Samples Samples area: Sensors Sensors platform: Infineon Infineon Technologies AG

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants