]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ARM: tegra: Add ACTMON support on Tegra30
authorDmitry Osipenko <digetx@gmail.com>
Thu, 11 Apr 2019 22:30:42 +0000 (01:30 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 18 Apr 2019 09:37:46 +0000 (11:37 +0200)
Add support for ACTMON on Tegra30. This is used to monitor activity from
different components. Based on the collected statistics, the rate at
which the external memory needs to be clocked can be derived.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra30.dtsi

index d2b553f76719070e58284a49c3b62fd2c0c491be..e074258d451836c65276d79d693e1192e4b2ec65 100644 (file)
                reg = <0x6000c000 0x150>; /* AHB Arbitration + Gizmo Controller */
        };
 
+       actmon@6000c800 {
+               compatible = "nvidia,tegra30-actmon";
+               reg = <0x6000c800 0x400>;
+               interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&tegra_car TEGRA30_CLK_ACTMON>,
+                        <&tegra_car TEGRA30_CLK_EMC>;
+               clock-names = "actmon", "emc";
+               resets = <&tegra_car TEGRA30_CLK_ACTMON>;
+               reset-names = "actmon";
+       };
+
        gpio: gpio@6000d000 {
                compatible = "nvidia,tegra30-gpio";
                reg = <0x6000d000 0x1000>;