Squashed revert of panel color shifting sysfs interface

Squashed revert for the whole d2 family in preparation for
gamma control shifting.

This reverts commits 62eda51c6195cd0b08d7a4d34d29f7be077f9bf6,
                     41db8f4436b2c55bf9fe1932136e8cae3b04821f,
                     90459ce34ecd1c31591feddfea4b3a1d88ca314e,
                     d97dcfbaf1656c4fcc1e1d0b8a694e8edaba5b6c.

Change-Id: I242cd87025c7075ff36c03632e8fbad33ac8b230
Add Gamma Control v1

Import gamma_control.c at 5647088 from
https://bitbucket.org/morfic/trinity_four

Change-Id: I33dc38b9148c856cc2d27e8a1b1829609b31646b
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: morfic <morfic@gmail.com>
GammaControl: Rework for the d2 family

Rework to gamma control to go along with our panels, bump version
& add make parts.

RGB gamma curve can be shifted by modifying files in:
"/sys/class/misc/gamma_control"

Each gamma value requires 3 values for shifting (red, green, & blue),
i.e:
  echo "25 6 -10" > /sys/class/misc/gamma_control/v255rgb

Includes changes to color offset application from d97dcfb & 90459ce

Change-Id: I81d6ff7bfd261d9c52491da157a4e696168dc8f8
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
GammaControl: create a single tunable knob using previous presets

Change-Id: I49a7f5d009f9a8f51b4a73fae65ba07cdc14b38f
Merge changes I49a7f5d0,I81d6ff7b,I33dc38b9,I242cd870 into cm-11.0

* changes:
  GammaControl: create a single tunable knob using previous presets
  GammaControl: Rework for the d2 family
  Add Gamma Control v1
  Squashed revert of panel color shifting sysfs interface