<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpio, branch v2.6.36</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.36</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.36'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2010-09-10T01:57:24Z</updated>
<entry>
<title>gpio: sx150x: correct and refine reset-on-probe behavior</title>
<updated>2010-09-10T01:57:24Z</updated>
<author>
<name>Gregory Bean</name>
<email>gbean@codeaurora.org</email>
</author>
<published>2010-09-09T23:38:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5affb607720d734ca572b8a77c5c7d62d3042b6f'/>
<id>urn:sha1:5affb607720d734ca572b8a77c5c7d62d3042b6f</id>
<content type='text'>
Replace the arbitrary software-reset call from the device-probe
method, because:

- It is defective.  To work correctly, it should be two byte writes,
  not a single word write.  As it stands, it does nothing.

- Some devices with sx150x expanders installed have their NRESET pins
  ganged on the same line, so resetting one causes the others to reset -
  not a nice thing to do arbitrarily!

- The probe, usually taking place at boot, implies a recent hard-reset,
  so a software reset at this point is just a waste of energy anyway.

Therefore, make it optional, defaulting to off, as this will match the
common case of probing at powerup and also matches the current broken
no-op behavior.

Signed-off-by: Gregory Bean &lt;gbean@codeaurora.org&gt;
Reviewed-by: Jean Delvare &lt;khali@linux-fr.org&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>gpiolib: Implement set_debounce for WM831x GPIOs</title>
<updated>2010-08-12T09:27:57Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2010-07-03T13:40:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b12c35e22d102172cd2a69581f939ec9a70a7942'/>
<id>urn:sha1:b12c35e22d102172cd2a69581f939ec9a70a7942</id>
<content type='text'>
The debounce times are approximate, they can be selected using the two
input functions.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>gpio: Add STMPE GPIO driver</title>
<updated>2010-08-12T09:27:55Z</updated>
<author>
<name>Rabin Vincent</name>
<email>rabin.vincent@stericsson.com</email>
</author>
<published>2010-07-02T11:22:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=03f822f5e5f5924f4ad372d3e698855c6a9275e0'/>
<id>urn:sha1:03f822f5e5f5924f4ad372d3e698855c6a9275e0</id>
<content type='text'>
Add support for the GPIOs on STMPE I/O Expanders.

[l.fu@pengutronix.de: fix set direction input]
[l.fu@pengutronix.de: set GPIO alternate function while requesting]
Acked-by: Luotao Fu &lt;l.fu@pengutronix.de&gt;
Acked-by: Linus Walleij &lt;linus.walleij@stericsson.com&gt;
Signed-off-by: Rabin Vincent &lt;rabin.vincent@stericsson.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>gpio: sx150x: add Semtech I2C sx150x gpio expander driver</title>
<updated>2010-08-11T15:59:09Z</updated>
<author>
<name>Gregory Bean</name>
<email>gbean@codeaurora.org</email>
</author>
<published>2010-08-11T01:02:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c34f16b70a52e348a62944fe0d5c7c1eb9ad5b72'/>
<id>urn:sha1:c34f16b70a52e348a62944fe0d5c7c1eb9ad5b72</id>
<content type='text'>
Add support for Semtech SX150-series I2C GPIO expanders.  Compatible
models include:

8 bits:  sx1508q
16 bits: sx1509q

Signed-off-by: Gregory Bean &lt;gbean@codeaurora.org&gt;
Cc: David Brownell &lt;david-b@pacbell.net&gt;
Cc: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Trilok Soni &lt;tsoni@codeaurora.org&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>gpiolib: allow nested threaded irqs for poll(2)</title>
<updated>2010-08-11T15:59:09Z</updated>
<author>
<name>Daniel Gl?ckner</name>
<email>dg@emlix.com</email>
</author>
<published>2010-08-11T01:02:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=364fadb32b67695cec610f5cd03df2514ef0f2b0'/>
<id>urn:sha1:364fadb32b67695cec610f5cd03df2514ef0f2b0</id>
<content type='text'>
The pca953x driver requires the use of threaded irqs as its irq
demultiplexer can sleep.  Our irq handler can be called from any context,
so use request_any_context_irq to allow threaded irqs as well.

Signed-off-by: Daniel Gl?ckner &lt;dg@emlix.com&gt;
Reported-by: Ian Jeffray &lt;ian@jeffray.co.uk&gt;
Cc: David Brownell &lt;david-b@pacbell.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>gpiolib: get rid of struct poll_desc and worklet</title>
<updated>2010-08-11T15:59:08Z</updated>
<author>
<name>Daniel Gl?ckner</name>
<email>dg@emlix.com</email>
</author>
<published>2010-08-11T01:02:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5ba1821d1b4a506f8c9be93d962f22b24b6140a5'/>
<id>urn:sha1:5ba1821d1b4a506f8c9be93d962f22b24b6140a5</id>
<content type='text'>
As sysfs_notify_dirent has been made irq safe, there is no reason to not
call it directly from irq.  With the work_struct removed, the remaining
element in poll_desc is a sysfs_dirent pointer which may not be NULL.  We
can therefore store it directly in the idr and pass it as context to the
irq handler.

Most part of the patch deals with renaming defines and variables to
reflect their new use without functional change.

I also took the opportunity to initialize the idr statically.

Signed-off-by: Daniel Gl?ckner &lt;dg@emlix.com&gt;
Cc: David Brownell &lt;david-b@pacbell.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>gpiolib: decouple might_sleep_if() from DEBUG</title>
<updated>2010-08-11T15:59:08Z</updated>
<author>
<name>David Brownell</name>
<email>dbrownell@users.sourceforge.net</email>
</author>
<published>2010-08-11T01:02:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9c4ba9466117b16a2b85034bb87db528aaeb3f07'/>
<id>urn:sha1:9c4ba9466117b16a2b85034bb87db528aaeb3f07</id>
<content type='text'>
Be more consistent about runtime programming interface abuse warnings,
which can reduce some confusion and trigger bugfixes.  Based on an
observation and patch from Jani Nikula.

Also update doc to highlight some sleeping-call issues and to match some
recent changes.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: Jani Nikula &lt;ext-jani.1.nikula@nokia.com&gt;
Cc: "Ryan Mallon" &lt;ryan@bluewatersys.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>pcf857x: support working w/o platform data</title>
<updated>2010-08-11T15:59:08Z</updated>
<author>
<name>Dmitry Eremin-Solenikov</name>
<email>dbaryshkov@gmail.com</email>
</author>
<published>2010-08-11T01:02:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=49946f68149a723659eca253376ac555d4b73280'/>
<id>urn:sha1:49946f68149a723659eca253376ac555d4b73280</id>
<content type='text'>
Provide sane defaults for pcf857x, so the driver can be used w/o providing
platform data (and thus can be simply bound via OF tree).

Signed-off-by: Dmitry Eremin-Solenikov &lt;dbaryshkov@gmail.com&gt;
Cc: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: David Brownell &lt;david-b@pacbell.net&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&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>gpio: max730x: make pullups configurable via platformdata</title>
<updated>2010-08-11T15:59:08Z</updated>
<author>
<name>Marc Kleine-Budde</name>
<email>mkl@pengutronix.de</email>
</author>
<published>2010-08-11T01:02:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4a22b8a4ad5561436b16f5278d2f9e406ffb8705'/>
<id>urn:sha1:4a22b8a4ad5561436b16f5278d2f9e406ffb8705</id>
<content type='text'>
The gpios on the max730x chips have support for internal pullups while in
input mode.

This patch adds support for configuring these pullups via platform data.
A new member ("input_pullup_active") to the platform data struct is
introduced.  A set bit in this variable activates the pullups while the
respective port is in input mode.  This is a compatible enhancement since
unset bits lead to disables pullups which was the default in the original
driver.

_Note_: the 4 lowest bits in "input_pullup_active" are unused because the
first 4 ports of the controller are not used, too.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Reviewed-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Cc: David Brownell &lt;david-b@pacbell.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>Merge branch 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6</title>
<updated>2010-08-05T22:57:35Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2010-08-05T22:57:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=03c0c29aff7e56b722eb6c47eace222b140d0377'/>
<id>urn:sha1:03c0c29aff7e56b722eb6c47eace222b140d0377</id>
<content type='text'>
* 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6: (63 commits)
  of/platform: Register of_platform_drivers with an "of:" prefix
  of/address: Clean up function declarations
  of/spi: call of_register_spi_devices() from spi core code
  of: Provide default of_node_to_nid() implementation.
  of/device: Make of_device_make_bus_id() usable by other code.
  of/irq: Fix endian issues in parsing interrupt specifiers
  of: Fix phandle endian issues
  of/flattree: fix of_flat_dt_is_compatible() to match the full compatible string
  of: remove of_default_bus_ids
  of: make of_find_device_by_node generic
  microblaze: remove references to of_device and to_of_device
  sparc: remove references to of_device and to_of_device
  powerpc: remove references to of_device and to_of_device
  of/device: Replace of_device with platform_device in includes and core code
  of/device: Protect against binding of_platform_drivers to non-OF devices
  of: remove asm/of_device.h
  of: remove asm/of_platform.h
  of/platform: remove all of_bus_type and of_platform_bus_type references
  of: Merge of_platform_bus_type with platform_bus_type
  drivercore/of: Add OF style matching to platform bus
  ...

Fix up trivial conflicts in arch/microblaze/kernel/Makefile due to just
some obj-y removals by the devicetree branch, while the microblaze
updates added a new file.
</content>
</entry>
</feed>
