Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions boards/infineon/kit_psc3m5_evk/kit_psc3m5_evk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ toolchain:
- gnuarmemb
supported:
- gpio
- spi
vendor: infineon
2 changes: 2 additions & 0 deletions boards/infineon/kit_psc3m5_evk/kit_psc3m5_evk_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ CONFIG_UART_CONSOLE=y

# Enable UART driver
CONFIG_SERIAL=y

CONFIG_ARM_TRUSTZONE_M=y
1 change: 1 addition & 0 deletions boards/infineon/kit_pse84_eval/kit_pse84_eval_m55.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ supported:
- gpio
- pin_ctrl
- uart
- spi
1 change: 1 addition & 0 deletions drivers/spi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ zephyr_library_sources_ifdef(CONFIG_SPI_NUMAKER spi_numaker.c)
zephyr_library_sources_ifdef(CONFIG_SPI_OC_SIMPLE spi_oc_simple.c)
zephyr_library_sources_ifdef(CONFIG_SPI_OMAP_MCSPI spi_omap_mcspi.c)
zephyr_library_sources_ifdef(CONFIG_SPI_OPENTITAN spi_opentitan.c)
zephyr_library_sources_ifdef(CONFIG_SPI_PDL_INFINEON_CAT1 spi_ifx_cat1_pdl.c)
zephyr_library_sources_ifdef(CONFIG_SPI_PL022 spi_pl022.c)
zephyr_library_sources_ifdef(CONFIG_SPI_PSOC6 spi_psoc6.c)
zephyr_library_sources_ifdef(CONFIG_SPI_PW spi_pw.c)
Expand Down
28 changes: 28 additions & 0 deletions drivers/spi/Kconfig.ifx_cat1
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,31 @@ config SPI_INFINEON_CAT1
select GPIO
help
This option enables the SPI driver for Infineon CAT1 family.

config SPI_PDL_INFINEON_CAT1
bool "Infineon CAT1 SPI driver"
default y
depends on DT_HAS_INFINEON_CAT1_SPI_PDL_ENABLED
select USE_INFINEON_SPI
select PINCTRL
select GPIO
help
This option enables the SPI driver for Infineon CAT1 family.

if USE_INFINEON_SPI

config IFX_CAT1_SPI_DMA
bool "Infineon CAT1 SPI Interrupt Support"
select DMA
help
Enable DMA during usage of SPI driver.

config IFX_CAT1_SPI_DMA_TX_AUTO_TRIGGER
bool "Infineon CAT1 SPI Tx DMA channel trigger mechanism"
default y
depends on IFX_CAT1_SPI_DMA
select DMA
help
Automatically trigger SPI Tx DMA after config

endif # USE_INFINEON_SPI
Loading