aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-5.15/930-spi-mt65xx-enable-sel-clk.patch
Commit message (Collapse)AuthorAgeFilesLines
* mediatek: add support for SPI calibrationDaniel Golle2023-03-271-2/+2
| | | | | | | Newer MediaTek's SoCs need SPI calibration routines for SPI to work reliably. Import patches for that from MediaTek's SDK. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: enable sel_clk for spi-mt65xxFurong Xu2022-12-161-0/+29
Without explicitly enabling sel_clk, clk_disable_unused() will disable it when boot is done, causing CPU hang on SPI1 register access on MT7986. Explicitly enable sel_clk to make SPI1 functional. Signed-off-by: Furong Xu <xfr@outlook.com> Signed-off-by: Chuanhong Guo <gch981213@gmail.com>