ARM: dts: Switch i2c0 to 400kHz on rk3288-evb-rk808
authorDoug Anderson <dianders@chromium.org>
Thu, 11 Sep 2014 04:30:15 +0000 (21:30 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 11 Sep 2014 09:22:43 +0000 (11:22 +0200)
We should be able to talk to the PMIC at 400kHz.  No need to talk at
the slow 100kHz.

As measured by ftrace (with a bunch of extra patches, since cpufreq
for rk808 hasn't landed yet):
  before this change: cpu0_set_target() => ~500us
  after this change:  cpu0_set_target() => ~300us

Signed-off-by: Doug Anderson <dianders@chromium.org>
Reviewed-by Addy Ke <addy.ke@rock-chips.com>
Tested-by Addy Ke <addy.ke@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-evb-rk808.dts

index 36db177f6a5a30b3e03dd38c92999d38807fc2da..ff522f8e3df4ea393a00a83b509f4452b1ef1bff 100644 (file)
@@ -18,6 +18,7 @@
 };
 
 &i2c0 {
+       clock-frequency = <400000>;
        status = "okay";
 
        rk808: pmic@1b {