How to enable tsi721 driver for tsi721 SRIO Bridge use?

Showing results for 
Search instead for 
Did you mean: 

How to enable tsi721 driver for tsi721 SRIO Bridge use?

Contributor II


I want to use tsi721 PCIe to SRIO Bridge for converting the PCIe link into SRIO in LS2 Device. For that when i search in kernel i found one driver is present in /drivers/rapidio/devices/tsi721.c path in kernel source code. I just want to know that if i want to use SRIO bridge then i have to enable this driver from somewhere or this driver by default is loaded and when we connect this bridge it will detect bridge automatically.

I have one another question also, If i want to use cps1432 Gen2 SRIO switch which will connect to this SRIO bridge. So for this switch also there is one driver in path /drivers/rapidio/switches/idt_gen2.c. So i have doubt that if we connect this Switch through SRIO Bridge then how Switch will be enumerated or detected as a device. For that also we have to enable something from menuconfig ? When i refer this switch driver i came to conclusion that driver will work for processor which has directly SRIO interface through SerDes Protocol like T4240 but in LS2 that support is not available then How it will work when we connect through cps1432 Switch thorough SRIO Bridge?

Labels (1)
2 Replies

NXP Employee
NXP Employee

Hello Pratik Bhatt,

Please enable the below :

│ Symbol: RAPIDIO_TSI721 [=y] │
│ Type : tristate │
│ Prompt: IDT Tsi721 PCI Express SRIO Controller support │
│ Location: │
│ -> Bus options │
│ (1) -> RapidIO support (RAPIDIO [=y]) │
│ Defined at drivers/rapidio/devices/Kconfig:5 │
│ Depends on: RAPIDIO [=y] && PCIEPORTBUS [=y]

You can select the idt_gen2 driver as a built-in or loadable module. This driver is applicable to the CPS-1432 switch. If you select it as a module please make sure that the module is pre-loaded before executing enumeration/discovery process.

It is fine to connect up the Tsi721 and CPS-1432 to a PCI-e host without any S-RIO endpoints connected.

Have a great day,

Note: If this post answers your question, please click the Correct Answer button. Thank you!

Contributor II

Thank you Lunminliang for this valuable reply.

0 Kudos