+qemu-dev Show original message On Monday, May 22, 2017 6:34 PM, boddu pavan <boddupa...@yahoo.com> wrote:
Hi, I see that ssi_auto_connect_slave helper of ssi.c (https://github.com/qemu/qemu/blob/master/hw/ssi/ssi.c#L166) is used to connect SSISlave children of spi controller to its respective spi bus. But this function cannot handle the scenario where controller has two spi busses ( like xilinx_spips). In this case each SSISlave is registered on both the buses. I cannot image a possible good way to fix this, other than assigning a bus number property for each SSISlave. Let me know if that works as a good patch if provided ? Thanks, Sai Pavan