From the documentation, what i understood is, for the passthrough Dom0 doesn't have any influence. The drivers of peripherals that has been passthrough has to be enabled in the guest domain.
With this understanding, i have created the partial-device-tree.dtb and configuration file for the SPI passthrough device on XEN for iMX8QM target.
Both the files have been attached. But the SPI devices are not seen in guest domain.
It would be of great help, if someone could point me where i am going wrong.
Thanks in advance,