From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Lo Subject: [PATCH V2 0/6] Add CPUidle support for Tegra210 Date: Mon, 28 Jan 2019 17:18:09 +0800 Message-ID: <20190128091815.7040-1-josephl@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Thierry Reding , Jonathan Hunter Cc: linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Joseph Lo List-Id: linux-tegra@vger.kernel.org This patch series adds CPUidle support for Tegra210, which supports power-down state (C7) for CPU cores. And due to arch timer cannot work across CPU core power-down and power on reset signal event. We introduce Tegra210 timer driver to work as clock event device. So it can be the wake-up source of CPU cores when they idled in the power-down state. Fixed in V2: * list all the timer IRQs in the binding doc and dts file * add error clean-up code in timer driver * add entry-latency-us and exit-latency-us properties for idle-states DT node Joseph Lo (6): dt-bindings: timer: add Tegra210 timer clocksource: tegra: add Tegra210 timer driver arm64: dts: tegra210: fix timer node arm64: dts: tegra210: add CPU idle states properties arm64: dts: tegra210-p2180: Enable CPU idle support arm64: dts: tegra210-smaug: Enable CPU idle support .../bindings/timer/nvidia,tegra210-timer.txt | 36 +++ .../arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 6 + arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 7 + arch/arm64/boot/dts/nvidia/tegra210.dtsi | 33 ++- drivers/clocksource/Kconfig | 3 + drivers/clocksource/Makefile | 1 + drivers/clocksource/timer-tegra210.c | 268 ++++++++++++++++++ include/linux/cpuhotplug.h | 1 + 8 files changed, 352 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/timer/nvidia,tegra210-timer.txt create mode 100644 drivers/clocksource/timer-tegra210.c -- 2.20.1