Thread (73 messages) 73 messages, 6 authors, 2012-05-14
STALE5159d

[PATCH 04/15] ARM: ux500: CONFIG: Compile in support for leds-gpio

From: Linus Walleij <hidden>
Date: 2012-05-10 11:25:48
Also in: linux-i2c

On Wed, May 9, 2012 at 12:23 PM, Lee Jones [off-list ref] wrote:
On 09/05/12 09:49, Linus Walleij wrote:
quoted
On Fri, May 4, 2012 at 8:23 PM, Lee Jones[off-list ref] ?wrote:
quoted
Code exists in the mop500 board file (used for HREF and
Snowball) to initialise Snowball's user LED via the
leds-gpio driver. However, the driver isn't currently
built when using the default configuration file. This
patch aims to change that behavior.

Signed-off-by: Lee Jones<redacted>
(...)
quoted
+CONFIG_LEDS_GPIO=y
?CONFIG_RTC_CLASS=y
?CONFIG_RTC_DRV_AB8500=y
?CONFIG_RTC_DRV_PL031=y

Why not just edit arch/arm/mach-ux500/Kconfig like this:

config MACH_SNOWBALL
? ? ? ? bool "U8500 Snowball platform"
? ? ? ? select MACH_MOP500
+ ? ? ? ?select LEDS_GPIO

I can do that. Is it not useful for any of the other platforms?
Thanks and oo, the others have dedicated LED controllers and does not use
GPIO for this.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help