rq_stats: add run queue statistic collection to kernel tick scheduler

adapted from CAF reference for OMAP2 Platform

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	arch/arm/mach-omap2/Kconfig
	arch/arm/mach-omap2/Makefile
	kernel/time/tick-sched.c
rq_stats: set rq_info.init after initializing rq_info attributes

It is possible the kobj not initialized before def_work_fn called.
Fix this by setting rq_info as initialized only after initializing
rq_info attributes.

Change-Id: Iff8c5c653b51c711a7ddc5bbeae8684fcbf2a742
Signed-off-by: Jin Hong <jinh@codeaurora.org>
modified for Tuna Hybrid from CAF

Signed-off-by: Paul Reioux <reioux@gmail.com>
rq_stats: changing the show function for sysfs entry def_timer_ms

The computation done in sysfs show function show_def_timer_ms is
already happening in function def_work_fn. Since there can be a
time gap between when the computation is done in def_work_fn to
when it is done in show_def_timer_ms; the correct computation
is the one done in def_work_fn. Therefore removing the extra
computation from show_def_timer_ms.

Change-Id: I91f7d3f48d7c22282a5709432775a63e448c2fe3
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
modified for Tuna hybrid from CAF

Signed-off-by: Paul Reioux <reioux@gmail.com>
Intelliplug 2.0: port to OMAP2 SOCs

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	arch/arm/mach-omap2/Kconfig
intelliplug: add Galaxy Nexus touch input

Signed-off-by: Paul Reioux <reioux@gmail.com>
omap2: intelliplug: remove quadcore stuff to avoid log spaming

Signed-off-by: Willi Ye <williye97@gmail.com>
intelli_plug: switch to use dedicated high priority workqueue

from the shared global workqueue.  This should prevent hang ups while the
global workqueue is busy and cleaned up some logic issues.

give input boost its own workqueue

bump to version 2.2

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	arch/arm/mach-omap2/intelli_plug.c
Intelli_plug: special dual-core adaptation for all dualcore SOCs

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	arch/arm/mach-omap2/Kconfig
	arch/arm/mach-omap2/intelli_plug.c
intelli_plug: switch to generic MT input rather than named devices

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli_plug: move to its own directory. It's been cross platform for a while

intelli_plug driver has been working on OMAP44xx, TEGRA 3, Exynos and
MSM Krait/Cortex multi-core SOCs.  So it doesn't make sense to patch on a per
SOC basis, move it to its own ARM platform independent folder so patches can
apply to all supported ARM platforms

Cumulative patch to version 3.6 as well for OMAP2 platform

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	arch/arm/mach-omap2/Kconfig
intelliplug shit