Skip to content
Commit 2adb3b8e authored by Doug Anderson's avatar Doug Anderson Committed by Lee Jones
Browse files

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: default avatarDoug Anderson <dianders@chromium.org>
Reviewed-by: default avatarChris Zhong <zyw@rock-chips.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent cfeb35da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment