no-OS
no-OS copied to clipboard
ad3552r and ad7606 low level spi_engine vs normal spi ops
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.
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.
#2490 is related but only a temporary workaround to make the driver build on any platform