some refactors, changed name of spi_serdes