/Linux-v6.1/Documentation/devicetree/bindings/memory-controllers/ |
D | mediatek,smi-larb.yaml | 5 $id: http://devicetree.org/schemas/memory-controllers/mediatek,smi-larb.yaml# 20 - mediatek,mt2701-smi-larb 21 - mediatek,mt2712-smi-larb 22 - mediatek,mt6779-smi-larb 23 - mediatek,mt6795-smi-larb 24 - mediatek,mt8167-smi-larb 25 - mediatek,mt8173-smi-larb 26 - mediatek,mt8183-smi-larb 27 - mediatek,mt8186-smi-larb 28 - mediatek,mt8188-smi-larb [all …]
|
/Linux-v6.1/drivers/memory/ |
D | mtk-smi.c | 20 #include <dt-bindings/memory/mt2701-larb-port.h> 39 /* SMI LARB */ 152 struct mtk_smi_larb { /* larb: local arbiter */ 165 struct mtk_smi_larb *larb = dev_get_drvdata(dev); in mtk_smi_larb_bind() local 171 larb->larbid = i; in mtk_smi_larb_bind() 172 larb->mmu = &larb_mmu[i].mmu; in mtk_smi_larb_bind() 173 larb->bank = larb_mmu[i].bank; in mtk_smi_larb_bind() 193 struct mtk_smi_larb *larb = dev_get_drvdata(dev); in mtk_smi_larb_config_port_gen1() local 194 const struct mtk_smi_larb_gen *larb_gen = larb->larb_gen; in mtk_smi_larb_config_port_gen1() 195 struct mtk_smi *common = dev_get_drvdata(larb->smi_common_dev); in mtk_smi_larb_config_port_gen1() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/iommu/ |
D | mediatek,iommu.yaml | 42 SMI larb0 SMI larb1 ... SoCs have several SMI local arbiter(larb). 48 | | |... | | | ... There are different ports in each larb. 59 Normally we specify a local arbiter(larb) for each multimedia HW 61 in each larb. Take a example, There are many ports like MC, PP, VLD in the 65 smi-common and m4u, and additional GALS module between smi-larb and 117 Refer to bindings/memory-controllers/mediatek,smi-larb.yaml. It must sort 125 dt-binding/memory/mt2701-larb-port.h for mt2701 and mt7623, 126 dt-binding/memory/mt2712-larb-port.h for mt2712, 127 dt-binding/memory/mt6779-larb-port.h for mt6779, 128 dt-binding/memory/mt6795-larb-port.h for mt6795, [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/mediatek/ |
D | mt8195.dtsi | 1518 larb4: larb@14013000 { 1519 compatible = "mediatek,mt8195-smi-larb"; 1521 mediatek,larb-id = <4>; 1561 larb7: larb@14e04000 { 1562 compatible = "mediatek,mt8195-smi-larb"; 1564 mediatek,larb-id = <7>; 1572 larb8: larb@14e05000 { 1573 compatible = "mediatek,mt8195-smi-larb"; 1575 mediatek,larb-id = <8>; 1590 larb5: larb@14f02000 { [all …]
|
D | mt8192.dtsi | 12 #include <dt-bindings/memory/mt8192-larb-port.h> 1238 larb0: larb@14003000 { 1239 compatible = "mediatek,mt8192-smi-larb"; 1241 mediatek,larb-id = <0>; 1248 larb1: larb@14004000 { 1249 compatible = "mediatek,mt8192-smi-larb"; 1251 mediatek,larb-id = <1>; 1424 larb9: larb@1502e000 { 1425 compatible = "mediatek,mt8192-smi-larb"; 1427 mediatek,larb-id = <9>; [all …]
|
D | mt8167.dtsi | 9 #include <dt-bindings/memory/mt8167-larb-port.h> 143 larb0: larb@14016000 { 144 compatible = "mediatek,mt8167-smi-larb"; 153 larb1: larb@15001000 { 154 compatible = "mediatek,mt8167-smi-larb"; 163 larb2: larb@16010000 { 164 compatible = "mediatek,mt8167-smi-larb";
|
D | mt2712e.dtsi | 11 #include <dt-bindings/memory/mt2712-larb-port.h> 1000 larb0: larb@14021000 { 1001 compatible = "mediatek,mt2712-smi-larb"; 1004 mediatek,larb-id = <0>; 1020 larb4: larb@14027000 { 1021 compatible = "mediatek,mt2712-smi-larb"; 1024 mediatek,larb-id = <4>; 1031 larb5: larb@14030000 { 1032 compatible = "mediatek,mt2712-smi-larb"; 1035 mediatek,larb-id = <5>; [all …]
|
D | mt8173.dtsi | 10 #include <dt-bindings/memory/mt8173-larb-port.h> 1282 larb0: larb@14021000 { 1283 compatible = "mediatek,mt8173-smi-larb"; 1340 larb4: larb@14027000 { 1341 compatible = "mediatek,mt8173-smi-larb"; 1356 larb2: larb@15001000 { 1357 compatible = "mediatek,mt8173-smi-larb"; 1424 larb1: larb@16010000 { 1425 compatible = "mediatek,mt8173-smi-larb"; 1440 larb3: larb@18001000 { [all …]
|
D | mt8183.dtsi | 12 #include <dt-bindings/memory/mt8183-larb-port.h> 1878 larb0: larb@14017000 { 1879 compatible = "mediatek,mt8183-smi-larb"; 1914 larb5: larb@15021000 { 1915 compatible = "mediatek,mt8183-smi-larb"; 1924 larb2: larb@1502f000 { 1925 compatible = "mediatek,mt8183-smi-larb"; 1940 larb1: larb@16010000 { 1941 compatible = "mediatek,mt8183-smi-larb"; 1955 larb4: larb@17010000 { [all …]
|
/Linux-v6.1/include/dt-bindings/memory/ |
D | mt8186-memory-port.h | 17 * a) Make sure all the ports inside a larb are in one range. 32 /* LARB 0 -- MMSYS */ 38 /* LARB 1 -- MMSYS */ 45 /* LARB 2 -- MMSYS */ 52 /* LARB 4 -- VDEC */ 68 /* LARB 7 -- VENC */ 83 /* LARB 8 -- WPE */ 88 /* LARB 9 -- IMG-1 */ 119 /* LARB 11 -- IMG-2 */ 150 /* LARB 13 -- CAM */ [all …]
|
D | mt2701-larb-port.h | 12 * the first port's id for larb[N] would be the last port's id of larb[N - 1] 13 * plus one while larb[0]'s first port number is 0. The definition of 16 * offset for each larb, the first port's id for larb[N] would be (N * 32).
|
D | mtk-memory-port.h | 11 #define MTK_M4U_ID(larb, port) (((larb) << 5) | (port)) argument
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | mt7623n.dtsi | 10 #include <dt-bindings/memory/mt2701-larb-port.h> 59 larb0: larb@14010000 { 60 compatible = "mediatek,mt7623-smi-larb", 61 "mediatek,mt2701-smi-larb"; 64 mediatek,larb-id = <0>; 71 larb1: larb@16010000 { 72 compatible = "mediatek,mt7623-smi-larb", 73 "mediatek,mt2701-smi-larb"; 76 mediatek,larb-id = <1>; 83 larb2: larb@15001000 { [all …]
|
D | mt2701.dtsi | 13 #include <dt-bindings/memory/mt2701-larb-port.h> 530 larb0: larb@14010000 { 531 compatible = "mediatek,mt2701-smi-larb"; 534 mediatek,larb-id = <0>; 547 larb2: larb@15001000 { 548 compatible = "mediatek,mt2701-smi-larb"; 551 mediatek,larb-id = <2>; 589 larb1: larb@16010000 { 590 compatible = "mediatek,mt2701-smi-larb"; 593 mediatek,larb-id = <1>;
|
/Linux-v6.1/drivers/iommu/ |
D | mtk_iommu_v1.c | 31 #include <dt-bindings/memory/mt2701-larb-port.h> 156 int larb = mt2701_m4u_to_larb(id); in mt2701_m4u_to_port() local 158 return id - mt2701_m4u_in_larb[larb]; in mt2701_m4u_to_port() 218 "fault type=0x%x iova=0x%x pa=0x%x larb=%d port=%d\n", in mtk_iommu_v1_isr() 488 /* Link the consumer device with the smi-larb device(supplier) */ in mtk_iommu_v1_probe_device() 496 dev_err(dev, "Can only use one larb. Fail@larb%d-%d.\n", in mtk_iommu_v1_probe_device()
|
D | mtk_iommu.c | 461 "fault type=0x%x iova=0x%llx pa=0x%llx master=0x%x(larb=%d port=%d) layer=%d %s\n", in mtk_iommu_isr() 550 dev_dbg(dev, "%s iommu for larb(%s) port %d region %d rgn-bank %d.\n", in mtk_iommu_config() 792 * Link the consumer device with the smi-larb device(supplier). in mtk_iommu_probe_device() 793 * The device that connects with each a larb is a independent HW. in mtk_iommu_probe_device() 803 dev_err(dev, "Can only use one larb. Fail@larb%d-%d.\n", in mtk_iommu_probe_device() 1067 ret = of_property_read_u32(larbnode, "mediatek,larb-id", &id); in mtk_iommu_mm_dts_parse() 1086 /* Get smi-(sub)-common dev from the last larb. */ in mtk_iommu_mm_dts_parse()
|
/Linux-v6.1/Documentation/devicetree/bindings/media/ |
D | mediatek,vcodec-subdev-decoder.yaml | 48 Lat soc is a hardware which is related with some larb(local arbiter) ports. For mt8195 49 platform, there are some ports like RDMA, UFO in lat soc larb, need to enable its power and 225 #include <dt-bindings/memory/mt8192-larb-port.h>
|
D | mediatek-jpeg-encoder.yaml | 66 #include <dt-bindings/memory/mt2701-larb-port.h>
|
D | mediatek-jpeg-decoder.yaml | 67 #include <dt-bindings/memory/mt2701-larb-port.h>
|
D | mediatek,mdp3-wrot.yaml | 69 #include <dt-bindings/memory/mt8183-larb-port.h>
|
D | mediatek,mdp3-rdma.yaml | 81 #include <dt-bindings/memory/mt8183-larb-port.h>
|
/Linux-v6.1/Documentation/devicetree/bindings/soc/mediatek/ |
D | mediatek,wdma.yaml | 70 #include <dt-bindings/memory/mt8183-larb-port.h>
|
/Linux-v6.1/Documentation/devicetree/bindings/display/mediatek/ |
D | mediatek,wdma.yaml | 71 #include <dt-bindings/memory/mt8173-larb-port.h>
|
D | mediatek,ovl-2l.yaml | 77 #include <dt-bindings/memory/mt8183-larb-port.h>
|
D | mediatek,ovl.yaml | 90 #include <dt-bindings/memory/mt8173-larb-port.h>
|