]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: mediatek: mt7622: add support for coherent DMA
authorFelix Fietkau <nbd@nbd.name>
Tue, 5 Apr 2022 19:57:44 +0000 (21:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 May 2024 14:23:40 +0000 (16:23 +0200)
[ Upstream commit 3abd063019b6a01762f9fccc39505f29d029360a ]

It improves performance by eliminating the need for a cache flush on rx and tx

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 3ba5a6159434 ("arm64: dts: mediatek: mt7622: fix clock controllers")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/mediatek/mt7622.dtsi

index 884930a5849a29eb8ddd04b38007818a296af405..07b4d3ba5561249107477e577bb8a3f55a1f20e1 100644 (file)
                };
 
                cci_control2: slave-if@5000 {
-                       compatible = "arm,cci-400-ctrl-if";
+                       compatible = "arm,cci-400-ctrl-if", "syscon";
                        interface-type = "ace";
                        reg = <0x5000 0x1000>;
                };
                power-domains = <&scpsys MT7622_POWER_DOMAIN_ETHSYS>;
                mediatek,ethsys = <&ethsys>;
                mediatek,sgmiisys = <&sgmiisys>;
+               mediatek,cci-control = <&cci_control2>;
+               dma-coherent;
                #address-cells = <1>;
                #size-cells = <0>;
                status = "disabled";