From 127a55e91d46623f700ba39f2679e3606ed0b2fb Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Thu, 6 Jun 2019 17:09:58 -0700 Subject: sdm845: qspi: Add Dual SPI support This patch adds support for the Dual SPI feature (SDR 2-bit in Qualcomm terminology) to the QSPI controller. Change-Id: I7aed2ccd9627f5de5dd760b418f74d56d2c031d3 Signed-off-by: Julius Werner Reviewed-on: https://review.coreboot.org/c/coreboot/+/33284 Reviewed-by: Furquan Shaikh Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/soc/qualcomm/sdm845/include/soc/qspi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/soc/qualcomm/sdm845/include') diff --git a/src/soc/qualcomm/sdm845/include/soc/qspi.h b/src/soc/qualcomm/sdm845/include/soc/qspi.h index ac9fd50f1b..3f83421e72 100644 --- a/src/soc/qualcomm/sdm845/include/soc/qspi.h +++ b/src/soc/qualcomm/sdm845/include/soc/qspi.h @@ -116,4 +116,6 @@ int sdm845_setup_bus(const struct spi_slave *slave); void sdm845_release_bus(const struct spi_slave *slave); int sdm845_xfer(const struct spi_slave *slave, const void *dout, size_t out_bytes, void *din, size_t in_bytes); +int sdm845_xfer_dual(const struct spi_slave *slave, const void *dout, + size_t out_bytes, void *din, size_t in_bytes); #endif /* __SOC_QUALCOMM_SDM845_QSPI_H__ */ -- cgit v1.2.3