<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/input/keyboard/imx_keypad.c, branch v3.9.4</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>Input: imx_keypad - add device tree support</title>
<updated>2013-01-03T20:41:31+00:00</updated>
<author>
<name>Liu Ying</name>
<email>Ying.Liu@freescale.com</email>
</author>
<published>2013-01-03T20:25:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0e14235e6cfbc9b7a546d38b51c4e7ffdab41045'/>
<id>0e14235e6cfbc9b7a546d38b51c4e7ffdab41045</id>
<content type='text'>
This patch adds device tree support for imx keypad driver.

Signed-off-by: Liu Ying &lt;Ying.Liu@freescale.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds device tree support for imx keypad driver.

Signed-off-by: Liu Ying &lt;Ying.Liu@freescale.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: imx_keypad - only set enabled columns to open-drain</title>
<updated>2012-11-25T08:10:18+00:00</updated>
<author>
<name>Andreas Pretzsch</name>
<email>apr@cn-eng.de</email>
</author>
<published>2012-11-25T07:31:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=92aab96034c2cdf11eb61a6b14409c2da8e5158d'/>
<id>92aab96034c2cdf11eb61a6b14409c2da8e5158d</id>
<content type='text'>
In imx_keypad_inhibit(), all 8 columns were set to open-drain, in
contrast to the rest of the driver, where only the enabled columns
are modified/used.

Contrary to the normal expectation, this also affects column I/Os not
even mapped via IOMUX to the KPP hardware module but used as a GPIO.
Therefore only init enabled columns to open-drain and leave all others
with their default reset value of 0, i.e. totem-pole.

Signed-off-by: Andreas Pretzsch &lt;apr@cn-eng.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In imx_keypad_inhibit(), all 8 columns were set to open-drain, in
contrast to the rest of the driver, where only the enabled columns
are modified/used.

Contrary to the normal expectation, this also affects column I/Os not
even mapped via IOMUX to the KPP hardware module but used as a GPIO.
Therefore only init enabled columns to open-drain and leave all others
with their default reset value of 0, i.e. totem-pole.

Signed-off-by: Andreas Pretzsch &lt;apr@cn-eng.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: remove use of __devexit</title>
<updated>2012-11-24T08:05:38+00:00</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-24T05:50:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e2619cf78e19476bfd7ceaefa9eff0847529346e'/>
<id>e2619cf78e19476bfd7ceaefa9eff0847529346e</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: remove use of __devinit</title>
<updated>2012-11-24T08:05:19+00:00</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-24T05:38:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5298cc4cc753bbe4c530b41341834f6ef3344d0d'/>
<id>5298cc4cc753bbe4c530b41341834f6ef3344d0d</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Acked-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Acked-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: remove use of __devexit_p</title>
<updated>2012-11-24T08:03:48+00:00</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-24T05:27:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1cb0aa88179b7a71c240529e9d781d7bbb43d2e8'/>
<id>1cb0aa88179b7a71c240529e9d781d7bbb43d2e8</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Acked-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Acked-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: imx_keypad - fix missing clk conversions</title>
<updated>2012-09-05T05:18:03+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2012-09-05T03:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=609455f481772c5a875b88e860a2ee0e2f25ebf0'/>
<id>609455f481772c5a875b88e860a2ee0e2f25ebf0</id>
<content type='text'>
commit a1e636e6d3 (Input: imx_keypad - use clk_prepare_enable/
clk_disable_unprepare()) missed to update clk_enable/clk_disable
in imx_keypad_probe().

Fix it so that we do not get clk warnings at boot.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit a1e636e6d3 (Input: imx_keypad - use clk_prepare_enable/
clk_disable_unprepare()) missed to update clk_enable/clk_disable
in imx_keypad_probe().

Fix it so that we do not get clk warnings at boot.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: imx_keypad - reset the hardware before enabling</title>
<updated>2012-08-22T05:03:09+00:00</updated>
<author>
<name>Michael Grzeschik</name>
<email>m.grzeschik@pengutronix.de</email>
</author>
<published>2012-08-22T04:57:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f35dd69ba341bda3790713b9e964483934b995e1'/>
<id>f35dd69ba341bda3790713b9e964483934b995e1</id>
<content type='text'>
Ensure the hardware is correctly initialized before requesting the
interrupt, otherwise if a key was already touched since power-on the
kernel enters an interrupt loop. To fix this issue we clear pending
interrupt sources. We also have to make sure clk is enabled while
changing the keypad registers.

Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure the hardware is correctly initialized before requesting the
interrupt, otherwise if a key was already touched since power-on the
kernel enters an interrupt loop. To fix this issue we clear pending
interrupt sources. We also have to make sure clk is enabled while
changing the keypad registers.

Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: imx_keypad - check error returned by clk_prepare_enable()</title>
<updated>2012-07-07T02:12:40+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2012-07-06T18:31:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=333fbe8409dfabd3d3581af5cdbd30f666857437'/>
<id>333fbe8409dfabd3d3581af5cdbd30f666857437</id>
<content type='text'>
Check error returned by clk_prepare_enable().

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check error returned by clk_prepare_enable().

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: imx_keypad - adapt the new kpp clock name</title>
<updated>2012-07-07T02:12:35+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2012-07-06T18:26:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a40ec72d540553fc0e1d1fea94c1d7629b7f35f4'/>
<id>a40ec72d540553fc0e1d1fea94c1d7629b7f35f4</id>
<content type='text'>
With the new i.mx clock framework we should pass NULL as the keypad
clock name.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the new i.mx clock framework we should pass NULL as the keypad
clock name.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: imx_keypad - use clk_prepare_enable/clk_disable_unprepare()</title>
<updated>2012-07-07T02:12:30+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2012-07-06T18:26:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a1e636e6d35944a2b970481b78a621774276acfd'/>
<id>a1e636e6d35944a2b970481b78a621774276acfd</id>
<content type='text'>
Adapt clock handling to the new i.mx clock framework and fix the following
warning:

input: imx-keypad as /devices/platform/imx-keypad/input/input0
------------[ cut here ]------------
WARNING: at drivers/clk/clk.c:511 __clk_enable+0x98/0xa8()
Modules linked in:
[&lt;c001a680&gt;] (unwind_backtrace+0x0/0xf4) from [&lt;c002452c&gt;] (warn_slowpath_commo)
[&lt;c002452c&gt;] (warn_slowpath_common+0x48/0x60) from [&lt;c0024560&gt;] (warn_slowpath_)
[&lt;c0024560&gt;] (warn_slowpath_null+0x1c/0x24) from [&lt;c02c4ec4&gt;] (__clk_enable+0x9)
[&lt;c02c4ec4&gt;] (__clk_enable+0x98/0xa8) from [&lt;c02c4ef8&gt;] (clk_enable+0x24/0x5c)
[&lt;c02c4ef8&gt;] (clk_enable+0x24/0x5c) from [&lt;c027ac6c&gt;] (imx_keypad_open+0x28/0xc)
[&lt;c027ac6c&gt;] (imx_keypad_open+0x28/0xc8) from [&lt;c0274b14&gt;] (input_open_device+0)
[&lt;c0274b14&gt;] (input_open_device+0x78/0xa8) from [&lt;c01ec884&gt;] (kbd_connect+0x60/)
[&lt;c01ec884&gt;] (kbd_connect+0x60/0x80) from [&lt;c0273b94&gt;] (input_attach_handler+0x)
[&lt;c0273b94&gt;] (input_attach_handler+0x220/0x258) from [&lt;c02755d4&gt;] (input_regist)
[&lt;c02755d4&gt;] (input_register_device+0x31c/0x390) from [&lt;c038da1c&gt;] (imx_keypad_)
[&lt;c038da1c&gt;] (imx_keypad_probe+0x2e4/0x3b8) from [&lt;c020326c&gt;] (platform_drv_pro)
[&lt;c020326c&gt;] (platform_drv_probe+0x18/0x1c) from [&lt;c0201f64&gt;] (driver_probe_dev)
[&lt;c0201f64&gt;] (driver_probe_device+0x84/0x210) from [&lt;c020217c&gt;] (__driver_attac)
[&lt;c020217c&gt;] (__driver_attach+0x8c/0x90) from [&lt;c02008f8&gt;] (bus_for_each_dev+0x)
[&lt;c02008f8&gt;] (bus_for_each_dev+0x68/0x90) from [&lt;c0201064&gt;] (bus_add_driver+0xa)
[&lt;c0201064&gt;] (bus_add_driver+0xa4/0x23c) from [&lt;c020275c&gt;] (driver_register+0x7)
[&lt;c020275c&gt;] (driver_register+0x78/0x12c) from [&lt;c00087c0&gt;] (do_one_initcall+0x)
[&lt;c00087c0&gt;] (do_one_initcall+0x34/0x188) from [&lt;c04b9310&gt;] (kernel_init+0xe4/0)
[&lt;c04b9310&gt;] (kernel_init+0xe4/0x1a8) from [&lt;c0015bd8&gt;] (kernel_thread_exit+0x0)
---[ end trace 1d550e891d03d7ce ]---

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adapt clock handling to the new i.mx clock framework and fix the following
warning:

input: imx-keypad as /devices/platform/imx-keypad/input/input0
------------[ cut here ]------------
WARNING: at drivers/clk/clk.c:511 __clk_enable+0x98/0xa8()
Modules linked in:
[&lt;c001a680&gt;] (unwind_backtrace+0x0/0xf4) from [&lt;c002452c&gt;] (warn_slowpath_commo)
[&lt;c002452c&gt;] (warn_slowpath_common+0x48/0x60) from [&lt;c0024560&gt;] (warn_slowpath_)
[&lt;c0024560&gt;] (warn_slowpath_null+0x1c/0x24) from [&lt;c02c4ec4&gt;] (__clk_enable+0x9)
[&lt;c02c4ec4&gt;] (__clk_enable+0x98/0xa8) from [&lt;c02c4ef8&gt;] (clk_enable+0x24/0x5c)
[&lt;c02c4ef8&gt;] (clk_enable+0x24/0x5c) from [&lt;c027ac6c&gt;] (imx_keypad_open+0x28/0xc)
[&lt;c027ac6c&gt;] (imx_keypad_open+0x28/0xc8) from [&lt;c0274b14&gt;] (input_open_device+0)
[&lt;c0274b14&gt;] (input_open_device+0x78/0xa8) from [&lt;c01ec884&gt;] (kbd_connect+0x60/)
[&lt;c01ec884&gt;] (kbd_connect+0x60/0x80) from [&lt;c0273b94&gt;] (input_attach_handler+0x)
[&lt;c0273b94&gt;] (input_attach_handler+0x220/0x258) from [&lt;c02755d4&gt;] (input_regist)
[&lt;c02755d4&gt;] (input_register_device+0x31c/0x390) from [&lt;c038da1c&gt;] (imx_keypad_)
[&lt;c038da1c&gt;] (imx_keypad_probe+0x2e4/0x3b8) from [&lt;c020326c&gt;] (platform_drv_pro)
[&lt;c020326c&gt;] (platform_drv_probe+0x18/0x1c) from [&lt;c0201f64&gt;] (driver_probe_dev)
[&lt;c0201f64&gt;] (driver_probe_device+0x84/0x210) from [&lt;c020217c&gt;] (__driver_attac)
[&lt;c020217c&gt;] (__driver_attach+0x8c/0x90) from [&lt;c02008f8&gt;] (bus_for_each_dev+0x)
[&lt;c02008f8&gt;] (bus_for_each_dev+0x68/0x90) from [&lt;c0201064&gt;] (bus_add_driver+0xa)
[&lt;c0201064&gt;] (bus_add_driver+0xa4/0x23c) from [&lt;c020275c&gt;] (driver_register+0x7)
[&lt;c020275c&gt;] (driver_register+0x78/0x12c) from [&lt;c00087c0&gt;] (do_one_initcall+0x)
[&lt;c00087c0&gt;] (do_one_initcall+0x34/0x188) from [&lt;c04b9310&gt;] (kernel_init+0xe4/0)
[&lt;c04b9310&gt;] (kernel_init+0xe4/0x1a8) from [&lt;c0015bd8&gt;] (kernel_thread_exit+0x0)
---[ end trace 1d550e891d03d7ce ]---

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
