linux/drivers/memory/tegra
Dmitry Osipenko 281462e593 memory: tegra124-emc: Make driver modular
Add modularization support to the Tegra124 EMC driver, which now can be
compiled as a loadable kernel module.

Note that EMC clock must be registered at clk-init time, otherwise PLLM
will be disabled as unused clock at boot time if EMC driver is compiled
as a module. Hence add a prepare/complete callbacks. similarly to what is
done for the Tegra20/30 EMC drivers.

Tested-by: Nicolas Chauvet <kwizart@gmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20201228154920.18846-2-digetx@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2021-01-05 18:00:09 +01:00
..
Kconfig memory: tegra124-emc: Make driver modular 2021-01-05 18:00:09 +01:00
Makefile memory: tegra: Add EMC scaling sequence code for Tegra210 2020-06-22 13:54:57 +02:00
mc.c memory: tegra30-emc: Make driver modular 2020-11-26 18:50:36 +01:00
mc.h memory: tegra-mc: Add interconnect framework 2020-11-26 18:50:35 +01:00
tegra20-emc.c memory: tegra20: Support hardware versioning and clean up OPP table initialization 2020-12-05 14:53:59 +01:00
tegra20.c memory: tegra20: Support interconnect framework 2020-11-26 18:50:36 +01:00
tegra30-emc.c memory: tegra30: Support interconnect framework 2020-12-05 14:54:36 +01:00
tegra30.c memory: tegra30: Support interconnect framework 2020-12-05 14:54:36 +01:00
tegra114.c memory: tegra: Add missing latency allowness entry for Page Table Cache 2020-11-26 18:50:35 +01:00
tegra124-emc.c memory: tegra124-emc: Make driver modular 2021-01-05 18:00:09 +01:00
tegra124.c memory: tegra: Add missing latency allowness entry for Page Table Cache 2020-11-26 18:50:35 +01:00
tegra186-emc.c memory: tegra186-emc: Simplify with dev_err_probe() 2020-09-02 17:22:56 +02:00
tegra186.c memory: tegra: Avoid unused function warnings 2020-06-22 13:54:58 +02:00
tegra210-emc-cc-r21021.c memory: tegra: Delete duplicated argument to '|' in function tegra210_emc_r21021_periodic_compensation 2020-09-09 09:00:22 +02:00
tegra210-emc-core.c memory: tegra: Add and use devm_tegra_memory_controller_get() 2020-11-26 18:50:29 +01:00
tegra210-emc-table.c memory: tegra: Support derated timings on Tegra210 2020-06-22 13:54:57 +02:00
tegra210-emc.h memory: tegra: Drop <linux/clk-provider.h> 2020-06-22 13:54:58 +02:00
tegra210-mc.h memory: tegra: Add EMC scaling support code for Tegra210 2020-06-22 13:54:57 +02:00
tegra210.c memory: tegra: Complete tegra210_swgroups 2020-11-26 18:50:37 +01:00