From: mturquette@linaro.org (Mike Turquette)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/4] arm: pxa: move gpio11 clock to board files
Date: Mon, 12 Jan 2015 15:51:17 -0800 [thread overview]
Message-ID: <20150112235117.20842.79524@quantum> (raw)
In-Reply-To: <1419688528-760-4-git-send-email-robert.jarzmik@free.fr>
Quoting Robert Jarzmik (2014-12-27 05:55:27)
> The pxa25x gpio11 clock output was previously selected on its pin by the
> clock enabling, toggling the pin function.
>
> As we transition to common clock framework, the pin function is moved to
> board file for the 2 users, ie. lubbock and eseries.
>
> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Reviewed-by: Michael Turquette <mturquette@linaro.org>
> ---
> arch/arm/mach-pxa/eseries.c | 5 ++++-
> arch/arm/mach-pxa/lubbock.c | 3 +++
> 2 files changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-pxa/eseries.c b/arch/arm/mach-pxa/eseries.c
> index cfb8641..d8fc9a3 100644
> --- a/arch/arm/mach-pxa/eseries.c
> +++ b/arch/arm/mach-pxa/eseries.c
> @@ -683,7 +683,7 @@ static unsigned long e750_pin_config[] __initdata = {
> /* PC Card */
> GPIO8_GPIO, /* CD0 */
> GPIO44_GPIO, /* CD1 */
> - GPIO11_GPIO, /* IRQ0 */
> + /* GPIO11_GPIO, IRQ0 */
> GPIO6_GPIO, /* IRQ1 */
> GPIO27_GPIO, /* RST0 */
> GPIO24_GPIO, /* RST1 */
> @@ -778,6 +778,9 @@ static unsigned long e800_pin_config[] __initdata = {
> GPIO29_AC97_SDATA_IN_0,
> GPIO30_AC97_SDATA_OUT,
> GPIO31_AC97_SYNC,
> +
> + /* tc6393xb */
> + GPIO11_3_6MHz,
> };
>
> static struct w100_gen_regs e800_lcd_regs = {
> diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c
> index d8a1be6..b742708 100644
> --- a/arch/arm/mach-pxa/lubbock.c
> +++ b/arch/arm/mach-pxa/lubbock.c
> @@ -101,6 +101,9 @@ static unsigned long lubbock_pin_config[] __initdata = {
> GPIO6_MMC_CLK,
> GPIO8_MMC_CS0,
>
> + /* SA1111 chip */
> + GPIO11_3_6MHz,
> +
> /* wakeup */
> GPIO1_GPIO | WAKEUP_ON_EDGE_RISE,
> };
> --
> 2.1.0
>
next prev parent reply other threads:[~2015-01-12 23:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-27 13:55 [PATCH 0/4] Transition of pxa25x and pxa27x to clock framework Robert Jarzmik
2014-12-27 13:55 ` [PATCH 1/4] arm: pxa: change clocks init sequence Robert Jarzmik
2015-01-12 23:48 ` Mike Turquette
2014-12-27 13:55 ` [PATCH 2/4] arm: pxa: Transition pxa25x and pxa27x to clk framework Robert Jarzmik
2015-01-12 23:50 ` Mike Turquette
2014-12-27 13:55 ` [PATCH 3/4] arm: pxa: move gpio11 clock to board files Robert Jarzmik
2015-01-12 23:51 ` Mike Turquette [this message]
2014-12-27 13:55 ` [PATCH 4/4] clk: pxa: add missing pxa27x clocks for Irda and sa1100-rtc Robert Jarzmik
2015-01-12 23:52 ` Mike Turquette
2015-01-16 12:42 ` Robert Jarzmik
2015-01-12 11:06 ` [PATCH 0/4] Transition of pxa25x and pxa27x to clock framework Robert Jarzmik
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=20150112235117.20842.79524@quantum \
--to=mturquette@linaro.org \
--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).