<feed xmlns='http://www.w3.org/2005/Atom'>
<title>litmus-rt-imx6.git/drivers/input, branch master</title>
<subtitle>LITMUS^RT and MC^2 V1 support for the i.MX6 processor family.</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt-imx6.git/'/>
<entry>
<title>ENGR00318936-2 input: keyboard: imx: remove usless release interrupt enabled code</title>
<updated>2014-06-19T04:56:10+00:00</updated>
<author>
<name>Robin Gong</name>
<email>b38343@freescale.com</email>
</author>
<published>2014-06-18T06:14:09+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt-imx6.git/commit/?id=560a64749d1dd0ff2352f625ca12eecea17064f4'/>
<id>560a64749d1dd0ff2352f625ca12eecea17064f4</id>
<content type='text'>
Remove useless code for release interrupt enabled, because we check status by
timer rather than release interrupt. Remove the code which may disable depress
interrupt. Also make sure enable depress interrupt in suspend function.

Signed-off-by: Robin Gong &lt;b38343@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove useless code for release interrupt enabled, because we check status by
timer rather than release interrupt. Remove the code which may disable depress
interrupt. Also make sure enable depress interrupt in suspend function.

Signed-off-by: Robin Gong &lt;b38343@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00318936-1 input: keyboard: imx: add pm_stay_awake and pm_relax</title>
<updated>2014-06-19T04:56:09+00:00</updated>
<author>
<name>Robin Gong</name>
<email>b38343@freescale.com</email>
</author>
<published>2014-06-10T03:56:49+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt-imx6.git/commit/?id=93e23abbe445dbd28b76080ef9cedd3de9b04844'/>
<id>93e23abbe445dbd28b76080ef9cedd3de9b04844</id>
<content type='text'>
There is a small window after system suspend but timer scan function
didn't finish timely, in this case,  system enter suspend without kpp
interrupt enabled and failed to resume back if key depressed.We add
pm_stay_awake and pm_relax to make sure system suspend flow abort in
this case.

Signed-off-by: Robin Gong &lt;b38343@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is a small window after system suspend but timer scan function
didn't finish timely, in this case,  system enter suspend without kpp
interrupt enabled and failed to resume back if key depressed.We add
pm_stay_awake and pm_relax to make sure system suspend flow abort in
this case.

Signed-off-by: Robin Gong &lt;b38343@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00307017: input: keyboard: snvs_pwrkey: fix system crash sometimes during boot</title>
<updated>2014-04-16T13:58:16+00:00</updated>
<author>
<name>Robin Gong</name>
<email>b38343@freescale.com</email>
</author>
<published>2014-04-03T09:10:24+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt-imx6.git/commit/?id=4bde963732964c65b2e03deac1657f9963eb2da6'/>
<id>4bde963732964c65b2e03deac1657f9963eb2da6</id>
<content type='text'>
If there is one ONOFF power key interrupt pending before RESET key pushed. system will
crash as below in the next boot cycle, because the pending interrupt will be serviced
after devm_request_irq while the driver probe has not finished and the drvdata is NULL.
So clear the meaningless irq status in the probe.

ousedev: PS/2 mouse device common for all mice
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = 80004000
[00000000] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.17-01631-g6b7b681-dirty #343
task: a806c000 ti: a806e000 task.ti: a806e000
PC is at imx_snvs_pwrkey_interrupt+0x10/0x4c
LR is at imx_snvs_pwrkey_interrupt+0xc/0x4c
pc : [&lt;803f0594&gt;]    lr : [&lt;803f0590&gt;]    psr: a0000193
sp : a806fd10  ip : fffffffa  fp : 00000001
r10: 80cb630e  r9 : a8006b40  r8 : 00000024
r7 : 00000000  r6 : 00000000  r5 : a8006b90  r4 : a83b5340
r3 : 803f0584  r2 : a806fd48  r1 : a80ad000  r0 : 00000000
Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c53c7d  Table: 8000404a  DAC: 00000015
Process swapper/0 (pid: 1, stack limit = 0xa806e238)
Stack: (0xa806fd10 to 0xa8070000)
fd00:                                     a83b5340 a8006b90 00000000 8007363c
fd20: 80cb6000 80090604 00000001 a8006b40 a8006b90 a83b5340 c0802100 60000113
fd40: a8006b70 00000000 00000000 800737a0 a8006b40 a8006b90 00000000 8007646c
fd60: 800763e8 00000024 00000024 80072e04 80c5fef0 8000e948 c080210c 80c6a904
fd80: a806fda0 80008558 80074b94 8063c75c 60000113 ffffffff a806fdd4 8000dc80
fda0: a8006b90 60000113 a806fdb8 00000007 a8006b40 a83b5340 a8006b90 00000024
fdc0: 60000113 a8006b70 00000000 00000000 000000ff a806fde8 80074b94 8063c75c
fde0: 60000113 ffffffff 00000000 80074b94 80c6f688 020cc000 00000000 00000001
fe00: a83b5340 a8006b40 803f0584 00000004 00000024 a80ad000 00000000 80074f50
fe20: a83b5310 a80ad000 00000024 803f0584 00000000 a80ad010 80c53804 80076a40
fe40: a80ab880 a80ad000 a836e990 a836e990 a80ad010 8152696c a80ad000 80cb6480
fe60: 80c44f90 803f0774 00000004 a80ab880 a80ad000 00000000 80d0ba0c a80ad010
fe80: 00000000 80c9a1f0 80cb6480 803099c0 803099a8 8030876c 00000000 a80ad010
fea0: 80c9a1f0 a80ad044 00000000 80308958 00000000 80c9a1f0 803088cc 80306c88
fec0: a804055c a80ac1b4 80c9a1f0 a836e680 80c89a30 80307f30 80b82af4 80c9a1f0
fee0: 00000006 80c9a1f0 00000006 80cb6480 80cb6480 80308f34 80c5e688 00000006
ff00: 80cb6480 80cb6480 80cb6480 80008704 000000f2 80041d60 80c537dc a806e010
ff20: 80b81e6c 80be5e54 00000006 00000006 800415cc 80041624 00000000 80c5e688
ff40: 00000006 80cb6480 80cb6480 80c194dc 000000f2 80c53804 80c537f8 80c19be0
ff60: 00000006 00000006 80c194dc 900ff07c ab86ff79 08012008 a806ff9c 00000000
ff80: 80631050 00000000 00000000 00000000 00000000 00000000 00000000 80631058
ffa0: 00000000 00000000 80631050 8000e118 00000000 00000000 00000000 00000000
ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 fdfe5bba dbfe26ba
[&lt;803f0594&gt;] (imx_snvs_pwrkey_interrupt+0x10/0x4c) from [&lt;8007363c&gt;] (handle_irq_event_percpu+0x54/0x17c)
[&lt;8007363c&gt;] (handle_irq_event_percpu+0x54/0x17c) from [&lt;800737a0&gt;] (handle_irq_event+0x3c/0x5c)
[&lt;800737a0&gt;] (handle_irq_event+0x3c/0x5c) from [&lt;8007646c&gt;] (handle_fasteoi_irq+0x84/0x14c)
[&lt;8007646c&gt;] (handle_fasteoi_irq+0x84/0x14c) from [&lt;80072e04&gt;] (generic_handle_irq+0x2c/0x3c)
[&lt;80072e04&gt;] (generic_handle_irq+0x2c/0x3c) from [&lt;8000e948&gt;] (handle_IRQ+0x40/0x90)
[&lt;8000e948&gt;] (handle_IRQ+0x40/0x90) from [&lt;80008558&gt;] (gic_handle_irq+0x2c/0x5c)
[&lt;80008558&gt;] (gic_handle_irq+0x2c/0x5c) from [&lt;8000dc80&gt;] (__irq_svc+0x40/0x70)
Exception stack(0xa806fda0 to 0xa806fde8)
fda0: a8006b90 60000113 a806fdb8 00000007 a8006b40 a83b5340 a8006b90 00000024
fdc0: 60000113 a8006b70 00000000 00000000 000000ff a806fde8 80074b94 8063c75c
fde0: 60000113 ffffffff
[&lt;8000dc80&gt;] (__irq_svc+0x40/0x70) from [&lt;8063c75c&gt;] (_raw_spin_unlock_irqrestore+0x20/0x48)
[&lt;8063c75c&gt;] (_raw_spin_unlock_irqrestore+0x20/0x48) from [&lt;80074b94&gt;] (__setup_irq+0x1b4/0x440)
[&lt;80074b94&gt;] (__setup_irq+0x1b4/0x440) from [&lt;80074f50&gt;] (request_threaded_irq+0xa8/0x128)
[&lt;80074f50&gt;] (request_threaded_irq+0xa8/0x128) from [&lt;80076a40&gt;] (devm_request_threaded_irq+0x58/0x9c)
[&lt;80076a40&gt;] (devm_request_threaded_irq+0x58/0x9c) from [&lt;803f0774&gt;] (imx_snvs_pwrkey_probe+0x118/0x250)
[&lt;803f0774&gt;] (imx_snvs_pwrkey_probe+0x118/0x250) from [&lt;803099c0&gt;] (platform_drv_probe+0x18/0x1c)
[&lt;803099c0&gt;] (platform_drv_probe+0x18/0x1c) from [&lt;8030876c&gt;] (driver_probe_device+0x10c/0x228)
[&lt;8030876c&gt;] (driver_probe_device+0x10c/0x228) from [&lt;80308958&gt;] (__driver_attach+0x8c/0x90)
[&lt;80308958&gt;] (__driver_attach+0x8c/0x90) from [&lt;80306c88&gt;] (bus_for_each_dev+0x60/0x94)
[&lt;80306c88&gt;] (bus_for_each_dev+0x60/0x94) from [&lt;80307f30&gt;] (bus_add_driver+0x1c0/0x24c)
[&lt;80307f30&gt;] (bus_add_driver+0x1c0/0x24c) from [&lt;80308f34&gt;] (driver_register+0x78/0x140)
[&lt;80308f34&gt;] (driver_register+0x78/0x140) from [&lt;80008704&gt;] (do_one_initcall+0x108/0x158)
[&lt;80008704&gt;] (do_one_initcall+0x108/0x158) from [&lt;80c19be0&gt;] (kernel_init_freeable+0x138/0x1d8)
[&lt;80c19be0&gt;] (kernel_init_freeable+0x138/0x1d8) from [&lt;80631058&gt;] (kernel_init+0x8/0x158)
[&lt;80631058&gt;] (kernel_init+0x8/0x158) from [&lt;8000e118&gt;] (ret_from_fork+0x14/0x3c)
Code: e92d4070 e2810010 ebfc5ebe e1a06000 (e5904000)
---[ end trace bd5e3234432334c1 ]---
Kernel panic - not syncing: Fatal exception in interrupt

Signed-off-by: Robin Gong &lt;b38343@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If there is one ONOFF power key interrupt pending before RESET key pushed. system will
crash as below in the next boot cycle, because the pending interrupt will be serviced
after devm_request_irq while the driver probe has not finished and the drvdata is NULL.
So clear the meaningless irq status in the probe.

ousedev: PS/2 mouse device common for all mice
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = 80004000
[00000000] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.17-01631-g6b7b681-dirty #343
task: a806c000 ti: a806e000 task.ti: a806e000
PC is at imx_snvs_pwrkey_interrupt+0x10/0x4c
LR is at imx_snvs_pwrkey_interrupt+0xc/0x4c
pc : [&lt;803f0594&gt;]    lr : [&lt;803f0590&gt;]    psr: a0000193
sp : a806fd10  ip : fffffffa  fp : 00000001
r10: 80cb630e  r9 : a8006b40  r8 : 00000024
r7 : 00000000  r6 : 00000000  r5 : a8006b90  r4 : a83b5340
r3 : 803f0584  r2 : a806fd48  r1 : a80ad000  r0 : 00000000
Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c53c7d  Table: 8000404a  DAC: 00000015
Process swapper/0 (pid: 1, stack limit = 0xa806e238)
Stack: (0xa806fd10 to 0xa8070000)
fd00:                                     a83b5340 a8006b90 00000000 8007363c
fd20: 80cb6000 80090604 00000001 a8006b40 a8006b90 a83b5340 c0802100 60000113
fd40: a8006b70 00000000 00000000 800737a0 a8006b40 a8006b90 00000000 8007646c
fd60: 800763e8 00000024 00000024 80072e04 80c5fef0 8000e948 c080210c 80c6a904
fd80: a806fda0 80008558 80074b94 8063c75c 60000113 ffffffff a806fdd4 8000dc80
fda0: a8006b90 60000113 a806fdb8 00000007 a8006b40 a83b5340 a8006b90 00000024
fdc0: 60000113 a8006b70 00000000 00000000 000000ff a806fde8 80074b94 8063c75c
fde0: 60000113 ffffffff 00000000 80074b94 80c6f688 020cc000 00000000 00000001
fe00: a83b5340 a8006b40 803f0584 00000004 00000024 a80ad000 00000000 80074f50
fe20: a83b5310 a80ad000 00000024 803f0584 00000000 a80ad010 80c53804 80076a40
fe40: a80ab880 a80ad000 a836e990 a836e990 a80ad010 8152696c a80ad000 80cb6480
fe60: 80c44f90 803f0774 00000004 a80ab880 a80ad000 00000000 80d0ba0c a80ad010
fe80: 00000000 80c9a1f0 80cb6480 803099c0 803099a8 8030876c 00000000 a80ad010
fea0: 80c9a1f0 a80ad044 00000000 80308958 00000000 80c9a1f0 803088cc 80306c88
fec0: a804055c a80ac1b4 80c9a1f0 a836e680 80c89a30 80307f30 80b82af4 80c9a1f0
fee0: 00000006 80c9a1f0 00000006 80cb6480 80cb6480 80308f34 80c5e688 00000006
ff00: 80cb6480 80cb6480 80cb6480 80008704 000000f2 80041d60 80c537dc a806e010
ff20: 80b81e6c 80be5e54 00000006 00000006 800415cc 80041624 00000000 80c5e688
ff40: 00000006 80cb6480 80cb6480 80c194dc 000000f2 80c53804 80c537f8 80c19be0
ff60: 00000006 00000006 80c194dc 900ff07c ab86ff79 08012008 a806ff9c 00000000
ff80: 80631050 00000000 00000000 00000000 00000000 00000000 00000000 80631058
ffa0: 00000000 00000000 80631050 8000e118 00000000 00000000 00000000 00000000
ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 fdfe5bba dbfe26ba
[&lt;803f0594&gt;] (imx_snvs_pwrkey_interrupt+0x10/0x4c) from [&lt;8007363c&gt;] (handle_irq_event_percpu+0x54/0x17c)
[&lt;8007363c&gt;] (handle_irq_event_percpu+0x54/0x17c) from [&lt;800737a0&gt;] (handle_irq_event+0x3c/0x5c)
[&lt;800737a0&gt;] (handle_irq_event+0x3c/0x5c) from [&lt;8007646c&gt;] (handle_fasteoi_irq+0x84/0x14c)
[&lt;8007646c&gt;] (handle_fasteoi_irq+0x84/0x14c) from [&lt;80072e04&gt;] (generic_handle_irq+0x2c/0x3c)
[&lt;80072e04&gt;] (generic_handle_irq+0x2c/0x3c) from [&lt;8000e948&gt;] (handle_IRQ+0x40/0x90)
[&lt;8000e948&gt;] (handle_IRQ+0x40/0x90) from [&lt;80008558&gt;] (gic_handle_irq+0x2c/0x5c)
[&lt;80008558&gt;] (gic_handle_irq+0x2c/0x5c) from [&lt;8000dc80&gt;] (__irq_svc+0x40/0x70)
Exception stack(0xa806fda0 to 0xa806fde8)
fda0: a8006b90 60000113 a806fdb8 00000007 a8006b40 a83b5340 a8006b90 00000024
fdc0: 60000113 a8006b70 00000000 00000000 000000ff a806fde8 80074b94 8063c75c
fde0: 60000113 ffffffff
[&lt;8000dc80&gt;] (__irq_svc+0x40/0x70) from [&lt;8063c75c&gt;] (_raw_spin_unlock_irqrestore+0x20/0x48)
[&lt;8063c75c&gt;] (_raw_spin_unlock_irqrestore+0x20/0x48) from [&lt;80074b94&gt;] (__setup_irq+0x1b4/0x440)
[&lt;80074b94&gt;] (__setup_irq+0x1b4/0x440) from [&lt;80074f50&gt;] (request_threaded_irq+0xa8/0x128)
[&lt;80074f50&gt;] (request_threaded_irq+0xa8/0x128) from [&lt;80076a40&gt;] (devm_request_threaded_irq+0x58/0x9c)
[&lt;80076a40&gt;] (devm_request_threaded_irq+0x58/0x9c) from [&lt;803f0774&gt;] (imx_snvs_pwrkey_probe+0x118/0x250)
[&lt;803f0774&gt;] (imx_snvs_pwrkey_probe+0x118/0x250) from [&lt;803099c0&gt;] (platform_drv_probe+0x18/0x1c)
[&lt;803099c0&gt;] (platform_drv_probe+0x18/0x1c) from [&lt;8030876c&gt;] (driver_probe_device+0x10c/0x228)
[&lt;8030876c&gt;] (driver_probe_device+0x10c/0x228) from [&lt;80308958&gt;] (__driver_attach+0x8c/0x90)
[&lt;80308958&gt;] (__driver_attach+0x8c/0x90) from [&lt;80306c88&gt;] (bus_for_each_dev+0x60/0x94)
[&lt;80306c88&gt;] (bus_for_each_dev+0x60/0x94) from [&lt;80307f30&gt;] (bus_add_driver+0x1c0/0x24c)
[&lt;80307f30&gt;] (bus_add_driver+0x1c0/0x24c) from [&lt;80308f34&gt;] (driver_register+0x78/0x140)
[&lt;80308f34&gt;] (driver_register+0x78/0x140) from [&lt;80008704&gt;] (do_one_initcall+0x108/0x158)
[&lt;80008704&gt;] (do_one_initcall+0x108/0x158) from [&lt;80c19be0&gt;] (kernel_init_freeable+0x138/0x1d8)
[&lt;80c19be0&gt;] (kernel_init_freeable+0x138/0x1d8) from [&lt;80631058&gt;] (kernel_init+0x8/0x158)
[&lt;80631058&gt;] (kernel_init+0x8/0x158) from [&lt;8000e118&gt;] (ret_from_fork+0x14/0x3c)
Code: e92d4070 e2810010 ebfc5ebe e1a06000 (e5904000)
---[ end trace bd5e3234432334c1 ]---
Kernel panic - not syncing: Fatal exception in interrupt

Signed-off-by: Robin Gong &lt;b38343@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00306653-2 input: keyboad: snvs_pwrkey: add snvs power key driver</title>
<updated>2014-04-16T13:58:15+00:00</updated>
<author>
<name>Robin Gong</name>
<email>b38343@freescale.com</email>
</author>
<published>2014-04-02T08:55:31+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt-imx6.git/commit/?id=8cf20b3a736feeb814c0d32e15fdb9ee575ddbd3'/>
<id>8cf20b3a736feeb814c0d32e15fdb9ee575ddbd3</id>
<content type='text'>
add snvs power key driver since ic team has fix some issues of SNVS on i.mx6sx

Signed-off-by: Robin Gong &lt;b38343@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
add snvs power key driver since ic team has fix some issues of SNVS on i.mx6sx

Signed-off-by: Robin Gong &lt;b38343@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: tsc2007 - add device tree support.</title>
<updated>2014-04-16T13:58:15+00:00</updated>
<author>
<name>Denis Carikli</name>
<email>denis@eukrea.com</email>
</author>
<published>2013-11-19T19:56:04+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt-imx6.git/commit/?id=ea88b2a6c41c87ce11eb309536baa416c72ee7f2'/>
<id>ea88b2a6c41c87ce11eb309536baa416c72ee7f2</id>
<content type='text'>
Signed-off-by: Denis Carikli &lt;denis@eukrea.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>
Signed-off-by: Denis Carikli &lt;denis@eukrea.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00306133-1: input: misc: isl29023: Enable isl29023 driver for i.MX6SX-SDB platform</title>
<updated>2014-04-16T13:58:12+00:00</updated>
<author>
<name>Luwei Zhou</name>
<email>b45643@freescale.com</email>
</author>
<published>2014-03-31T06:31:23+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt-imx6.git/commit/?id=c9b8d2d177ba94c0df02a2fda68c647f193589a1'/>
<id>c9b8d2d177ba94c0df02a2fda68c647f193589a1</id>
<content type='text'>
The isl29023 share the same interrupt gpio with mag3110 sensor. This patch add shared
interrutp support.

Signed-off-by: Luwei Zhou &lt;b45643@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The isl29023 share the same interrupt gpio with mag3110 sensor. This patch add shared
interrutp support.

Signed-off-by: Luwei Zhou &lt;b45643@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00281813 input: mma8450: evbug module will keep print message.</title>
<updated>2014-04-16T13:47:30+00:00</updated>
<author>
<name>Luwei Zhou</name>
<email>b45643@freescale.com</email>
</author>
<published>2013-12-20T02:23:39+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt-imx6.git/commit/?id=74fc13798428613e7c996b3ab9bc26fbbff0e290'/>
<id>74fc13798428613e7c996b3ab9bc26fbbff0e290</id>
<content type='text'>
evbug will open the mma8450 on i.MX6SL_EVK and mma8450 will work in 2G mode by default.
That is the reason why mma8450 logs will be printed out. The main changes is below:

 * Remove the open(), close() hook out of the drivers. The open() and close()
   hook in input framwork is defined as void type. It isn't strictly safe in
   logic when some error happends. So remove them out.
 * Modify the mma8450 to standby mode by default. It will be more power saving
   and there would be no log printing out after booting up.
 * Provide the sys interface to modify the mma8450 work modes. Then the higher
   layer can modify the the mma8450 work mode via the interface. It would be
   much safer.There would be a sclaemode interface in the folder of
   /sys/devices/soc0/soc.1/2100000.aips-bus/21a0000.i2c/i2c-0/0-001c/scalemode
   User can use cat to read the current scalemode and echo to write. The mode
   is defined as: MODE_STANDBY: 0  MODE_2G:1  MODE_4G:2  MODE_8G:3
 * Add mutex to protect and some error handling.

Signed-off-by: Luwei Zhou &lt;b45643@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
evbug will open the mma8450 on i.MX6SL_EVK and mma8450 will work in 2G mode by default.
That is the reason why mma8450 logs will be printed out. The main changes is below:

 * Remove the open(), close() hook out of the drivers. The open() and close()
   hook in input framwork is defined as void type. It isn't strictly safe in
   logic when some error happends. So remove them out.
 * Modify the mma8450 to standby mode by default. It will be more power saving
   and there would be no log printing out after booting up.
 * Provide the sys interface to modify the mma8450 work modes. Then the higher
   layer can modify the the mma8450 work mode via the interface. It would be
   much safer.There would be a sclaemode interface in the folder of
   /sys/devices/soc0/soc.1/2100000.aips-bus/21a0000.i2c/i2c-0/0-001c/scalemode
   User can use cat to read the current scalemode and echo to write. The mode
   is defined as: MODE_STANDBY: 0  MODE_2G:1  MODE_4G:2  MODE_8G:3
 * Add mutex to protect and some error handling.

Signed-off-by: Luwei Zhou &lt;b45643@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00283508-3 keyboard: imx: support pin sleep mode in suspend</title>
<updated>2014-04-16T13:05:48+00:00</updated>
<author>
<name>Anson Huang</name>
<email>b20788@freescale.com</email>
</author>
<published>2013-10-14T19:19:20+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt-imx6.git/commit/?id=ee1e9ebaadb6a4afc214bf4e31b0c41bfe1cf71b'/>
<id>ee1e9ebaadb6a4afc214bf4e31b0c41bfe1cf71b</id>
<content type='text'>
When system suspend, need to switch keyboard pins to sleep mode,
this is to save IO power. Using pinctrl mode switch framework
to make it happen.

Signed-off-by: Anson Huang &lt;b20788@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When system suspend, need to switch keyboard pins to sleep mode,
this is to save IO power. Using pinctrl mode switch framework
to make it happen.

Signed-off-by: Anson Huang &lt;b20788@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00277864 input: mma8450: Add chip id check in probe</title>
<updated>2014-04-16T13:05:31+00:00</updated>
<author>
<name>Luwei Zhou</name>
<email>b45643@freescale.com</email>
</author>
<published>2013-09-03T09:32:55+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt-imx6.git/commit/?id=208d97f2441fc0f796713610b541c5fad6da6fc2'/>
<id>208d97f2441fc0f796713610b541c5fad6da6fc2</id>
<content type='text'>
Add chip ID check in probe function. The mma8450 is
on the E-INK daughter board. When the daughter board
is not pluged, there would be polling error log
continuously. Add the check to avoid this.

Signed-off-by: Luwei Zhou &lt;b45643@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add chip ID check in probe function. The mma8450 is
on the E-INK daughter board. When the daughter board
is not pluged, there would be polling error log
continuously. Add the check to avoid this.

Signed-off-by: Luwei Zhou &lt;b45643@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00277955-1 keyboard: gpio_keys: support wakeup system from freeze mode</title>
<updated>2014-04-16T13:01:40+00:00</updated>
<author>
<name>Anson Huang</name>
<email>b20788@freescale.com</email>
</author>
<published>2013-09-04T01:43:48+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt-imx6.git/commit/?id=8e5ab16eda34e47ddbd2602cd24a8f382f761db2'/>
<id>8e5ab16eda34e47ddbd2602cd24a8f382f761db2</id>
<content type='text'>
To support wakeup system from freeze mode of suspend,
device's irq can NOT be disabled during devices suspend,
so we need to add IRQF_NO_SUSPEND flag to irqflags.

Signed-off-by: Anson Huang &lt;b20788@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To support wakeup system from freeze mode of suspend,
device's irq can NOT be disabled during devices suspend,
so we need to add IRQF_NO_SUSPEND flag to irqflags.

Signed-off-by: Anson Huang &lt;b20788@freescale.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
