linux/drivers/memory
Yong Wu 567e58cf96 memory: mtk-smi: Add bus_sel for mt8183
There are 2 mmu cells in a M4U HW. we could adjust some larbs entering
mmu0 or mmu1 to balance the bandwidth via the smi-common register
SMI_BUS_SEL(0x220)(Each larb occupy 2 bits).

In mt8183, For better performance, we switch larb1/2/5/7 to enter
mmu1 while the others still keep enter mmu0.

In mt8173 and mt2712, we don't get the performance issue,
Keep its default value(0x0), that means all the larbs enter mmu0.

Note: smi gen1(mt2701/mt7623) don't have this bus_sel.

And, the base of smi-common is completely different with smi_ao_base
of gen1, thus I add new variable for that.

CC: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: Evan Green <evgreen@chromium.org>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2019-08-30 15:57:27 +02:00
..
samsung memory: Convert to using %pOFn instead of device_node.name 2018-11-27 10:54:39 -06:00
tegra ARM: SoC-related driver updates 2019-07-19 17:13:56 -07:00
.gitignore memory: ti-emif-sram: move driver-specific asm-offset.h to drivers/memory/ 2019-07-17 10:25:10 +09:00
atmel-ebi.c memory: atmel-ebi: add sam9x60 EBI support 2019-03-21 16:45:04 +01:00
atmel-sdramc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 340 2019-06-05 17:37:07 +02:00
brcmstb_dpfe.c ARM: SoC-related driver updates 2019-07-19 17:13:56 -07:00
da8xx-ddrctl.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
emif-asm-offsets.c ARM: OMAP2+: Fix build when using split object directories 2018-04-18 10:07:13 -07:00
emif.c ARM: SoC-related driver updates 2019-07-19 17:13:56 -07:00
emif.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
fsl_ifc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
fsl-corenet-cf.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
jedec_ddr_data.c ARM: SoC-related driver updates 2019-07-19 17:13:56 -07:00
jedec_ddr.h ARM: SoC-related driver updates 2019-07-19 17:13:56 -07:00
jz4780-nemc.c The main MIPS changes for a pretty light v5.3 cycle, including: 2019-07-17 09:42:03 -07:00
Kconfig ARM: SoC-related driver updates 2019-07-19 17:13:56 -07:00
Makefile Kbuild updates for v5.3 (2nd) 2019-07-20 09:34:55 -07:00
mtk-smi.c memory: mtk-smi: Add bus_sel for mt8183 2019-08-30 15:57:27 +02:00
mvebu-devbus.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 340 2019-06-05 17:37:07 +02:00
of_memory.c memory: move jedec_ddr.h from include/memory to drivers/memory/ 2019-06-17 04:45:21 -07:00
of_memory.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
omap-gpmc.c Bulk GPIO changes for the v5.3 kernel cycle: 2019-07-09 09:07:00 -07:00
pl172.c memory: pl172: add ARM PrimeCell PL176 MPMC support 2015-09-29 22:19:02 +02:00
pl353-smc.c memory: pl353: Add driver for arm pl353 static memory controller 2018-12-13 16:07:04 +01:00
ti-aemif.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ti-emif-pm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
ti-emif-sram-pm.S memory: ti-emif-sram: move driver-specific asm-offset.h to drivers/memory/ 2019-07-17 10:25:10 +09:00