]> git.baikalelectronics.ru Git - kernel.git/commit
memory: tegra: Support DVFS on Tegra186 and later
authorThierry Reding <treding@nvidia.com>
Sun, 22 Dec 2019 14:10:30 +0000 (15:10 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 9 Jan 2020 18:35:54 +0000 (19:35 +0100)
commit08e66629a215ac9fda4885593c655cc2b2495f4c
tree99319ea5760db5b44123ca3abea62167f48ba64b
parent131f8d2b598690640197617961e7aea7680b16b7
memory: tegra: Support DVFS on Tegra186 and later

Add a Tegra186 (and later) EMC driver that reads the EMC DVFS tables
from BPMP and uses the EMC clock to change the external memory clock.

This currently only provides a debugfs interface to show the available
frequencies and set lower and upper limits of the allowed range. This
can be used for testing the various frequencies. The goal is to
eventually integrate this with the interconnect framework so that the
EMC frequency can be scaled based on demand from memory clients.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/memory/tegra/Makefile
drivers/memory/tegra/tegra186-emc.c [new file with mode: 0644]
drivers/memory/tegra/tegra186.c