diff options
author | Thierry Reding <treding@nvidia.com> | 2019-12-22 14:39:19 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2020-01-09 21:06:39 +0300 |
commit | 0bab86abe5b8c0c9491d44074d8abb012aa256e3 (patch) | |
tree | cd1fc59bd0b1b6a0d4032a823516e508e6a3afe4 | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) | |
download | linux-0bab86abe5b8c0c9491d44074d8abb012aa256e3.tar.xz |
arm64: tegra: Let the EMC hardware use the EMC clock
The EMC hardware block needs access to the EMC clock in order to scale
the external memory frequency. Add the clocks property so that drivers
for the EMC can acquire a reference to the EMC clock.
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | arch/arm64/boot/dts/nvidia/tegra132.dtsi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/nvidia/tegra132.dtsi b/arch/arm64/boot/dts/nvidia/tegra132.dtsi index 631a7f77c386..a2c25176710a 100644 --- a/arch/arm64/boot/dts/nvidia/tegra132.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra132.dtsi @@ -607,6 +607,8 @@ emc: emc@7001b000 { compatible = "nvidia,tegra132-emc", "nvidia,tegra124-emc"; reg = <0x0 0x7001b000 0x0 0x1000>; + clocks = <&tegra_car TEGRA124_CLK_EMC>; + clock-names = "emc"; nvidia,memory-controller = <&mc>; }; |