summaryrefslogtreecommitdiffstats
path: root/embdrv/sbc
diff options
context:
space:
mode:
authortbalden <illespal@gmail.com>2013-03-10 11:30:46 +0100
committerGerrit Code Review <gerrit@cyanogenmod.org>2013-03-24 16:03:27 -0700
commit4b56e400bc2e101b7c3242c4556381ac8cb14ea5 (patch)
tree5f414cfac5fb5f2820687ed151e50b90e8f24e59 /embdrv/sbc
parentb7f44f86839bbf77a3d885125a13b6c7fea7e7b0 (diff)
downloadexternal_bluetooth_bluedroid-4b56e400bc2e101b7c3242c4556381ac8cb14ea5.zip
external_bluetooth_bluedroid-4b56e400bc2e101b7c3242c4556381ac8cb14ea5.tar.gz
external_bluetooth_bluedroid-4b56e400bc2e101b7c3242c4556381ac8cb14ea5.tar.bz2
a2dp hw: adding a2dp tuning through bdroid_buildcfg.h
This adds possibility to configure a2dp tuning on an arbitrary sysfs path and arbitrary ON/OFF values. It's activated when a2dp is being used, and deactivates when a2dp is stopped. This way a device can either use an a2dp_tuning sysfs file or cpu scaling min freq sysfs path with a target min_freq value for elevation. Here are two example of the two strategies of usage for this: bdroid_buildcfg.h - sysfs tuning file #define A2DP_HW_SYSFS_TUNER "/sys/devices/platform/tegra_uart.2/a2dp_tuning" #define A2DP_HW_SYSFS_TUNER_OFF "0" #define A2DP_HW_SYSFS_TUNER_ON "1" bdroid_buildcfg.h - scaling min freq file #define A2DP_HW_SYSFS_TUNER "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq" #define A2DP_HW_SYSFS_TUNER_OFF "0" #define A2DP_HW_SYSFS_TUNER_ON "204000" Change-Id: I2cd94e626eb2a6d04a6e52ddac94fa5773eb09d8
Diffstat (limited to 'embdrv/sbc')
0 files changed, 0 insertions, 0 deletions