linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Zhaoyang Huang <zhaoyang.huang@linaro.org>
To: linux-pm@vger.kernel.org
Cc: amit.kucheria@linaro.org, sudeep.holla@arm.com
Subject: [PATCH v4 2/2] add property of "linux,wakeup" for juno.dts
Date: Wed, 16 Sep 2015 14:47:00 +0800	[thread overview]
Message-ID: <1442386021-5113-2-git-send-email-zhaoyang.huang@linaro.org> (raw)
In-Reply-To: <1442386021-5113-1-git-send-email-zhaoyang.huang@linaro.org>

add property of "linux,wakeup" to let the driver know
if the device should work as wakeup source

Signed-off-by: Zhaoyang Huang <zhaoyang.huang@linaro.org>
---
 Documentation/devicetree/bindings/serial/pl011.txt |    3 ++-
 arch/arm64/boot/dts/arm/juno-base.dtsi             |    1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/serial/pl011.txt b/Documentation/devicetree/bindings/serial/pl011.txt
index cbae3d9..609e8e9 100644
--- a/Documentation/devicetree/bindings/serial/pl011.txt
+++ b/Documentation/devicetree/bindings/serial/pl011.txt
@@ -35,7 +35,8 @@ Optional properties:
 - poll-timeout-ms:
 	   Poll timeout when auto-poll is set, default
 	   3000ms.
-
+- linux,wakeup:
+	   set the pl011 work as wakeup source for suspend to ram/idle
 See also bindings/arm/primecell.txt
 
 Example:
diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi
index a3d5a77..f7bb150 100644
--- a/arch/arm64/boot/dts/arm/juno-base.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-base.dtsi
@@ -152,6 +152,7 @@
 		interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&soc_uartclk>, <&soc_refclk100mhz>;
 		clock-names = "uartclk", "apb_pclk";
+		linux,wakeup;
 	};
 
 	i2c@7ffa0000 {
-- 
1.7.9.5


  reply	other threads:[~2015-09-16  6:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-16  6:46 [PATCH v4 1/2] modify pl011 driver to let it work as wakeup source Zhaoyang Huang
2015-09-16  6:47 ` Zhaoyang Huang [this message]
2015-09-16  8:41   ` [PATCH v4 2/2] add property of "linux,wakeup" for juno.dts Sudeep Holla
     [not found]     ` <CAN2waFukpBgLM-NawcyqRMEbqC_v3VVoPSP=j0sJ6tJ1vMikqw@mail.gmail.com>
2015-09-16  8:59       ` Sudeep Holla

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=1442386021-5113-2-git-send-email-zhaoyang.huang@linaro.org \
    --to=zhaoyang.huang@linaro.org \
    --cc=amit.kucheria@linaro.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=sudeep.holla@arm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).