]> git.karo-electronics.de Git - karo-tx-linux.git/commit
selftest: cpufreq: Add support for cpufreq tests
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 13 Jan 2017 06:36:45 +0000 (12:06 +0530)
committerShuah Khan <shuahkh@osg.samsung.com>
Thu, 19 Jan 2017 17:32:05 +0000 (10:32 -0700)
commite66d5b673741cf6b7da250da9f84a165b1e4342d
tree8f9208141d6680a61dfe931544cf0e19b8a7b242
parent6320303fb27ae46919c13b2f9ebf3f3a3ad63859
selftest: cpufreq: Add support for cpufreq tests

This patch adds supports for basic cpufreq tests, which can be performed
independent of any platform.

It does basic tests for now, like
- reading all cpufreq files
- trying to update them
- switching frequencies
- switching governors

This can be extended to have more specific tests later on.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/Makefile
tools/testing/selftests/cpufreq/Makefile [new file with mode: 0644]
tools/testing/selftests/cpufreq/cpu.sh [new file with mode: 0755]
tools/testing/selftests/cpufreq/cpufreq.sh [new file with mode: 0755]
tools/testing/selftests/cpufreq/governor.sh [new file with mode: 0755]
tools/testing/selftests/cpufreq/main.sh [new file with mode: 0755]