diff options
author | Daniel Golle <daniel@makrotopia.org> | 2023-03-10 23:53:54 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2023-03-27 19:07:54 +0100 |
commit | 540377010532d9840ebe0778c2af991bd4b67052 (patch) | |
tree | 44b1287e456e714673dd37e63bd19f4ba5e3620f /target/linux/mediatek/patches-5.15/930-spi-mt65xx-enable-sel-clk.patch | |
parent | 3542ee9d1f463fd39912548515dbb8ca48414a77 (diff) | |
download | upstream-540377010532d9840ebe0778c2af991bd4b67052.tar.gz upstream-540377010532d9840ebe0778c2af991bd4b67052.tar.bz2 upstream-540377010532d9840ebe0778c2af991bd4b67052.zip |
mediatek: add support for SPI calibration
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>
Diffstat (limited to 'target/linux/mediatek/patches-5.15/930-spi-mt65xx-enable-sel-clk.patch')
-rw-r--r-- | target/linux/mediatek/patches-5.15/930-spi-mt65xx-enable-sel-clk.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/mediatek/patches-5.15/930-spi-mt65xx-enable-sel-clk.patch b/target/linux/mediatek/patches-5.15/930-spi-mt65xx-enable-sel-clk.patch index 904f2ef3a2..ebb6c060b5 100644 --- a/target/linux/mediatek/patches-5.15/930-spi-mt65xx-enable-sel-clk.patch +++ b/target/linux/mediatek/patches-5.15/930-spi-mt65xx-enable-sel-clk.patch @@ -1,6 +1,6 @@ --- a/drivers/spi/spi-mt65xx.c +++ b/drivers/spi/spi-mt65xx.c -@@ -1223,10 +1223,16 @@ static int mtk_spi_probe(struct platform +@@ -1231,10 +1231,16 @@ static int mtk_spi_probe(struct platform goto err_disable_spi_hclk; } @@ -18,7 +18,7 @@ } mdata->spi_clk_hz = clk_get_rate(mdata->spi_clk); -@@ -1277,6 +1283,8 @@ static int mtk_spi_probe(struct platform +@@ -1285,6 +1291,8 @@ static int mtk_spi_probe(struct platform err_disable_runtime_pm: pm_runtime_disable(&pdev->dev); |