]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: tegra: Let the EMC hardware use the EMC clock
authorThierry Reding <treding@nvidia.com>
Sun, 22 Dec 2019 11:39:18 +0000 (12:39 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 9 Jan 2020 18:06:16 +0000 (19:06 +0100)
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>
arch/arm/boot/dts/tegra124.dtsi

index 413bfb981de8ca992bffdfc557d0ec72745478c3..a01092b6d26de4d1d8f737e6634b1ae28ff72ded 100644 (file)
        emc: emc@7001b000 {
                compatible = "nvidia,tegra124-emc";
                reg = <0x0 0x7001b000 0x0 0x1000>;
+               clocks = <&tegra_car TEGRA124_CLK_EMC>;
+               clock-names = "emc";
 
                nvidia,memory-controller = <&mc>;
        };