Initial commit
initial device support

Signed-off-by: Alin Jerpelea <alin.jerpelea@sonymobile.com>
update README.md

Signed-off-by: Alin Jerpelea <alin.jerpelea@sonymobile.com>
HAL: initial lights support

hal in sync with unified kernel

Signed-off-by: Alin Jerpelea <alin.jerpelea@sonymobile.com>
add gpio keys keylayout

Signed-off-by: Alin Jerpelea <alin.jerpelea@sonymobile.com>
update headers for 3.5.2.2 branch

Signed-off-by: Alin Jerpelea <alin.jerpelea@sonymobile.com>
Update msm_mdp.h to match kernel
liblights: Cleanup and fix for MDSS DSI CMD driven backlight
Merge pull request #5 from kholk/master

liblights fix for lcd-backlight and header update
Move fstab to devices

If /firmware partition does not exist then internal storage will not mount

Signed-off-by: Adam Farden <adam@farden.cz>
liblights: fix device permissions

Signed-off-by: Alin Jerpelea <alin.jerpelea@sonymobile.com>
update README

Signed-off-by: Alin Jerpelea <alin.jerpelea@sonymobile.com>
README.md: update build instructions

Signed-off-by: Alin Jerpelea <alin.jerpelea@sonymobile.com>
update kernel headers

Signed-off-by: Alin Jerpelea <alin.jerpelea@sonymobile.com>
Don't burn the CPU: scaling_min_freq 300000

CAF (crazily) sets this to 787MHz, but at least factory
images correctly set this to 300MHz.

Signed-off-by: Adam Farden <adam@farden.cz>
Use lollipop's improved fonts

Signed-off-by: Adam Farden <adam@farden.cz>
overlay: use lollipop's new screen off animation

Signed-off-by: Adam Farden <adam@farden.cz>
Implement scaling based on actual max_brightness value from /sys
overlay: lights: lower minimum brightness

Signed-off-by: Adam Farden <adam@farden.cz>
lights: hack: account for tianchi's dim backlight

Tianchi's backlight can get extra dim, meaning that
brightness values below 127 are effectively useless.

Use extremely clever and complicated maths to map
the brightness output range to 127-255.

Signed-off-by: Adam Farden <adam@farden.cz>