I am working with the IMX8M MIni EVK running Yocto Thud and have been looking into using ECSPI2. I have been able to enable it in the DTS file and use it as a master device. However I have not been able to use it in slave mode. Do you know if it's possible?
BB_VERSION = "1.40.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mmevk"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "4.19-thud"
TUNE_FEATURES = "aarch64"