Re: [PATCH] ARM: dts: Switch i2c0 to 400kHz on rk3288-evb-rk808

2014-09-11 Thread Heiko Stübner
Am Mittwoch, 10. September 2014, 21:30:15 schrieb Doug Anderson:
> 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 

looks harmless :-)

I've added it to my v3.18-next/dts branch with Addy's tags


> ---
>  arch/arm/boot/dts/rk3288-evb-rk808.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/rk3288-evb-rk808.dts
> b/arch/arm/boot/dts/rk3288-evb-rk808.dts index 36db177..ff522f8 100644
> --- a/arch/arm/boot/dts/rk3288-evb-rk808.dts
> +++ b/arch/arm/boot/dts/rk3288-evb-rk808.dts
> @@ -18,6 +18,7 @@
>  };
> 
>   {
> + clock-frequency = <40>;
>   status = "okay";
> 
>   rk808: pmic@1b {

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] ARM: dts: Switch i2c0 to 400kHz on rk3288-evb-rk808

2014-09-11 Thread Addy

On 11 Sep 2014 12:30, Doug Anderson writes:
> 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 
> ---
>  arch/arm/boot/dts/rk3288-evb-rk808.dts | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/rk3288-evb-rk808.dts 
> b/arch/arm/boot/dts/rk3288-evb-rk808.dts
> index 36db177..ff522f8 100644
> --- a/arch/arm/boot/dts/rk3288-evb-rk808.dts
> +++ b/arch/arm/boot/dts/rk3288-evb-rk808.dts
> @@ -18,6 +18,7 @@
>  };
>  
>   {
> + clock-frequency = <40>;
>   status = "okay";
>  
>   rk808: pmic@1b {
I have tested on rk3288-pinky board, it work well. so

Reviewed-by Addy Ke 
Tested-by Addy Ke 


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] ARM: dts: Switch i2c0 to 400kHz on rk3288-evb-rk808

2014-09-11 Thread Addy

On 11 Sep 2014 12:30, Doug Anderson writes:
 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 diand...@chromium.org
 ---
  arch/arm/boot/dts/rk3288-evb-rk808.dts | 1 +
  1 file changed, 1 insertion(+)

 diff --git a/arch/arm/boot/dts/rk3288-evb-rk808.dts 
 b/arch/arm/boot/dts/rk3288-evb-rk808.dts
 index 36db177..ff522f8 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 = 40;
   status = okay;
  
   rk808: pmic@1b {
I have tested on rk3288-pinky board, it work well. so

Reviewed-by Addy Ke addy...@rock-chips.com
Tested-by Addy Ke addy...@rock-chips.com


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] ARM: dts: Switch i2c0 to 400kHz on rk3288-evb-rk808

2014-09-11 Thread Heiko Stübner
Am Mittwoch, 10. September 2014, 21:30:15 schrieb Doug Anderson:
 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 diand...@chromium.org

looks harmless :-)

I've added it to my v3.18-next/dts branch with Addy's tags


 ---
  arch/arm/boot/dts/rk3288-evb-rk808.dts | 1 +
  1 file changed, 1 insertion(+)
 
 diff --git a/arch/arm/boot/dts/rk3288-evb-rk808.dts
 b/arch/arm/boot/dts/rk3288-evb-rk808.dts index 36db177..ff522f8 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 = 40;
   status = okay;
 
   rk808: pmic@1b {

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] ARM: dts: Switch i2c0 to 400kHz on rk3288-evb-rk808

2014-09-10 Thread Doug Anderson
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 
---
 arch/arm/boot/dts/rk3288-evb-rk808.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/rk3288-evb-rk808.dts 
b/arch/arm/boot/dts/rk3288-evb-rk808.dts
index 36db177..ff522f8 100644
--- a/arch/arm/boot/dts/rk3288-evb-rk808.dts
+++ b/arch/arm/boot/dts/rk3288-evb-rk808.dts
@@ -18,6 +18,7 @@
 };
 
  {
+   clock-frequency = <40>;
status = "okay";
 
rk808: pmic@1b {
-- 
2.1.0.rc2.206.gedb03e5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] ARM: dts: Switch i2c0 to 400kHz on rk3288-evb-rk808

2014-09-10 Thread Doug Anderson
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 diand...@chromium.org
---
 arch/arm/boot/dts/rk3288-evb-rk808.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/rk3288-evb-rk808.dts 
b/arch/arm/boot/dts/rk3288-evb-rk808.dts
index 36db177..ff522f8 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 = 40;
status = okay;
 
rk808: pmic@1b {
-- 
2.1.0.rc2.206.gedb03e5

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/