mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 10:06:00 +07:00
ed1a2459e2
A proper External Memory Controller clock rounding and parent selection functionality is required by the EMC drivers, it is not available using the generic clock implementation because only the Memory Controller driver is aware of what clock rates are actually available for a particular device. EMC drivers will have to register a Tegra-specific CLK-API callback which will perform rounding of a requested rate. EMC clock users won't be able to request EMC clock by getting -EPROBE_DEFER until EMC driver is probed and the callback is set up. The functionality is somewhat similar to the clk-emc.c which serves Tegra124+ SoCs. The later HW generations support more parent clock sources and the HW configuration / integration with the EMC drivers differs a tad from the older gens, hence it's not really worth to try to squash everything into a single source file. Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Acked-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
31 lines
1.1 KiB
Makefile
31 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-y += clk.o
|
|
obj-y += clk-audio-sync.o
|
|
obj-y += clk-dfll.o
|
|
obj-y += clk-divider.o
|
|
obj-y += clk-periph.o
|
|
obj-y += clk-periph-fixed.o
|
|
obj-y += clk-periph-gate.o
|
|
obj-y += clk-pll.o
|
|
obj-y += clk-pll-out.o
|
|
obj-y += clk-sdmmc-mux.o
|
|
obj-y += clk-super.o
|
|
obj-y += clk-tegra-audio.o
|
|
obj-y += clk-tegra-periph.o
|
|
obj-y += clk-tegra-pmc.o
|
|
obj-y += clk-tegra-fixed.o
|
|
obj-y += clk-tegra-super-gen4.o
|
|
obj-$(CONFIG_TEGRA_CLK_EMC) += clk-emc.o
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += clk-tegra20.o
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += clk-tegra20-emc.o
|
|
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += clk-tegra30.o
|
|
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += clk-tegra20-emc.o
|
|
obj-$(CONFIG_ARCH_TEGRA_114_SOC) += clk-tegra114.o
|
|
obj-$(CONFIG_ARCH_TEGRA_124_SOC) += clk-tegra124.o
|
|
obj-$(CONFIG_TEGRA_CLK_DFLL) += clk-tegra124-dfll-fcpu.o
|
|
obj-$(CONFIG_ARCH_TEGRA_132_SOC) += clk-tegra124.o
|
|
obj-y += cvb.o
|
|
obj-$(CONFIG_ARCH_TEGRA_210_SOC) += clk-tegra210.o
|
|
obj-$(CONFIG_CLK_TEGRA_BPMP) += clk-bpmp.o
|
|
obj-y += clk-utils.o
|