From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] pl011: added clock management feature
Date: Tue, 9 Nov 2010 15:44:39 +0000 [thread overview]
Message-ID: <20101109154439.GA7973@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1289316637-7828-1-git-send-email-linus.walleij@stericsson.com>
On Tue, Nov 09, 2010 at 04:30:37PM +0100, Linus Walleij wrote:
> From: Grzegorz Sygieda <grzegorz.sygieda@tieto.com>
>
> This patch allows to control the pl011 clock using set_termios
> callback. Any positive baudrate passed enables clock, otherwise
> disables. This saves a lot of power on submicron designs since
> we can clock off and disable unused UARTs.
Why not just close the port to save power - the clock in that case will
automatically be turned off.
It's not like the port can be used without the baud rate correctly set -
or indeed characters transmitted or received without the clock running.
So all the time that the clock is disabled, the port is inoperable.
If you want to maintain the modem control line settings while the port
is closed, why not clear the HUPCL termios flag?
next prev parent reply other threads:[~2010-11-09 15:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-09 15:30 [PATCH] pl011: added clock management feature Linus Walleij
2010-11-09 15:44 ` Russell King - ARM Linux [this message]
2010-11-09 22:40 ` Greg KH
2010-11-10 0:01 ` Russell King - ARM Linux
2010-11-10 7:54 ` Grzegorz.Sygieda at tieto.com
2010-11-10 8:15 ` Grzegorz.Sygieda at tieto.com
2010-11-10 17:00 ` Greg KH
2010-11-10 17:11 ` Russell King - ARM Linux
2010-11-17 8:24 ` Grzegorz.Sygieda at tieto.com
2010-12-03 11:47 ` Vitaly Wool
2010-12-03 15:15 ` Russell King - ARM Linux
2010-12-06 9:53 ` Vitaly Wool
2010-12-06 10:14 ` Russell King - ARM Linux
2010-12-06 12:23 ` Par-Gunnar HJALMDAHL
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=20101109154439.GA7973@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).