Skip to content

Commit

Permalink
Enable OPP5 by default and limit startup frequency to 1 GHz
Browse files Browse the repository at this point in the history
  • Loading branch information
XDA Bam committed Jan 31, 2012
1 parent 4d1a252 commit cdfc302
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Kernel/arch/arm/configs/android_latona_r08_eng_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ CONFIG_SAMSUNG_BOARD_NAME="latona"
CONFIG_SAMSUNG_HW_REL_BOARD=y
CONFIG_SAMSUNG_REL_HW_REV=8
CONFIG_SAMSUNG_LATONA_OVERCLOCK_ENABLED=y
# CONFIG_SAMSUNG_LATONA_OPP5_ENABLED is not set
CONFIG_SAMSUNG_LATONA_OPP5_ENABLED=y
CONFIG_SAMSUNG_CONSOLE_UART=3
CONFIG_SAMSUNG_KERNEL_DEBUG=y
CONFIG_SAMSUNG_KERNEL_DEBUG_USER=y
Expand Down
2 changes: 1 addition & 1 deletion Kernel/arch/arm/configs/android_latona_r08_user_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ CONFIG_SAMSUNG_BOARD_NAME="latona"
CONFIG_SAMSUNG_HW_REL_BOARD=y
CONFIG_SAMSUNG_REL_HW_REV=8
CONFIG_SAMSUNG_LATONA_OVERCLOCK_ENABLED=y
# CONFIG_SAMSUNG_LATONA_OPP5_ENABLED is not set
CONFIG_SAMSUNG_LATONA_OPP5_ENABLED=y
CONFIG_SAMSUNG_CONSOLE_UART=3
CONFIG_SAMSUNG_KERNEL_DEBUG=y
# CONFIG_SAMSUNG_KERNEL_DEBUG_USER is not set
Expand Down
3 changes: 3 additions & 0 deletions ramdisk_CF-root/init.latona.rc
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ on early-boot
# Setting scaling governor
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor smartassV2

# Setting default startup frequency
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1000000

# change permissions for Sensors
chown system system /sys/bus/i2c/drivers/cma3000_accl/4-001c
chown system system /sys/bus/i2c/drivers/cma3000_accl/4-001c/enable
Expand Down
3 changes: 3 additions & 0 deletions ramdisk_CF-root_universal/init.latona.rc
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ on early-boot
# Setting scaling governor
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor smartassV2

# Setting default startup frequency
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1000000

# change permissions for Sensors
chown system system /sys/bus/i2c/drivers/cma3000_accl/4-001c
chown system system /sys/bus/i2c/drivers/cma3000_accl/4-001c/enable
Expand Down
3 changes: 3 additions & 0 deletions ramdisk_clean/init.latona.rc
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ on early-boot
# Setting scaling governor
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor smartassV2

# Setting default startup frequency
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1000000

# change permissions for Sensors
chown system system /sys/bus/i2c/drivers/cma3000_accl/4-001c
chown system system /sys/bus/i2c/drivers/cma3000_accl/4-001c/enable
Expand Down

0 comments on commit cdfc302

Please sign in to comment.