[01/13] arm64: defconfig: Enable SPI_MT65XX

Message ID 20221108232228.1177199-2-nfraprado@collabora.com
State New
Headers
Series arm64: defconfig: Enable missing kconfigs for mt8183-kukui-jacuzzi-juniper |

Commit Message

NĂ­colas F. R. A. Prado Nov. 8, 2022, 11:22 p.m. UTC
  Enable support for the SPI bus on pretty much every MediaTek SoC. Only
MT7621 is handled by a separate driver, all the others use this one.

It is enabled as builtin since on some platforms like mt8195-cherry, the
ChromeOS Embedded Controller is connected through SPI and it is
responsible for the regulators powering the MMC controller used for the
SD card, and thus SPI support is essential for booting.

By enabling this on the defconfig we make it effortless to test the
relevant hardware on CI systems like KernelCI.

Signed-off-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>

---

 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 226bb30ea7e2..171fbecd7372 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -505,6 +505,7 @@  CONFIG_SPI_IMX=m
 CONFIG_SPI_FSL_DSPI=y
 CONFIG_SPI_MESON_SPICC=m
 CONFIG_SPI_MESON_SPIFC=m
+CONFIG_SPI_MT65XX=y
 CONFIG_SPI_ORION=y
 CONFIG_SPI_PL022=y
 CONFIG_SPI_ROCKCHIP=y