From e98b2d11846fe0f7a64e8739ec5d8e901a54dfc8 Mon Sep 17 00:00:00 2001 From: Neill Corlett Date: Thu, 20 Jan 2022 21:50:30 -0500 Subject: Add mediatek_i2c_spi interface Add a spi_master interface supporting MediaTek MST9U ISP mode. Autodetect the bus type via I2C_FUNC_I2C, and use the appropriate read/write commands, in case the MST9U is attached to smbus. TEST=Successfully programmed SPI on test hardware. Change-Id: I24adb14e7b4f7160e1c3ff941774064d5a81e820 Signed-off-by: Neill Corlett Reviewed-on: https://review.coreboot.org/c/flashrom/+/61288 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan --- meson_options.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'meson_options.txt') diff --git a/meson_options.txt b/meson_options.txt index 588ed5be..8022c740 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -40,4 +40,5 @@ option('config_serprog', type : 'boolean', value : true, description : 'serprog' option('config_usbblaster_spi', type : 'boolean', value : true, description : 'Altera USB-Blaster dongles') option('config_stlinkv3_spi', type : 'boolean', value : true, description : 'STMicroelectronics STLINK-V3') option('config_lspcon_i2c_spi', type : 'boolean', value : false, description : 'Parade lspcon USB-C to HDMI protocol translator') +option('config_mediatek_i2c_spi', type : 'boolean', value : false, description : 'MediaTek LCD controller') option('config_realtek_mst_i2c_spi', type : 'boolean', value : true, description : 'Realtek MultiStream Transport MST') -- cgit v1.2.3