All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joseph Lo <josephl@nvidia.com>
To: Thierry Reding <thierry.reding@gmail.com>,
	Jonathan Hunter <jonathanh@nvidia.com>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Thomas Gleixner <tglx@linutronix.de>
Cc: linux-tegra@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Joseph Lo <josephl@nvidia.com>
Subject: [PATCH V5 0/7] Add CPUidle support for Tegra210
Date: Fri, 1 Feb 2019 11:36:14 +0800	[thread overview]
Message-ID: <20190201033621.16814-1-josephl@nvidia.com> (raw)

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 V5:
 * Just resend this whole series again with timer and Tegra maintainers
   included

Fixed in V4:
 * merge timer-tegra210.c into timer-tegra20.c
 * add a new patch to select TEGRA_TIMER by default for Tegra210

Fixed in V3:
 * use timer-of API for Tegra210 timer driver

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 (7):
  dt-bindings: timer: add Tegra210 timer
  clocksource: tegra: add Tegra210 timer support
  soc/tegra: default select TEGRA_TIMER for Tegra210
  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                   |   2 +-
 drivers/clocksource/timer-tegra20.c           | 369 +++++++++++++-----
 drivers/soc/tegra/Kconfig                     |   1 +
 include/linux/cpuhotplug.h                    |   1 +
 8 files changed, 352 insertions(+), 103 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/timer/nvidia,tegra210-timer.txt

-- 
2.20.1

WARNING: multiple messages have this Message-ID (diff)
From: Joseph Lo <josephl@nvidia.com>
To: Thierry Reding <thierry.reding@gmail.com>,
	Jonathan Hunter <jonathanh@nvidia.com>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Thomas Gleixner <tglx@linutronix.de>
Cc: linux-tegra@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Joseph Lo <josephl@nvidia.com>
Subject: [PATCH V5 0/7] Add CPUidle support for Tegra210
Date: Fri, 1 Feb 2019 11:36:14 +0800	[thread overview]
Message-ID: <20190201033621.16814-1-josephl@nvidia.com> (raw)

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 V5:
 * Just resend this whole series again with timer and Tegra maintainers
   included

Fixed in V4:
 * merge timer-tegra210.c into timer-tegra20.c
 * add a new patch to select TEGRA_TIMER by default for Tegra210

Fixed in V3:
 * use timer-of API for Tegra210 timer driver

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 (7):
  dt-bindings: timer: add Tegra210 timer
  clocksource: tegra: add Tegra210 timer support
  soc/tegra: default select TEGRA_TIMER for Tegra210
  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                   |   2 +-
 drivers/clocksource/timer-tegra20.c           | 369 +++++++++++++-----
 drivers/soc/tegra/Kconfig                     |   1 +
 include/linux/cpuhotplug.h                    |   1 +
 8 files changed, 352 insertions(+), 103 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/timer/nvidia,tegra210-timer.txt

-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2019-02-01  3:36 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-01  3:36 Joseph Lo [this message]
2019-02-01  3:36 ` [PATCH V5 0/7] Add CPUidle support for Tegra210 Joseph Lo
2019-02-01  3:36 ` [PATCH V5 1/7] dt-bindings: timer: add Tegra210 timer Joseph Lo
2019-02-01  3:36   ` Joseph Lo
2019-02-01  3:36   ` Joseph Lo
2019-02-01  3:36 ` [PATCH V5 2/7] clocksource: tegra: add Tegra210 timer support Joseph Lo
2019-02-01  3:36   ` Joseph Lo
2019-02-01  3:36   ` Joseph Lo
2019-02-01 12:44   ` Jon Hunter
2019-02-01 12:44     ` Jon Hunter
2019-02-01 12:44     ` Jon Hunter
2019-02-01 14:39     ` Joseph Lo
2019-02-01 14:39       ` Joseph Lo
2019-02-01 14:39       ` Joseph Lo
2019-02-01 15:43       ` Jon Hunter
2019-02-01 15:43         ` Jon Hunter
2019-02-01 15:43         ` Jon Hunter
2019-02-01 15:49         ` Joseph Lo
2019-02-01 15:49           ` Joseph Lo
2019-02-01 15:49           ` Joseph Lo
2019-02-01 13:06   ` Dmitry Osipenko
2019-02-01 13:06     ` Dmitry Osipenko
2019-02-01 13:11     ` Dmitry Osipenko
2019-02-01 13:11       ` Dmitry Osipenko
2019-02-01 13:54       ` Jon Hunter
2019-02-01 13:54         ` Jon Hunter
2019-02-01 13:54         ` Jon Hunter
2019-02-01 14:13         ` Joseph Lo
2019-02-01 14:13           ` Joseph Lo
2019-02-01 14:13           ` Joseph Lo
2019-02-01 15:13           ` Dmitry Osipenko
2019-02-01 15:13             ` Dmitry Osipenko
2019-02-01 15:37             ` Joseph Lo
2019-02-01 15:37               ` Joseph Lo
2019-02-01 15:37               ` Joseph Lo
2019-02-01 18:08               ` Dmitry Osipenko
2019-02-01 18:08                 ` Dmitry Osipenko
2019-02-01 23:53                 ` Joseph Lo
2019-02-01 23:53                   ` Joseph Lo
2019-02-01 23:53                   ` Joseph Lo
2019-02-02 13:38                   ` Dmitry Osipenko
2019-02-02 13:38                     ` Dmitry Osipenko
2019-02-02 16:07                     ` Joseph Lo
2019-02-02 16:07                       ` Joseph Lo
2019-02-02 16:07                       ` Joseph Lo
2019-02-02 13:30               ` Dmitry Osipenko
2019-02-02 13:30                 ` Dmitry Osipenko
2019-02-02 16:04                 ` Joseph Lo
2019-02-02 16:04                   ` Joseph Lo
2019-02-01  3:36 ` [PATCH V5 3/7] soc/tegra: default select TEGRA_TIMER for Tegra210 Joseph Lo
2019-02-01  3:36   ` Joseph Lo
2019-02-01  3:36 ` [PATCH V5 4/7] arm64: dts: tegra210: fix timer node Joseph Lo
2019-02-01  3:36   ` Joseph Lo
2019-02-01  3:36 ` [PATCH V5 5/7] arm64: dts: tegra210: add CPU idle states properties Joseph Lo
2019-02-01  3:36   ` Joseph Lo
2019-02-01  3:36 ` [PATCH V5 6/7] arm64: dts: tegra210-p2180: Enable CPU idle support Joseph Lo
2019-02-01  3:36   ` Joseph Lo
2019-02-01  3:36 ` [PATCH V5 7/7] arm64: dts: tegra210-smaug: " Joseph Lo
2019-02-01  3:36   ` Joseph Lo
2019-02-01 12:49 ` [PATCH V5 0/7] Add CPUidle support for Tegra210 Jon Hunter
2019-02-01 12:49   ` Jon Hunter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190201033621.16814-1-josephl@nvidia.com \
    --to=josephl@nvidia.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=jonathanh@nvidia.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=tglx@linutronix.de \
    --cc=thierry.reding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.