[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMPhdO8uDYpzDEJyyuavUKg9M-LCN_fwdYHzoA9YYtCS+JWpaA@mail.gmail.com>
Date: Sat, 8 Oct 2011 17:59:33 +0800
From: Eric Miao <eric.y.miao@...il.com>
To: Arnd Bergmann <arnd@...db.de>, Daniel Mack <zonque@...il.com>
Cc: Russell King - ARM Linux <linux@....linux.org.uk>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Jason Chagas <jason.chagas@...vell.com>,
Haojian Zhuang <haojian.zhuang@...vell.com>
Subject: Re: [PATCH 21/26] ARM: pxa: select POWER_SUPPLY on raumfeld
On Sun, Oct 2, 2011 at 4:03 AM, Arnd Bergmann <arnd@...db.de> wrote:
> The raumfeld platform code calls power_supply_set_battery_charged
> which is part of the power supply layer, so that always has
> to be enabled.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
A better way might be for the raumfeld board file to compile the code
based on whether POWER_SUPPLY is selected. However, the power supply
code for raumfeld is a bit difficult to separate indeed, let's merge this
before that happens.
Daniel?
> ---
> arch/arm/mach-pxa/Kconfig | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig
> index cd94f2f..491c522 100644
> --- a/arch/arm/mach-pxa/Kconfig
> +++ b/arch/arm/mach-pxa/Kconfig
> @@ -453,15 +453,18 @@ config MACH_RAUMFELD_RC
> bool "Raumfeld Controller"
> select PXA3xx
> select CPU_PXA300
> + select POWER_SUPPLY
> select HAVE_PWM
>
> config MACH_RAUMFELD_CONNECTOR
> bool "Raumfeld Connector"
> + select POWER_SUPPLY
> select PXA3xx
> select CPU_PXA300
>
> config MACH_RAUMFELD_SPEAKER
> bool "Raumfeld Speaker"
> + select POWER_SUPPLY
> select PXA3xx
> select CPU_PXA300
>
> --
> 1.7.5.4
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists