mediatek: mt7623: import patch to fix spi
authorNick Hainke <vincent@systemli.org>
Sat, 24 Jul 2021 10:55:20 +0000 (12:55 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 24 Jul 2021 12:10:53 +0000 (13:10 +0100)
commit90db922f8818edb1faf9b9c9ba71f73119fb6068
treef2a026d696d08e72f131a53cc6a41b7e602c189f
parentca31755af9877a4539a0268f50b26f003f2059cd
mediatek: mt7623: import patch to fix spi

The patch fixes the fifo rx mode for the mt7623. It is already accepted
upstream for Linux Kernel 5.15.

To test the spi we can change the dts file to

&spi0 {
pinctrl-names = "default";
pinctrl-0 = <&spi0_pins_a>;
status = "okay";
spidev: spidev@0 {
compatible = "linux,spidev";
spi-max-frequency = <1000000>;
reg = <0>;
};
};

Afterwards we should see a spidev device under /dev/.
To test it we can further use spidev-test.

Signed-off-by: Nick Hainke <vincent@systemli.org>
target/linux/mediatek/patches-5.10/000-spi-fix-fifo.patch [new file with mode: 0644]