Hello,
I am working on adding a spi-uart bridge. The part vendor has provided a driver and device tree bindings info. The README also includes a structure to add to the board file.
The target hardware is the mx8 nano DDR4 EVK being built under Yocto.
I don't know where the board initialization file is. Is this achieved differently for arm64 devices?
If SPI mode is used:
Define the spi0_board_info object on your board file similar to the following:
i.e.:
static struct spi_board_info spi0_board_info[] __initdata = {
{
...
Thanks!
Dana
Thank you, Bio_TICFSL . I was discussing this also with a colleague this morning and were also coming to the conclusion that we probably don't need the board info if the device tree is supplying the necessary info. I will go through the setup you have outlined above, probably a few times, and apply it to my setup.
Cheers,
Dana
Hello,
This steps are similar for MX8MN, This is what you need to do:
I need to admit that at the time of writing I didn't test it on the 8MN board, so if you can't make it working please come back to me and I will give it a try on my side.
Regards,