Yu-Ping Wu has uploaded a new patch set (#3) to the change originally created by You-Cheng Syu. ( https://review.coreboot.org/c/coreboot/+/33165 )
Change subject: mediatek: Use GPIO based SPI CS ......................................................................
mediatek: Use GPIO based SPI CS
Some boards (e.g., Kukui) need GPIO based CS for SPI0. This patch changes the pinmux and binds the pins to the correponding SPIs.
When using GPIO based SPI CS, we need to manually make CS log/high before/after SPI transactions.
BUG=b:132311067 BRANCH=none TEST=Verified that b/132311067 is irreproducible
Change-Id: I61653fb19242b6ee6be9a45545a8b66e5c9c7cad Signed-off-by: Yu-Ping Wu yupingso@chromium.org --- M src/soc/mediatek/common/include/soc/spi_common.h M src/soc/mediatek/common/spi.c M src/soc/mediatek/mt8173/spi.c M src/soc/mediatek/mt8183/spi.c 4 files changed, 26 insertions(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/33165/3