AM4376: Regarding driver processing in Linux software when switching multiplexer devices

Part Number: AM4376
Other Parts Discussed in Thread: TMUX1574, SN3257-Q1,

Tool/software:

Hi experts,

The TI multiplexers TMUX1574 and SN3257-Q1 are listed as application examples for SPI multiplexers.
Enabling SPI-Based Flash Memory Expansion by Using Multiplexers (Rev. B) also discusses switching SPI connections, but could you please explain driver processing in Linux software?

     

In the diagram on the above, when two flash devices are multiplexed, the TI SDK (AM4376) initializes the SPI driver during kernel startup and reads the connected SPI flash.
However, if the multiplexer is subsequently switched to another device, it seems necessary to re-recognize (re-initialize?) the SPI flash.

In the diagram on the above, one of the MCUs is also disconnected, so I think some processing is required to recognize the connection.
Is it possible to re-recognize the SPI device using some command or register setting?

Best regrads,
O.H