/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A 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/drivers/memory/ |
H A 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/Documentation/devicetree/bindings/iommu/ |
H A 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 121 Refer to bindings/memory-controllers/mediatek,smi-larb.yaml. It must sort 130 dt-binding/memory/mt2701-larb-port.h for mt2701 and mt7623, 131 dt-binding/memory/mt2712-larb-port.h for mt2712, 132 dt-binding/memory/mt6779-larb-port.h for mt6779, 133 dt-binding/memory/mt6795-larb-port.h for mt6795, [all …]
|
/linux/include/dt-bindings/memory/ |
H A D | mediatek,mt8188-memory-port.h | 14 * the index of larb is not in order. So we reindexed these larbs from a 48 * a) Make sure all the ports inside a larb are in one range. 69 /* LARB 0 -- VDO-0 */ 78 /* LARB 1 -- VD0-0 */ 87 /* LARB 2 -- VDO-1 */ 94 /* LARB 3 -- VDO-1 */ 103 /* LARB 4 -- VPP-0 */ 112 /* LARB 5 -- VPP-1 */ 122 /* LARB 6 -- VPP-1 */ 128 /* LARB 7 -- WPE */ [all …]
|
H A 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 …]
|
H A 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).
|
H A D | mtk-memory-port.h | 11 #define MTK_M4U_ID(larb, port) (((larb) << 5) | (port)) argument
|
/linux/arch/arm/boot/dts/mediatek/ |
H A 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 …]
|
H A D | mt2701.dtsi | 13 #include <dt-bindings/memory/mt2701-larb-port.h> 529 larb0: larb@14010000 { 530 compatible = "mediatek,mt2701-smi-larb"; 533 mediatek,larb-id = <0>; 546 larb2: larb@15001000 { 547 compatible = "mediatek,mt2701-smi-larb"; 550 mediatek,larb-id = <2>; 588 larb1: larb@16010000 { 589 compatible = "mediatek,mt2701-smi-larb"; 592 mediatek,larb-id = <1>;
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8167.dtsi | 9 #include <dt-bindings/memory/mt8167-larb-port.h> 142 larb0: larb@14016000 { 143 compatible = "mediatek,mt8167-smi-larb"; 152 larb1: larb@15001000 { 153 compatible = "mediatek,mt8167-smi-larb"; 162 larb2: larb@16010000 { 163 compatible = "mediatek,mt8167-smi-larb";
|
H A D | mt8195.dtsi | 631 clock-names = "venc1-larb"; 695 clock-names = "venc0-larb"; 2186 larb4: larb@14013000 { 2187 compatible = "mediatek,mt8195-smi-larb"; 2189 mediatek,larb-id = <4>; 2229 larb7: larb@14e04000 { 2230 compatible = "mediatek,mt8195-smi-larb"; 2232 mediatek,larb-id = <7>; 2240 larb8: larb@14e05000 { 2241 compatible = "mediatek,mt8195-smi-larb"; [all …]
|
H A 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 …]
|
H A D | mt8192.dtsi | 12 #include <dt-bindings/memory/mt8192-larb-port.h> 1484 larb0: larb@14003000 { 1485 compatible = "mediatek,mt8192-smi-larb"; 1487 mediatek,larb-id = <0>; 1494 larb1: larb@14004000 { 1495 compatible = "mediatek,mt8192-smi-larb"; 1497 mediatek,larb-id = <1>; 1670 larb9: larb@1502e000 { 1671 compatible = "mediatek,mt8192-smi-larb"; 1673 mediatek,larb-id = <9>; [all …]
|
H A D | mt8365.dtsi | 747 larb0: larb@14003000 { 748 compatible = "mediatek,mt8365-smi-larb", 749 "mediatek,mt8186-smi-larb"; 756 mediatek,larb-id = <0>; 765 larb2: larb@15001000 { 766 compatible = "mediatek,mt8365-smi-larb", 767 "mediatek,mt8186-smi-larb"; 774 mediatek,larb-id = <2>; 783 larb3: larb@16010000 { 784 compatible = "mediatek,mt8365-smi-larb", [all …]
|
H A D | mt8186.dtsi | 1002 clock-names = "vdec0", "larb"; 1072 clock-names = "venc0", "subsys-larb"; 1083 "subsys-larb-ck", 1084 "subsys-larb-pclk"; 1794 compatible = "mediatek,mt8186-smi-larb"; 1799 mediatek,larb-id = <0>; 1805 compatible = "mediatek,mt8186-smi-larb"; 1810 mediatek,larb-id = <1>; 1968 compatible = "mediatek,mt8186-smi-larb"; 1973 mediatek,larb-id = <8>; [all …]
|
H A D | mt6795.dtsi | 13 #include <dt-bindings/memory/mt6795-larb-port.h> 937 larb0: larb@14021000 { 938 compatible = "mediatek,mt6795-smi-larb"; 943 mediatek,larb-id = <0>; 962 larb2: larb@15001000 { 963 compatible = "mediatek,mt6795-smi-larb"; 968 mediatek,larb-id = <2>; 978 larb1: larb@16010000 { 979 compatible = "mediatek,mt6795-smi-larb"; 982 mediatek,larb-id = <1>; [all …]
|
H A D | mt8173.dtsi | 10 #include <dt-bindings/memory/mt8173-larb-port.h> 1290 larb0: larb@14021000 { 1291 compatible = "mediatek,mt8173-smi-larb"; 1348 larb4: larb@14027000 { 1349 compatible = "mediatek,mt8173-smi-larb"; 1364 larb2: larb@15001000 { 1365 compatible = "mediatek,mt8173-smi-larb"; 1434 larb1: larb@16010000 { 1435 compatible = "mediatek,mt8173-smi-larb"; 1450 larb3: larb@18001000 { [all …]
|
H A D | mt8183.dtsi | 12 #include <dt-bindings/memory/mt8183-larb-port.h> 1860 larb0: larb@14017000 { 1861 compatible = "mediatek,mt8183-smi-larb"; 1896 larb5: larb@15021000 { 1897 compatible = "mediatek,mt8183-smi-larb"; 1906 larb2: larb@1502f000 { 1907 compatible = "mediatek,mt8183-smi-larb"; 1952 larb1: larb@16010000 { 1953 compatible = "mediatek,mt8183-smi-larb"; 1967 larb4: larb@17010000 { [all …]
|
/linux/drivers/iommu/ |
H A 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() 480 /* Link the consumer device with the smi-larb device(supplier) */ in mtk_iommu_v1_probe_device() 488 dev_err(dev, "Can only use one larb. Fail@larb%d-%d.\n", in mtk_iommu_v1_probe_device()
|
H A D | mtk_iommu.c | 221 * The index is the same as iova_region and larb port numbers are 223 * For example, storing BIT(0) at index 2,1 means "larb 1, port0 is in region 2". 511 "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() 574 dev_err(dev, "Can NOT find the region for larb(%d-%x).\n", in mtk_iommu_get_iova_region_id() 596 /* All ports should be in the same larb. just use 0 here */ in mtk_iommu_config() 604 dev_dbg(dev, "%s iommu for larb(%s) port 0x%lx region %d rgn-bank %d.\n", in mtk_iommu_config() 875 * Link the consumer device with the smi-larb device(supplier). in mtk_iommu_probe_device() 876 * The device that connects with each a larb is a independent HW. in mtk_iommu_probe_device() 886 dev_err(dev, "Can only use one larb. Fail@larb%d-%d.\n", in mtk_iommu_probe_device() 1156 ret = of_property_read_u32(larbnode, "mediatek,larb-id", &id); in mtk_iommu_mm_dts_parse() [all …]
|
/linux/Documentation/devicetree/bindings/media/ |
H A 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 201 #include <dt-bindings/memory/mt8192-larb-port.h>
|
H A D | mediatek-jpeg-encoder.yaml | 63 #include <dt-bindings/memory/mt2701-larb-port.h>
|
H A D | mediatek-jpeg-decoder.yaml | 68 #include <dt-bindings/memory/mt2701-larb-port.h>
|
H A D | mediatek,mdp3-wrot.yaml | 77 #include <dt-bindings/memory/mt8183-larb-port.h>
|
/linux/Documentation/devicetree/bindings/soc/mediatek/ |
H A D | mediatek,wdma.yaml | 70 #include <dt-bindings/memory/mt8183-larb-port.h>
|