commit | 2adb3b8e6fa310d64ea6209f8ac5d5575839f6da | [log] [tgz] |
---|---|---|
author | Doug Anderson <dianders@chromium.org> | Tue Sep 09 16:06:04 2014 -0700 |
committer | Lee Jones <lee.jones@linaro.org> | Fri Sep 26 08:23:56 2014 +0100 |
tree | bc941f4576aec0eb36301f6ca2007bff0e71051c | |
parent | cfeb35da2ae36e26f6136b80351a06d34776587b [diff] |
mfd: rk808: Add register caching Let's define the voltatile registers (those that can't be cached) and enable caching. The rk808 is accessed almost constantly with cpufreq so this is really nice. As measured by ftrace: before this change: cpu0_set_target() => ~2200us after this change: cpu0_set_target() => ~500us Signed-off-by: Doug Anderson <dianders@chromium.org> Reviewed-by: Chris Zhong <zyw@rock-chips.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>