ret += snprintf(buf + ret, PAGE_SIZE - ret, "Current clk mali = %dMhz", clkrate / 1000000);
/* To be revised */
- ret += snprintf(buf + ret, PAGE_SIZE - ret, "\nPossible settings : 600, 400, 350, 266, 160, 100Mhz");
+ ret += snprintf(buf + ret, PAGE_SIZE - ret, "\nPossible settings : 500, 400, 350, 266, 160, 100Mhz");
if (ret < PAGE_SIZE - 1)
ret += snprintf(buf + ret, PAGE_SIZE - ret, "\n");
if (!platform->mali_clk_node)
return -ENODEV;
- if (sysfs_streq("600", buf)) {
- freq = 600;
+ if (sysfs_streq("500", buf)) {
+ freq = 500;
} else if (sysfs_streq("400", buf)) {
freq = 400;
} else if (sysfs_streq("350", buf)) {
ret += snprintf(buf + ret, PAGE_SIZE - ret, "Current Upper Lock Level = %dMhz", locked_level);
else
ret += snprintf(buf + ret, PAGE_SIZE - ret, "Unset the Upper Lock Level");
- ret += snprintf(buf + ret, PAGE_SIZE - ret, "\nPossible settings : 400, 350,266, 160, 100, If you want to unlock : 600 or off");
+ ret += snprintf(buf + ret, PAGE_SIZE - ret, "\nPossible settings : 400, 350,266, 160, 100, If you want to unlock : 500 or off");
#else
ret += snprintf(buf + ret, PAGE_SIZE - ret, "mali DVFS is disabled. You can not set");
#ifdef CONFIG_MALI_T6XX_DVFS
if (sysfs_streq("off", buf)) {
mali_dvfs_freq_unlock();
- } else if (sysfs_streq("600", buf)) {
+ } else if (sysfs_streq("500", buf)) {
mali_dvfs_freq_unlock();
} else if (sysfs_streq("400", buf)) {
mali_dvfs_freq_lock(4);
mali_dvfs_freq_lock(0);
} else {
dev_err(dev, "set_clock: invalid value\n");
- dev_err(dev, "Possible settings : 400, 350,266, 160, 100, If you want to unlock : 600\n");
+ dev_err(dev, "Possible settings : 400, 350,266, 160, 100, If you want to unlock : 500\n");
return -ENOENT;
}
#else /* CONFIG_MALI_T6XX_DVFS */
ret += snprintf(buf + ret, PAGE_SIZE - ret, "Current Under Lock Level = %dMhz", locked_level);
else
ret += snprintf(buf + ret, PAGE_SIZE - ret, "Unset the Under Lock Level");
- ret += snprintf(buf + ret, PAGE_SIZE - ret, "\nPossible settings : 600, 400, 350,266, 160, If you want to unlock : 100 or off");
+ ret += snprintf(buf + ret, PAGE_SIZE - ret, "\nPossible settings : 500, 400, 350,266, 160, If you want to unlock : 100 or off");
#else
ret += snprintf(buf + ret, PAGE_SIZE - ret, "mali DVFS is disabled. You can not set");
#ifdef CONFIG_MALI_T6XX_DVFS
if (sysfs_streq("off", buf)) {
mali_dvfs_freq_under_unlock();
- } else if (sysfs_streq("600", buf)) {
+ } else if (sysfs_streq("500", buf)) {
mali_dvfs_freq_under_lock(5);
} else if (sysfs_streq("400", buf)) {
mali_dvfs_freq_under_lock(4);
mali_dvfs_freq_under_unlock();
} else {
dev_err(dev, "set_clock: invalid value\n");
- dev_err(dev, "Possible settings : 533, 450, 400, 266, 160, If you want to unlock : 100 or off\n");
+ dev_err(dev, "Possible settings : 500, 400,350,266, 160, If you want to unlock : 100 or off\n");
return -ENOENT;
}
#else