d2: add support for new sysinterface

kanged from codeworkx
Change-Id: I837593c59c5439ab4e18d176713614292bceba81
apexq: add support for panel color shifting based on a sysfs interface

Adapted from work by morfic and ktoonsez and invisiblek

Creates a sysfs interface here:
  /sys/class/lcs/panel/panel_colors

Will accept 0-4 for parameters:
  0 - Cold (more blues)
  1 - Cool
  2 - Normal (stock colors)
  3 - Warm
  4 - Hot (more reds)

PS2: whitespace error correction

Change-Id: I457504ba2c7bd966e5c21767c769d0d637284ea4
ApexQ: minor usb fix

power_supply.h has 14 types on this kernel

Change-Id: I6e264cf6208c5c1b4753ddf4d71c0f5f9bb0912d
Merge "d2: add support for new sysinterface" into cm-10.2
Merge "ApexQ: minor usb fix" into cm-10.2
Merge branch 'cm-10.2' into martincz