
2 Jul
2021
2 Jul
'21
10:20 p.m.
On 7/2/21 10:10 PM, Da Xue wrote: [...]
That should do the trick. Can you check which of the mode bits is set in meson_spifc_set_mode() and triggers the ENODEV condition ?
SPI_CPHA seems to be the culprit. I tried adding spi-cpha = <0> to no avail.
Can you find out what is setting the SPI_CPHA in the first place on your machine ?
The Kconfig was setting it to 3. I manually added the default mode (0) to my board's config and it worked. Thanks Marek.
Sure, good thing this was fixed. Please send a patch for the board, so it can be added to this release.