mediatek: mt7988: fix peripheral SPI busses
authorDaniel Golle <daniel@makrotopia.org>
Fri, 1 Nov 2024 03:37:51 +0000 (03:37 +0000)
committerPetr Štetiar <ynezz@true.cz>
Fri, 1 Nov 2024 06:54:33 +0000 (06:54 +0000)
commit05b3adc0dbfd888f2a91c675146db5b62cdce0dc
tree1dea3786400b42a0e54602fa0e7dbbb6e445a919
parent07e5dd4c4f99c27f2d15fb73c1beeff3c9696cf7
mediatek: mt7988: fix peripheral SPI busses

The clocks for SPI busses were named wrongly which resulted in the
spi-mt65xx driver not requesting them. This has apparently been
worked around by marking the clocks required for SPI0 which is used
for SPI-NOR and SPI-NAND flash chips as critical.
Fix the device tree for all 3 generic SPI host controllers and no
longer mark clocks as critical.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 2b173ab730897f53539cab39e87e2b4638cb482a)
target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
target/linux/mediatek/patches-6.6/255-clk-mediatek-mt7988-infracfg-SPI0-clocks-are-not-critical.patch [new file with mode: 0644]