ft5x_ts:Implement power port hardware feature

On some devices like (DNS Airpad M82) ts controller's power controled via
MOSFET for powersaving. This patch enable power control with GPIO
pin ctp_power_port in ctp_para, make touchscreen work on simular hardware
configurations.
led-triggers: create a trigger for CPU activity

Attempting to consolidate the ARM LED code, this removes the
custom RealView LED trigger code to turn LEDs on and off in
response to CPU activity and replace it with a standard trigger.

(bryan.wu@canonical.com:
It introduces several syscore stubs into this trigger.
It also provides ledtrig_cpu trigger event stub in <linux/leds.h>.
Although it was inspired by ARM work, it can be used in other arch.)

Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Tested-by: Jochen Friedrich <jochen@scram.de>
ledtrig-cpu: kill useless mutex to fix sleep in atomic context

Seeing the following every time the CPU enters or leaves idle on a
Beagleboard:

BUG: sleeping function called from invalid context at kernel/mutex.c:269
in_atomic(): 1, irqs_disabled(): 0, pid: 0, name: swapper/0
no locks held by swapper/0/0.
[<c001659c>] (unwind_backtrace+0x0/0xf8) from [<c05aaa7c>] (mutex_lock_nested+0x24/0x380)
[<c05aaa7c>] (mutex_lock_nested+0x24/0x380) from [<c043bd1c>] (ledtrig_cpu+0x38/0x88)
[<c043bd1c>] (ledtrig_cpu+0x38/0x88) from [<c000f4b0>] (cpu_idle+0xf4/0x120)
[<c000f4b0>] (cpu_idle+0xf4/0x120) from [<c07e47c8>] (start_kernel+0x2bc/0x30c)

Miles Lane has reported seeing similar splats during system suspend.

The mutex in struct led_trigger_cpu appears to have no function: it
resides in a per-cpu data structure which never changes after the
trigger is registered.  So just remove it.

Reported-by: Miles Lane <miles.lane@gmail.com>
Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Bryan Wu <roc@roc-samos.(none)>
Integrate ledtrig-cpu.

Backport of fa8bbb13 from Linus master.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Get disk size from block device in nand partition driver.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Use in-kernel crc32 function for nand partition check.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Remove private header reference from nand mbr.h

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Remove private data reference from nand mbr.h

Remove same declaration from nand_blk.c

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Remove duplicates of nand mbr.h

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Move nanda-nando compat naming to partition-generic.c

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Remove nand partition handling cruft.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Block device LED trigger.

Make a read/write/readwrite LED trigger for each block device.
Add led trigger activation callbacks.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Remove ide disk trigger.
Create LED trigger before events are enabled.
Split out privete led trigger headers.
Make ledtrig-block loadable.
Fix suspend on sun4i.

With this patch A10 actually suspends and resumes by pressing the power
button.

Based on patch by Alexsey Shestacov <wingrime@gmail.com>

Tested-by: Michal Suchanek <hramrach@gmail.com>
Suspend framebuffer on sustem suspend.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>