driver: updated SPI driver interface