Linux-Rockchip Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Zhong <zyw@rock-chips.com>
To: heiko@sntech.de, dianders@chromium.org
Cc: linux-rockchip@lists.infradead.org, sonnyrao@chromium.org,
	amstan@google.com, dtor@google.com,
	Chris Zhong <zyw@rock-chips.com>,
	Russell King <linux@arm.linux.org.uk>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/2] add support holding 24Mhz osc during suspend
Date: Sun, 21 Jun 2015 18:00:45 +0800	[thread overview]
Message-ID: <1434880847-29505-1-git-send-email-zyw@rock-chips.com> (raw)

Since the usb-phy clocks are not connected to the 32khz clock-in, they
only have 24Mhz as the clock source. If we want to wake up system via
usb device, we should hold the 24Mhz osc during suspend.
This Patch has tested on chromebook jerry board, with another patch[0],
we can wakeup system via usb keyboard.

[0] https://chromium-review.googlesource.com/#/c/277811/3


Chris Zhong (2):
  ARM: rockchip: add support holding 24Mhz osc during suspend
  ARM: rockchip: remove some useless macro in pm.h

 arch/arm/mach-rockchip/pm.c | 38 ++++++++++++++++++++++++++++++++++++--
 arch/arm/mach-rockchip/pm.h |  7 -------
 2 files changed, 36 insertions(+), 9 deletions(-)

-- 
1.9.1

             reply	other threads:[~2015-06-21 10:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-21 10:00 Chris Zhong [this message]
2015-06-21 10:00 ` [PATCH v2 1/2] ARM: rockchip: add support holding 24Mhz osc during suspend Chris Zhong
2015-06-22 20:04   ` Doug Anderson
2015-06-22 21:01     ` Heiko Stübner
2015-06-21 10:00 ` [PATCH v2 2/2] ARM: rockchip: remove some useless macro in pm.h Chris Zhong
2015-06-22 19:59   ` Doug Anderson

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=1434880847-29505-1-git-send-email-zyw@rock-chips.com \
    --to=zyw@rock-chips.com \
    --cc=amstan@google.com \
    --cc=dianders@chromium.org \
    --cc=dtor@google.com \
    --cc=heiko@sntech.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=linux@arm.linux.org.uk \
    --cc=sonnyrao@chromium.org \
    /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