summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2012-09-24 22:56:51 -0500
committerPawit Pornkitprasan <p.pawit@gmail.com>2012-09-25 22:47:57 +0700
commitb2668817cf591d94452e6ae5974a05a718ef8469 (patch)
treea17bf8ef8c872ffe8ef49eab9761ff8cd621497e
parent273faebfc5312a9923073d907c710fe92e30d16c (diff)
downloaddevice_samsung_aries-common-b2668817cf591d94452e6ae5974a05a718ef8469.zip
device_samsung_aries-common-b2668817cf591d94452e6ae5974a05a718ef8469.tar.gz
device_samsung_aries-common-b2668817cf591d94452e6ae5974a05a718ef8469.tar.bz2
aries-common: Add power HAL
Add support bits for power HAL to be included from s5pc110 common Change-Id: I4e7f05dbd6fd64c085aa6309823bafe97581a38a
-rw-r--r--device_base.mk1
-rw-r--r--init.aries.rc3
2 files changed, 4 insertions, 0 deletions
diff --git a/device_base.mk b/device_base.mk
index 3ef9e76..18f111c 100644
--- a/device_base.mk
+++ b/device_base.mk
@@ -96,6 +96,7 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
lights.aries \
sensors.aries \
+ power.s5pc110 \
hwcomposer.s5pc110 \
camera.aries \
audio.primary.aries \
diff --git a/init.aries.rc b/init.aries.rc
index c26eb9c..a935f38 100644
--- a/init.aries.rc
+++ b/init.aries.rc
@@ -80,6 +80,9 @@ on post-fs
chown root system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
+# trigger governor change uevent
+ write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand
+
on post-fs-data
# wi-fi
mkdir /data/misc/wifi/sockets 0770 wifi wifi