no-OS icon indicating copy to clipboard operation
no-OS copied to clipboard

ad3552r and ad7606 low level spi_engine vs normal spi ops

Open buha opened this issue 10 months ago • 2 comments

These two device drivers are made in such a way that the existence of #include "axi_...h" is implied which may not be the case because normal SPI or quad SPI may also be used as interface. This breaks builds on non xilinx platforms.

buha avatar Feb 06 '25 09:02 buha

One solution would be 3 low level ops, init/read_reg/write_reg that come in at least 2 flavours (spi_engine and qspi for example) and are defined in separate files that the make system includes or not based on the platform.

buha avatar Feb 06 '25 09:02 buha

#2490 is related but only a temporary workaround to make the driver build on any platform

buha avatar Mar 20 '25 07:03 buha