mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] i2c-omap: fix am33xx fclk_rate
@ 2013-08-30 12:22 Jan Weitzel
  2013-08-30 12:45 ` [PATCHi v2] i2c-omap: fix am33xx and omap3 fclk_rate Jan Weitzel
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Weitzel @ 2013-08-30 12:22 UTC (permalink / raw)
  To: barebox

commit f64ed12b change the clock accidentally from 48000 to 96000.
Revert this change.

Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
---
 drivers/i2c/busses/i2c-omap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index b2a74c0..c38f669 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -259,7 +259,7 @@ static struct omap_i2c_driver_data omap4_data = {
 static struct omap_i2c_driver_data am33xx_data = {
 	.flags =	OMAP_I2C_FLAG_RESET_REGS_POSTIDLE |
 			OMAP_I2C_FLAG_BUS_SHIFT_NONE,
-	.fclk_rate =	96000,
+	.fclk_rate =	48000,
 	.regs =		(u8 *) omap4_reg_map,
 };
 
-- 
1.7.0.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCHi v2] i2c-omap: fix am33xx and omap3 fclk_rate
  2013-08-30 12:22 [PATCH] i2c-omap: fix am33xx fclk_rate Jan Weitzel
@ 2013-08-30 12:45 ` Jan Weitzel
  2013-08-31 10:03   ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Weitzel @ 2013-08-30 12:45 UTC (permalink / raw)
  To: barebox

commit f64ed12b accidentally swap fclk_rate from am33xx and omap3.
Revert this change.

Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
---
v2:
Fix also omap3 fclk_rate
Rename patch "i2c-omap: fix am33xx fclk_rate"

 drivers/i2c/busses/i2c-omap.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index b2a74c0..2eb5133 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -246,7 +246,7 @@ struct omap_i2c_driver_data {
 static struct omap_i2c_driver_data omap3_data = {
 	.flags =	OMAP_I2C_FLAG_RESET_REGS_POSTIDLE |
 			OMAP_I2C_FLAG_BUS_SHIFT_2,
-	.fclk_rate =	48000,
+	.fclk_rate =	96000,
 	.regs =		(u8 *) reg_map,
 };
 
@@ -259,7 +259,7 @@ static struct omap_i2c_driver_data omap4_data = {
 static struct omap_i2c_driver_data am33xx_data = {
 	.flags =	OMAP_I2C_FLAG_RESET_REGS_POSTIDLE |
 			OMAP_I2C_FLAG_BUS_SHIFT_NONE,
-	.fclk_rate =	96000,
+	.fclk_rate =	48000,
 	.regs =		(u8 *) omap4_reg_map,
 };
 
-- 
1.7.0.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCHi v2] i2c-omap: fix am33xx and omap3 fclk_rate
  2013-08-30 12:45 ` [PATCHi v2] i2c-omap: fix am33xx and omap3 fclk_rate Jan Weitzel
@ 2013-08-31 10:03   ` Sascha Hauer
  0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2013-08-31 10:03 UTC (permalink / raw)
  To: Jan Weitzel; +Cc: barebox

On Fri, Aug 30, 2013 at 02:45:32PM +0200, Jan Weitzel wrote:
> commit f64ed12b accidentally swap fclk_rate from am33xx and omap3.
> Revert this change.
> 
> Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>

Applied, thanks

Sascha

> ---
> v2:
> Fix also omap3 fclk_rate
> Rename patch "i2c-omap: fix am33xx fclk_rate"
> 
>  drivers/i2c/busses/i2c-omap.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
> index b2a74c0..2eb5133 100644
> --- a/drivers/i2c/busses/i2c-omap.c
> +++ b/drivers/i2c/busses/i2c-omap.c
> @@ -246,7 +246,7 @@ struct omap_i2c_driver_data {
>  static struct omap_i2c_driver_data omap3_data = {
>  	.flags =	OMAP_I2C_FLAG_RESET_REGS_POSTIDLE |
>  			OMAP_I2C_FLAG_BUS_SHIFT_2,
> -	.fclk_rate =	48000,
> +	.fclk_rate =	96000,
>  	.regs =		(u8 *) reg_map,
>  };
>  
> @@ -259,7 +259,7 @@ static struct omap_i2c_driver_data omap4_data = {
>  static struct omap_i2c_driver_data am33xx_data = {
>  	.flags =	OMAP_I2C_FLAG_RESET_REGS_POSTIDLE |
>  			OMAP_I2C_FLAG_BUS_SHIFT_NONE,
> -	.fclk_rate =	96000,
> +	.fclk_rate =	48000,
>  	.regs =		(u8 *) omap4_reg_map,
>  };
>  
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-31 10:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-30 12:22 [PATCH] i2c-omap: fix am33xx fclk_rate Jan Weitzel
2013-08-30 12:45 ` [PATCHi v2] i2c-omap: fix am33xx and omap3 fclk_rate Jan Weitzel
2013-08-31 10:03   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox