<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/leds/Kconfig, branch linux-3.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-07-26T03:57:15Z</updated>
<entry>
<title>drivers/leds/leds-netxbig: make LEDS_NETXBIG depend on LEDS_CLASS</title>
<updated>2011-07-26T03:57:15Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2011-07-26T00:13:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2504f6da50f4d9656cad353798bf07657ec12eea'/>
<id>urn:sha1:2504f6da50f4d9656cad353798bf07657ec12eea</id>
<content type='text'>
We call led_classdev_register/led_classdev_unregister in
create_netxbig_led/delete_netxbig_led, thus make LEDS_NETXBIG depend on
LEDS_CLASS.

This patch fixes below build error if LEDS_CLASS is not configured.

    LD      .tmp_vmlinux1
  drivers/built-in.o: In function `create_netxbig_led':
  drivers/leds/leds-netxbig.c:350: undefined reference to `led_classdev_register'
  drivers/leds/leds-netxbig.c:361: undefined reference to `led_classdev_unregister'
  drivers/built-in.o: In function `delete_netxbig_led':
  drivers/leds/leds-netxbig.c:313: undefined reference to `led_classdev_unregister'

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Acked-by: Simon Guinot &lt;sguinot@lacie.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'gpio/next' of git://git.secretlab.ca/git/linux-2.6</title>
<updated>2011-07-22T21:50:57Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2011-07-22T21:50:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c7c8518498e82591d7784452f5674c3aeb4d079c'/>
<id>urn:sha1:c7c8518498e82591d7784452f5674c3aeb4d079c</id>
<content type='text'>
* 'gpio/next' of git://git.secretlab.ca/git/linux-2.6: (61 commits)
  gpio/mxc/mxs: fix build error introduced by the irq_gc_ack() renaming
  mcp23s08: add i2c support
  mcp23s08: isolate spi specific parts
  mcp23s08: get rid of setup/teardown callbacks
  gpio/tegra: dt: add binding for gpio polarity
  mcp23s08: remove unused work queue
  gpio/da9052: remove a redundant assignment for gpio-&gt;da9052
  gpio/mxc: add device tree probe support
  ARM: mxc: use ARCH_NR_GPIOS to define gpio number
  gpio/mxc: get rid of the uses of cpu_is_mx()
  gpio/mxc: add missing initialization of basic_mmio_gpio shadow variables
  gpio: Move mpc5200 gpio driver to drivers/gpio
  GPIO: DA9052 GPIO module v3
  gpio/tegra: Use engineering names in DT compatible property
  of/gpio: Add new method for getting gpios under different property names
  gpio/dt: Refine GPIO device tree binding
  gpio/ml-ioh: fix off-by-one for displaying variable i in dev_err
  gpio/pca953x: Deprecate meaningless device-tree bindings
  gpio/pca953x: Remove dynamic platform data pointer
  gpio/pca953x: Fix IRQ support.
  ...
</content>
</entry>
<entry>
<title>leds: fix the incorrect display in menuconfig</title>
<updated>2011-06-16T03:04:01Z</updated>
<author>
<name>Eric Miao</name>
</author>
<published>2011-06-15T22:08:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=45d16f09ddd66597e561876f5652c05bf986360a'/>
<id>urn:sha1:45d16f09ddd66597e561876f5652c05bf986360a</id>
<content type='text'>
Seems when a config option does not have a dependency of the menuconfig,
it messes the display of the rest configs, even if it's a hidden one.

Signed-off-by: Eric Miao &lt;eric.y.miao@gmail.com&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Cc: Valdis Kletnieks &lt;Valdis.Kletnieks@vt.edu&gt;
Cc: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>leds: move LEDS_GPIO_REGISTER out of menuconfig NEW_LEDS</title>
<updated>2011-06-16T03:04:00Z</updated>
<author>
<name>Uwe Kleine-König</name>
</author>
<published>2011-06-15T22:08:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=be5ce2f1c93295711be4ae5565f9194ed9776ea7'/>
<id>urn:sha1:be5ce2f1c93295711be4ae5565f9194ed9776ea7</id>
<content type='text'>
Commit 4440673a95e6 ("leds: provide helper to register "leds-gpio"
devices") broke the display of the NEW_LEDS menu as it didn't depend on
NEW_LEDS and so made "LED drivers" and "LED Triggers" appear at the same
level as "LED Support" instead of below it as it was before 4440673a.

Moving LEDS_GPIO_REGISTER out of the menuconfig NEW_LEDS fixes this
unintended side effect.

Reported-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/leds/leds-asic3: make LEDS_ASIC3 depend on LEDS_CLASS</title>
<updated>2011-06-16T03:04:00Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2011-06-15T22:08:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9d8f776bfb812dd23fcdbb698e9ac4298fc3c624'/>
<id>urn:sha1:9d8f776bfb812dd23fcdbb698e9ac4298fc3c624</id>
<content type='text'>
We call led_classdev_unregister/led_classdev_register in
asic3_led_remove/asic3_led_probe, thus make LEDS_ASIC3 depend on
LEDS_CLASS.

This patch fixes below build error if LEDS_CLASS is not configured.

    LD      .tmp_vmlinux1
  drivers/built-in.o: In function `asic3_led_remove':
  clkdev.c:(.devexit.text+0x1860): undefined reference to `led_classdev_unregister'
  drivers/built-in.o: In function `asic3_led_probe':
  clkdev.c:(.devinit.text+0xcee8): undefined reference to `led_classdev_register'
  make: *** [.tmp_vmlinux1] Error 1

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Cc: Paul Parsons &lt;lost.distance@yahoo.com&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>leds: remove config option LEDS_GPIO_PLATFORM from Kconfig</title>
<updated>2011-06-03T18:14:16Z</updated>
<author>
<name>Shawn Guo</name>
</author>
<published>2011-05-31T08:23:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2bcc7ed5b83b0a59c6976476e8788675038fb11b'/>
<id>urn:sha1:2bcc7ed5b83b0a59c6976476e8788675038fb11b</id>
<content type='text'>
Since the commit a314c5c0040aab51ebb1ecfd37a9198a91962243
(leds/leds-gpio: merge platform_driver with of_platform_driver),
the config option LEDS_GPIO_PLATFORM becomes useless, so remove it.

Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
[grant.likely: also remove LEDS_GPIO_OF for same reason]
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>leds: Add ASIC3 LED support</title>
<updated>2011-05-26T17:45:46Z</updated>
<author>
<name>Paul Parsons</name>
</author>
<published>2011-05-13T18:52:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d9e7e9fbd3041a0596394579d800788bbf94939'/>
<id>urn:sha1:7d9e7e9fbd3041a0596394579d800788bbf94939</id>
<content type='text'>
Add LED support for the HTC ASIC3. Underlying support is provided by the mfd/asic3 and leds/leds-asic3 drivers. An example configuration is provided by the pxa/hx4700 platform.

Signed-off-by: Paul Parsons &lt;lost.distance@yahoo.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>leds: provide helper to register "leds-gpio" devices</title>
<updated>2011-05-25T15:39:51Z</updated>
<author>
<name>Uwe Kleine-König</name>
</author>
<published>2011-05-25T00:13:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4440673a95e63ad888a41db596edaa0c55d3a332'/>
<id>urn:sha1:4440673a95e63ad888a41db596edaa0c55d3a332</id>
<content type='text'>
This function makes a deep copy of the platform data to allow it to live
in init memory.  For a kernel that supports several machines and so
includes the definition for several leds-gpio devices this saves quite
some memory because all but one definition can be free'd after boot.

As the function is used by arch code it must be builtin and so cannot go
into leds-gpio.c.

[akpm@linux-foundation.org: s/CONFIG_LED_REGISTER_GPIO/CONFIG_LEDS_REGISTER_GPIO/]
Signed-off-by: Uwe Kleine-König  &lt;u.kleine-koenig@pengutronix.de&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Acked-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Cc: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Cc: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Tested-by: H Hartley Sweeten &lt;hartleys@visionengravers.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>leds: remove the leds-h1940 driver</title>
<updated>2011-05-25T15:39:51Z</updated>
<author>
<name>Vasily Khoruzhick</name>
</author>
<published>2011-05-25T00:13:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=402f758813f5b3c21de36e9f720aacc8972ca94e'/>
<id>urn:sha1:402f758813f5b3c21de36e9f720aacc8972ca94e</id>
<content type='text'>
The H1940 machine now uses leds-gpio and leds-h1940 has no users anymore.

Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Cc: "Arnaud Patard (Rtp)" &lt;arnaud.patard@rtp-net.org&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/leds/leds-pca9532.c: add gpio capability</title>
<updated>2011-05-25T15:39:50Z</updated>
<author>
<name>Joachim Eastwood</name>
</author>
<published>2011-05-25T00:13:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3c1ab50d0a31b27bb4e55168f4901dd91e6e5ea4'/>
<id>urn:sha1:3c1ab50d0a31b27bb4e55168f4901dd91e6e5ea4</id>
<content type='text'>
Allow unused leds on pca9532 to be used as gpio.  The board I am working
on now has no less than 6 pca9532 chips.  One chips is used for only leds,
one has 14 leds and 2 gpio and the rest of the chips are gpio only.

There is also one board in mainline which could use this capabilty;
arch/arm/mach-iop32x/n2100.c
 232         {       .type = PCA9532_TYPE_NONE }, /* power OFF gpio */
 233         {       .type = PCA9532_TYPE_NONE }, /* reset gpio */

This patch defines a new pin type, PCA9532_TYPE_GPIO, and registers a
gpiochip if any pin has this type set.  The gpio will registers all chip
pins but will filter on gpio_request.

[randy.dunlap@oracle.com: fix build when GPIOLIB is not enabled]
Signed-off-by: Joachim Eastwood &lt;joachim.eastwood@jotron.com&gt;
Reviewed-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Reviewed-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Cc: Jan Weitzel &lt;j.weitzel@phytec.de&gt;
Cc: Juergen Kilb &lt;j.kilb@phytec.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
