Find 7: Add Smartmax governor

PS3:
-unified smartmax config

Change-Id: I9df66776ab1a9227736a3baea0b48877e752f5b5
cpufreq: Unified governor/scaling switching (squashed commits)

cpufreq: unified governor and scaling min and max switching governor scaling_min_freq and scaling_max_freq will be populated to all online cpus immediately

cpufreq: unified governor and scaling min and max switching use related_cpus to apply correctly to new online cpus

cpufreq: block hotplugging during multi-cpu operations

cpufreq: dont apply multi-cpu values if not changed

Change-Id: I199d47409d1ed15bbf9e4856d528344560c6f092
find7: msm: mdss: fixed merge derp

Removed by accident in https://github.com/omnirom/android_kernel_oppo_msm8974/commit/43f827be250657eec4e13785d6f59f4032c62e49

Fixes the SOD

Change-Id: I9c1b6c2ceb12cb2de574c1c555748afac5b953e7
find7: Continue panel reset GPIO cleanup

Get it working for the QHD variant

This stuff needs further cleanup, but we'll do that later once the device is working.

Change-Id: I0ba80cbd593439acb87ac5809fd87133146c41ec
msm: mdss: Fix dual-DSI mixer swap

In dual-DSI panel configuration it is possible that panels are physically
swapped on the device. In those situations mixer swap is done. There is
an old dead code in current implementation which leads to failures in
mixer swap use-case. Fix these failures by removing this dead code.

Change-Id: Ib0d7141e322f18bcf1060bc5ab2a404dc41a4cc2
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
find7: Enable mixer swap

This flips the right/left halves of the panel

Change-Id: Ia6d1134cd40077ddd7462f554a741747355cf6be
Revert "find7: Enable mixer swap"

This will break Find 7a in its current form.  I should've mentioned that to Max.

This reverts commit 125aa75bf088f6d4effd89c607cb00f9c59ba817.

Change-Id: Ib29a3586015d4964b126d99b9f9453a9a897c177
find7s: Add missing part of Oppo merge

This handles swaping the DSI lanes for some panels

Change-Id: Ia462edd8e73dde6f054359426a5756245f861fc0
msm8974: cpufreq: Fix broken uevents for cpufreq governor and cpu devices

Change-Id: I906da5f2183467f3ec7e1e11595199e29e90c1ca
Find 7: The official version：SVN 8856

1.Optimize the headset performance
2.Optimize Sharp panel parameters

Change-Id: I5fa455cadaceacc9f7bb73cc9ad64f6cd3008039
msm8974: enable volume key gpio wakeup

Change-Id: I432c9a6f6f5a20b87dd27b2e80f9b004a7fe442c
msm8974: silence charger log a little bit

Change-Id: I048b37c7e27dc448a94aa44a9c5ef76a9c6dad64
Find7: fix headset detection and buttons

Change-Id: I51ba60ac22e8422dd88d6b49bd484513ab43264d

Conflicts:
	sound/soc/codecs/wcd9320.c
	sound/soc/codecs/wcd9xxx-mbhc.c
	sound/soc/msm/msm8974.c
Find 7: SVN8875 (OnePlus)

Change-Id: I9758bcf65777bcf4cf34b98c8dc08851dfb189e9
[1/2] find7: cpuquiet: initial bringup

Adds also required load average API in scheduler
Make sure you have disabled mpdecision if you use this

PS2:
-added enabled sysfs to allow easy disabling if required
-disable mpdecision load calc code if cpuquiet is running

Change-Id: I622fbc3027df897c380c51befc6da4f5bad39b2e
msm8974: smartmax: relax defaults

Now with cpuquiet we can relax some of the values

Change-Id: I9a83c357d522cfed301dddc944449f903861c957
msm8974: added input mediator

Brain dumb simple 2 level input event chain.
For clients that want input events to appear in a
certain order e.g. cpu hotplugging should get it
before cpufreq so that input boost is on both online
cpus

This is used in load_stats and rq_stats hotplugging
governor and in smartmax cpu governor

Change-Id: I3e3c28cffb640ec0f543eea7994a55bfa4182221