Share SPI driver code between both