Welcome.
I have a problem with support for SPI in imx287. If the clock source settings "ref_xtal", everything works perfectly. But when the clock signal as a source of law "ref_io.1", while reading the last bit is erroneous, in random bytes.
Has anyone met with this problem and how you solve it?