SQUASH: s2w/dt2w for D2

Signed-off-by: thirdzcee <thirdzcee@gmail.com>

use some of kt747 code to get the touchpanel running so s2w and d2w from faux works and some adaptation of s2w for d2 :)

Signed-off-by: thirdzcee <thirdzcee@gmail.com>

Conflicts:
	drivers/input/touchscreen/sweep2wake.c

cleaning up unused stuff

Signed-off-by: thirdzcee <ironbuang@gmail.com>
Signed-off-by: thirdzcee <thirdzcee@gmail.com>

Conflicts:
	drivers/input/touchscreen/mms_ts_144.c

initial s2w dt2w code import from @showp1984

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

Conflicts:

	drivers/input/touchscreen/Kconfig

Conflicts:
	drivers/input/touchscreen/Makefile

(cherry picked from commit acb6f2df29146e9f6784e99df753324901b8c938)
Signed-off-by: thirdzcee <thirdzcee@gmail.com>

remove some more uneeded code, should have done this before

Signed-off-by: thirdzcee <thirdzcee@gmail.com>

s2w/dt2w:clean up unused kt code and now fully export the fucntion to enable and disable s2w/dt2w using faux's sysfs,
in short trickstermod can now activate or deactivate dt2w/s2w properly

Signed-off-by: thirdzcee <thirdzcee@gmail.com>

use s2w and dt2w drivers from n5

this also fixes s2s not working so it works like a charm now :)

Signed-off-by: thirdzcee <thirdzcee@gmail.com>

Conflicts:
	drivers/input/touchscreen/sweep2wake.c

wtf!!! all it needed was to be wrapped in parenthesis

Signed-off-by: thirdzcee <thirdzcee@gmail.com>
asm-generic: rwsem: ensure sem->cnt is only accessed via atomic_long_*

The asm-generic rwsem implementation directly acceses sem->cnt when
performing a __down_read_trylock operation. Whilst this is probably safe
on all architectures, we should stick to the atomic_long_* API and use
atomic_long_read instead.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>

(cherry picked from commit 40ce216b2070e998f0ef38eccb7e79cdec203fbf)
(cherry picked from commit cb7c93192536e15ed63f3e9441db416367452247)
Signed-off-by: thirdzcee <thirdzcee@gmail.com>
asm-generic: rwsem: de-PPCify rwsem.h

asm-generic/rwsem.h used to live under arch/powerpc. During its
liberation to common code, a few references to its former home where
preserved, in particular the definition of RWSEM_ACTIVE_MASK is
predicated on CONFIG_PPC64.

This patch updates the ifdefs and comments to architecturally neutral
versions.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>

(cherry picked from commit 643bd9a280950d8857f7a046dd645ddeada597a8)
(cherry picked from commit 9bc2e71e82c0b19403cdb96d2938599c70c5788a)
Signed-off-by: thirdzcee <thirdzcee@gmail.com>
init: debug: bye bye

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
(cherry picked from commit 482544beea67485d36829313804569fc59096bc0)
Signed-off-by: thirdzcee <thirdzcee@gmail.com>
Revert "SQUASH: GPU OC/UC"

This reverts commit 17cdecf6b5273c29dcc81be8835d1cd3ec340cac.