Revert "KGSL: Simple Governor: fix minor logic issue"

This reverts commit e2cc646db0f661d37fc40e354ee0b6e736a00e2f.
Revert "KGSL: simple governor: expose tunables to sysfs interface via module_param"

This reverts commit f6ec27184556b5ee450c8574da1f0979d2da6240.
Revert "KGSL: make simple govenor a selectable option, co-exist with ondemand"

This reverts commit cff43a1fc950dc936fcb8814ccb465b4da55ddf6.
Revert "KGSL: Add a simple GPU governor for Adreno xxx GPU series"

This reverts commit 6ede4b15e0f64ce54e152f15eefd08545e9466ce.
Revert "Revert "GPU Overclock: Initial 8064 GPU Overclock to 487 MHz""

This reverts commit 62de1f4f2091def1b2f1f89b9a6aac364457af9a.
Revert "Revert "GPU Overclock: fix missing PORT1 settings for Adren320 (dual ports)""

This reverts commit 4516346d623d45ed7d010229f67e38933135325d.
Revert "Revert "configs: enable gpu overclock""

This reverts commit d63c0b3a4a770cd5a2b9d22ace05d4c7d1b4db3f.
clock-8960: partially revert GPU OC for new CAF updates

Signed-off-by: faux123 <reioux@gmail.com>
msm: clock-8960: Add support for 8064v2 and 8064ab.

Adjust frequency tables and voltage limits for both v2 and ab
changes.

Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
(cherry picked from commit b7c777ac16dfff010cb92b5d3347436859d3302f)

Conflicts:

	arch/arm/mach-msm/clock-8960.c

Signed-off-by: Dhivya Subramanian <dthiru@codeaurora.org>
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
(cherry picked from commit 40d13ce3afe5771d2b78bfbf862d87459f541e8b)

Conflicts:

	arch/arm/mach-msm/clock-8960.c

Change-Id: Id662c9480840f301f4111e8f6744b53869f8e3c7
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
clock-8960: consolidate 3d tables and re-enable GPU overclocking

Signed-off-by: faux123 <reioux@gmail.com>
msm: clock-8960: Add 1.8MHz rate to 8064's gfx3d_clk plan

This rate will be used by the 'footswitch-8x60' driver when
controlling GFX3D power.

Change-Id: Ib796114dc90b468f1c0aa014a9db699f3b854adf
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
msm: footswitch-8x60: Allow specification of per-fs reset delays

Custom reset rates can be specified for clocks via fs_clk_data. If
these rates are very low, then the default reset delay of 1us may
not be sufficient. Address this by allowing custom reset delays to
be specified on a per-footswitch bases.

Change-Id: Id9b9377d79436a7fe5007a8f37216a456d66ce1a
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

Conflicts:
	arch/arm/mach-msm/footswitch-8x60.c
	arch/arm/mach-msm/footswitch.h
msm: footswitch-8x60: Update 8064 footswitch_enable() sequence for GFX3D

Update 8064's GFX3D enable sequence per hardware designer recommendations
to improve system stability when responding to the inrush current event.

Differences from the standard footswitch_enable() sequence include:
 - Decreasing the reset_rate from 27MHz to 1.8MHz, and increasing
   reset_delay_us from 1us to 10us to compensate for the slower clock.
 - Enable clocks for reset propagation only after the core has been
   powered on.
 - Forcefully limit the AFAB and EBI1 clocks to a low value (decided
   by the RPM) by means of a write to the RPM_CTL RPM resource.
 - Removal of the reset toggle after powering on the core, which (while
   harmless) is not applicable to 8064.

Change-Id: I943842b56ff96b2e6077a419566d91ac184a6fda
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

Conflicts:
	arch/arm/mach-msm/footswitch-8x60.c
GPU Overclock: restore nominal to 320 MHz for now

Signed-off-by: Paul Reioux <reioux@gmail.com>
GPU Overclock: add 360 Mhz and 600 Mhz option and use the new frequencies

360 Mhz will be the new nominal
600 Mhz will be the new turbo

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