How can I make my kernel compatible with KControl?

Please have a look at the below table, everything is explained there.

CPU Voltage TEGRA3
MSM
MSM #2
GPU Control
(module)
MSM
TEGRA3

The repos already come with a short README which should cover the basics, but here is a short command cheat-sheet:

  1. make sure you have no uncommitted changes in your repo (git clean in step 11 will otherwise remove them)
  2. build your kernel source. It has to be a successful, complete, boot-able build. The module will only work for this one build.
  3. cd /my/sensible/kernel/source/folder/
  4. git clone git-url-of-above-repo
  5. cd above-repo-name
  6. sed -i '/KERNEL_BUILD := /c\KERNEL_BUILD := ../' Makefile
  7. make
  8. cd ..
  9. cp arch/arm/boot/zImage YOUR_OUT_DIR/kernel/
  10. find . -name \*.ko -exec cp '{}' YOUR_OUT_DIR/modules/ ';'
  11. git clean -f -d
  12. if everything went alright, you should now see your zImage + modules (including kcontrol_gpu_msm/tegra.ko) in YOUR_OUT_DIR
These commands are especially useful to include in a script to automate your kernel build process.
YOUR kernel source won't be modified.
Thermal
(msm only)
Highly modified QCom msm_thermal, with 3-phases (needs hooks in your boardfile!)
MPDecision MSM version (for all Qualcomm socs officially, should work on all socs without additional low power cores though)
TEGRA3 version (includes handling for the low-power Ninja core)
Sweep2wake Sweep2wake is available as kernel patches for lots of devices.

Here is a quick overview:

Nexus 4 / Optimus G
HTC One S
HTC One X (int)
HTC Evo 3D/GSM
HTC Sensation
One XL / EVO LTE
HTC Droid DNA (monarudo)
HTC One
HTC Rezound
HTC One X+ USA
Samsung Galaxy S4
HTC First

It was ported to various other devices, though those links are not provided here. A quick search on XDA/Google for your device + sweep2wake should make them easy to find.
Color CM's & Faux123's gamma control kernel interfaces are supported.

Gamma control used in CM for Nexus 4 (mako)

See his repos on github for all patches:
faux123 @ github
Sound All of Faux123's sound control interfaces are supported.

Here is a quick overview:

APQ8064:
Nexus 4 / Optimus G
HTC One

MSM8960:
Samsung / HTC
Samsung / HTC #2

Version 2.1 Update:
HTC One

See his repos on github for all patches:
faux123 @ github
Page loaded in 0.000 seconds.