From: Dmitry Osipenko Subject: [PATCH v2 0/7] NVIDIA Tegra clocksource improvements and clean up Date: Sun, 5 May 2019 19:24:29 +0300 Message-ID: <20190505162436.23125-1-digetx@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: Sender: linux-kernel-owner@vger.kernel.org To: Daniel Lezcano , Thomas Gleixner , Joseph Lo , Thierry Reding , Jonathan Hunter , Peter De Schrijver Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-tegra@vger.kernel.org Hello, This series primarily unifies the driver code across all Tegra SoC generations. In a result the clocksources are allocated per-CPU on older Tegra's and have a higher rating than the arch-timer, the newer Tegra210 is getting support for microsecond clocksource / delay-timer and the driver's code is getting much cleaner. Note that arch-timer usage is discouraged on all Tegra's due to the time jitter caused by the CPU frequency scaling. The series was extensively tested on Tegra20 and Tegra30. Changelog: v2: Rebased on recent linux-next. Now all of #ifdef's are removed from the code due to the recent patch that generalized persistent clocksource. Couple other minor cosmetic changes. Dmitry Osipenko (7): clocksource/drivers/tegra: Support per-CPU timers on all Tegra's clocksource/drivers/tegra: Unify timer code clocksource/drivers/tegra: Reset hardware state on init clocksource/drivers/tegra: Replace readl/writel with relaxed versions clocksource/drivers/tegra: Release all IRQ's on request_irq() error clocksource/drivers/tegra: Minor code clean up clocksource/drivers/tegra: Use SPDX identifier drivers/clocksource/timer-tegra20.c | 272 +++++++++++++--------------- 1 file changed, 121 insertions(+), 151 deletions(-) -- 2.21.0