CPUFREQ: Clean Ondemand get tit close to LG stock, revert tuning in others.

*Clean the SMART UP its was not allowing max freq and was laggy.
*Revert DEF_SAMPLING_DOWN_FACTOR = 4 as it's make max freq always on core 0.
drivers: bluetooth: Improve use of macros

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>

Also set TX_TIMER_INTERVAL to 10 to save move battery.
THERMAL CONTROL: fix shutdown on bench test.
Disable ARCH_POWER and SLEEPERS

*Power save on suspend was better with ARCH_POWER OFF.
Set all versions of sync_freq to middle range freq to gain high perf.

and not allow to set less than 960000Mhz
as at this point gov start to LAG hard!

LG default hotplug also set sync_freq types to 960000 by default,
and if user select default hotplug he loose performance allot.
Kernel 5.9
Disable gentle_fair_sleepers & arch_power in  kernel/sched/fair.c
Disable WIFI Driver Debug. works good no need to debug.

Thanks neobuddy89
Revert WIFI wakelocks to STOCK. to prevent too high power use.
Revert "drivers: bluetooth: Improve use of macros"

This reverts commit 6780709e56fb7adeb1190b6de1740bf08af28b02.

Users report SLOW BT connect to Car BT, also noticed with my car...

LG uses different BT code for sleep/wake so i will keep it STOCK.
 bcmdhd: Reset the hang flag after notifications are sent

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>

https://github.com/neobuddy89/hammerhead_kernel_caf/commit/7b683bd7323abe0b2bd4cd82e377236a99b4f517
gpio: msm: Remove software handling for dual-edge interrupts for TLMM_V2

The TLMM_V2 did not have hardware support for dual-edge interrupts.
This was handled in software using an algorithm to detect the current
edge and switch the interrupt polarity. This does not work after keeping
the RAW_STATUS_EN always enabled as switching the interrupt polarity
causes a spurious interrupt.
The TLMM_v3 has hardware support for dual-edge interrupts and this
continues to work as expected.
Thus, this patch removes dual-edge interrupt support for TLMM_V2.

Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
gpio: msm-v3: Use _no_log variants of readl/writel accessors

Avoid logging accesses to GPIO-related registers. This prevents flooding
of RTB logs when GPIOs are polled. GPIO (TLMM) registers should always
be accessible anyway, so logging of these accesses is unlikely to be
useful for debugging purposes.

Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Merge remote-tracking branch 'do/LG-STOCK-KK' into LG-STOCK-KK

Conflicts:
	arch/arm/configs/dorimanx_d801_defconfig
	arch/arm/configs/dorimanx_d802_defconfig
	arch/arm/configs/dorimanx_f320_defconfig