From: Doug Anderson Date: Thu, 11 Sep 2014 04:30:15 +0000 (-0700) Subject: ARM: dts: Switch i2c0 to 400kHz on rk3288-evb-rk808 X-Git-Tag: firefly_0821_release~176^2~3110^2~27^2~9 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0f4fc382428f71453d195925a3c63efc48452417;p=firefly-linux-kernel-4.4.55.git ARM: dts: Switch i2c0 to 400kHz on rk3288-evb-rk808 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 Reviewed-by Addy Ke Tested-by Addy Ke Signed-off-by: Heiko Stuebner --- diff --git a/arch/arm/boot/dts/rk3288-evb-rk808.dts b/arch/arm/boot/dts/rk3288-evb-rk808.dts index 36db177f6a5a..ff522f8e3df4 100644 --- a/arch/arm/boot/dts/rk3288-evb-rk808.dts +++ b/arch/arm/boot/dts/rk3288-evb-rk808.dts @@ -18,6 +18,7 @@ }; &i2c0 { + clock-frequency = <400000>; status = "okay"; rk808: pmic@1b {