File tree Expand file tree Collapse file tree 5 files changed +850
-2
lines changed Expand file tree Collapse file tree 5 files changed +850
-2
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ zephyr_library_sources_ifdef(CONFIG_SPI_PW spi_pw.c)
5454zephyr_library_sources_ifdef(CONFIG_SPI_RENESAS_RA spi_renesas_ra.c)
5555zephyr_library_sources_ifdef(CONFIG_SPI_RENESAS_RA8 spi_b_renesas_ra8.c)
5656zephyr_library_sources_ifdef(CONFIG_SPI_RENESAS_RX spi_renesas_rx.c)
57+ zephyr_library_sources_ifdef(CONFIG_SPI_RENESAS_RZ spi_renesas_rz.c)
5758zephyr_library_sources_ifdef(CONFIG_SPI_RENESAS_RZ_RSPI spi_renesas_rz_rspi.c)
5859zephyr_library_sources_ifdef(CONFIG_SPI_RPI_PICO_PIO spi_rpi_pico_pio.c)
5960zephyr_library_sources_ifdef(CONFIG_SPI_RV32M1_LPSPI spi_rv32m1_lpspi.c)
Original file line number Diff line number Diff line change @@ -23,6 +23,32 @@ config SPI_RENESAS_RZ_RSPI_DMAC
2323	help
2424	  Enable the SPI DMA mode for SPI instances
2525
26+ endif # SPI_RENESAS_RZ_RSPI
27+ 
28+ config SPI_RENESAS_RZ
29+ 	bool "Renesas RZ SPI"
30+ 	default y
31+ 	depends on DT_HAS_RENESAS_RZ_SPI_ENABLED
32+ 	select USE_RZ_FSP_SPI
33+ 	select PINCTRL
34+ 	help
35+ 	  Enable Renesas RZ SPI Driver.
36+ 
37+ if SPI_RENESAS_RZ
38+ 
39+ config SPI_RENESAS_RZ_INTERRUPT
40+ 	bool "RZ SPI Interrupt Support"
41+ 	help
42+ 	  Enable Interrupt support for the SPI.
43+ 
44+ config SPI_USE_HW_SS
45+ 	bool "RZ SPI Hardware Peripheral Select support"
46+ 	default y
47+ 	help
48+ 	  Use Hardware Peripheral Select instead of Software Peripheral Select.
49+ 
50+ endif # SPI_RENESAS_RZ
51+ 
2652if SPI_RTIO
2753config SPI_RTIO_SQ_SIZE
2854	int "Number of available submission queue entries"
@@ -40,5 +66,3 @@ config SPI_RTIO_CQ_SIZE
4066	default 8 # Sensible default that covers most common spi transactions
4167
4268endif # SPI_RTIO
43- 
44- endif # SPI_RENESAS_RZ_RSPI
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments