diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2022-04-30 20:24:07 +0800 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2022-04-30 23:13:33 +0800 |
commit | 99cd44487e2e7205e1521a52faf498dfda6f100c (patch) | |
tree | 686f1168876ad1a561f747f4e498e9b1414967e6 /target | |
parent | 593fe90b53124af7082b2fe73803e5b1f6793bb9 (diff) | |
download | upstream-99cd44487e2e7205e1521a52faf498dfda6f100c.tar.gz upstream-99cd44487e2e7205e1521a52faf498dfda6f100c.tar.bz2 upstream-99cd44487e2e7205e1521a52faf498dfda6f100c.zip |
mediatek: mt7622: add irq for spi-nor controller
Save some CPU from unnecessary polling and make SPI flash reading
a tiny bit faster.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/mediatek/patches-5.15/104-mt7622-add-snor-irq.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-5.15/104-mt7622-add-snor-irq.patch b/target/linux/mediatek/patches-5.15/104-mt7622-add-snor-irq.patch new file mode 100644 index 0000000000..506db69152 --- /dev/null +++ b/target/linux/mediatek/patches-5.15/104-mt7622-add-snor-irq.patch @@ -0,0 +1,10 @@ +--- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi ++++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi +@@ -577,6 +577,7 @@ + compatible = "mediatek,mt7622-nor", + "mediatek,mt8173-nor"; + reg = <0 0x11014000 0 0xe0>; ++ interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_LOW>; + clocks = <&pericfg CLK_PERI_FLASH_PD>, + <&topckgen CLK_TOP_FLASH_SEL>; + clock-names = "spi", "sf"; |