<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/arch/arm/mach-davinci/gpio.c, branch v3.10.81</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.10.81</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.10.81'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2011-08-22T08:12:55+00:00</updated>
<entry>
<title>ARM: 7038/1: mach-davinci: move GPIO driver to GPIO subsystem</title>
<updated>2011-08-22T08:12:55+00:00</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2011-08-22T07:39:28+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=8338d87fea2c001b4f5a07f9217df89956d1fddd'/>
<id>urn:sha1:8338d87fea2c001b4f5a07f9217df89956d1fddd</id>
<content type='text'>
As per example from the other ARM boards, push the DaVinci GPIO
driver down to the GPIO subsystem so it can be consolidated.

Cc: Sekhar Nori &lt;nsekhar@ti.com&gt;
Cc: Kevin Hilman &lt;khilman@ti.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: gpio: convert includes of mach/gpio.h and asm/gpio.h to linux/gpio.h</title>
<updated>2011-08-08T13:27:41+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@arm.linux.org.uk</email>
</author>
<published>2011-07-26T09:53:52+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=2f8163baada3dbd0ce891c35bc59ae46e773487a'/>
<id>urn:sha1:2f8163baada3dbd0ce891c35bc59ae46e773487a</id>
<content type='text'>
Convert arch/arm includes of mach/gpio.h and asm/gpio.h to linux/gpio.h
before we start consolidating the individual platform implementations
of the gpio header files.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>arm: davinci: Fix low level gpio irq handlers' argument</title>
<updated>2011-07-12T08:51:43+00:00</updated>
<author>
<name>Ido Yariv</name>
<email>ido@wizery.com</email>
</author>
<published>2011-07-11T21:03:11+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=f299bb9527abfa6ee45a5e26288b5e3a619f01d6'/>
<id>urn:sha1:f299bb9527abfa6ee45a5e26288b5e3a619f01d6</id>
<content type='text'>
Commit 7416401 ("arm: davinci: Fix fallout from generic irq chip
conversion") introduced a bug, causing low level interrupt handlers to
get a bogus irq number as an argument. The gpio irq handler falsely
assumes that the handler data is the irq base number and that is no
longer true.

Set the irq handler data to be a pointer to the corresponding gpio
controller. The chained irq handler can then use it to extract both the
irq base number and the gpio registers structure.

Signed-off-by: Ido Yariv &lt;ido@wizery.com&gt;
CC: Thomas Gleixner &lt;tglx@linutronix.de&gt;
[nsekhar@ti.com: renamed "ctl" to "d", simplified indexing logic for chips and
took care of odd bank handling in irq handler]
Signed-off-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
</content>
</entry>
<entry>
<title>arm: davinci: Fix fallout from generic irq chip conversion</title>
<updated>2011-06-08T09:03:52+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2011-06-06T09:51:43+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=7416401661fad5c7ee9edb17cb54e7bff7a74dfe'/>
<id>urn:sha1:7416401661fad5c7ee9edb17cb54e7bff7a74dfe</id>
<content type='text'>
The code which does the chained handler setup was overwriting
chip_data.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Holger Hans Peter Freyther &lt;holger@freyther.de&gt;
Signed-off-by: Kevin Hilman &lt;khilman@ti.com&gt;
Signed-off-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
</content>
</entry>
<entry>
<title>arm: Cleanup the irq namespace</title>
<updated>2011-03-29T12:47:57+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2011-03-24T12:25:22+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=6845664a6a7d443f03883db59d10749d38d98b8e'/>
<id>urn:sha1:6845664a6a7d443f03883db59d10749d38d98b8e</id>
<content type='text'>
Convert to the new function names. Automated with coccinelle.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
<entry>
<title>arm: davinci: Cleanup irq chip code</title>
<updated>2011-03-29T12:47:56+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2011-03-24T11:47:04+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=5093aec872e5be7a55d8dd2b639e8a3818dc19db'/>
<id>urn:sha1:5093aec872e5be7a55d8dd2b639e8a3818dc19db</id>
<content type='text'>
Make use of the new functionality which ensures that irq_set_type is
called with the chip masked. Unmask is only done when the interrupt is
not disabled.

Retrieve the trigger type from irq_data in unmask

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
<entry>
<title>ARM: davinci: irq_data conversion.</title>
<updated>2011-01-13T16:18:26+00:00</updated>
<author>
<name>Lennert Buytenhek</name>
<email>buytenh@wantstofly.org</email>
</author>
<published>2010-11-29T09:27:27+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=23265442b02b3cc3c0dd2bf89bc235970c629806'/>
<id>urn:sha1:23265442b02b3cc3c0dd2bf89bc235970c629806</id>
<content type='text'>
Signed-off-by: Lennert Buytenhek &lt;buytenh@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>Davinci: gpio - use ioremap()</title>
<updated>2010-05-13T17:05:22+00:00</updated>
<author>
<name>Cyril Chemparathy</name>
<email>cyril@ti.com</email>
</author>
<published>2010-05-07T21:06:32+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b8d44293952e4b32b8595d924a377351f3cd1565'/>
<id>urn:sha1:b8d44293952e4b32b8595d924a377351f3cd1565</id>
<content type='text'>
This patch modifies the gpio_base definition in davinci_soc_info to be a
physical address, which is then ioremap()ed by the gpio initialization
function.

Signed-off-by: Cyril Chemparathy &lt;cyril@ti.com&gt;
Signed-off-by: Kevin Hilman &lt;khilman@deeprootsystems.com&gt;
</content>
</entry>
<entry>
<title>Davinci: eliminate pinmux offset verbosity</title>
<updated>2010-05-06T22:02:09+00:00</updated>
<author>
<name>Cyril Chemparathy</name>
<email>cyril@ti.com</email>
</author>
<published>2010-05-01T22:38:27+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=5b3a05ca911688c53680f2b020a1512b9da29c89'/>
<id>urn:sha1:5b3a05ca911688c53680f2b020a1512b9da29c89</id>
<content type='text'>
Pinmux registers are sequential, and do not need to be enumerated out as they
currently are.  This reduces code volume and keeps things simple.

If some future SoC comes up with a discontiguous register map, PINMUX() can
then be expanded with local token pasting.

Signed-off-by: Cyril Chemparathy &lt;cyril@ti.com&gt;
Signed-off-by: Kevin Hilman &lt;khilman@deeprootsystems.com&gt;
</content>
</entry>
<entry>
<title>Davinci: gpio - fine grained locking</title>
<updated>2010-05-06T22:02:09+00:00</updated>
<author>
<name>Cyril Chemparathy</name>
<email>cyril@ti.com</email>
</author>
<published>2010-05-01T22:37:55+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b27b6d03f245e5eaf6473da58a2612077fb7cfe7'/>
<id>urn:sha1:b27b6d03f245e5eaf6473da58a2612077fb7cfe7</id>
<content type='text'>
This patch eliminates the global gpio_lock, and implements a per-controller
lock instead.  This also switches to irqsave/irqrestore locks in case gpios
are manipulated in isr.

Signed-off-by: Cyril Chemparathy &lt;cyril@ti.com&gt;
Tested-by: Sandeep Paulraj &lt;s-paulraj@ti.com&gt;
Signed-off-by: Kevin Hilman &lt;khilman@deeprootsystems.com&gt;
</content>
</entry>
</feed>
