* [PATCH 1/3] [OMAPZOOM] Lower i2c speed on bus 1 for LDP.
@ 2008-11-12 19:07 Dominic Curran
2008-11-12 19:59 ` David Brownell
0 siblings, 1 reply; 5+ messages in thread
From: Dominic Curran @ 2008-11-12 19:07 UTC (permalink / raw)
To: linux-omap
Lower i2c bus 1 speed to 400KHz for LDP.
Signed-off-by: Dominic Curran <dcurran@ti.com>
---
arch/arm/mach-omap2/board-ldp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c
index d889ce8..b2e8c9c 100755
--- a/arch/arm/mach-omap2/board-ldp.c
+++ b/arch/arm/mach-omap2/board-ldp.c
@@ -797,7 +797,7 @@ static struct i2c_board_info __initdata ldp_i2c_boardinfo_2[] = {
static int __init omap_i2c_init(void)
{
- omap_register_i2c_bus(1, 2600, ldp_i2c_boardinfo,
+ omap_register_i2c_bus(1, 400, ldp_i2c_boardinfo,
ARRAY_SIZE(ldp_i2c_boardinfo));
omap_register_i2c_bus(2, 100, ldp_i2c_boardinfo_2,
ARRAY_SIZE(ldp_i2c_boardinfo_2));
--
1.5.4.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/3] [OMAPZOOM] Lower i2c speed on bus 1 for LDP.
2008-11-12 19:07 [PATCH 1/3] [OMAPZOOM] Lower i2c speed on bus 1 for LDP Dominic Curran
@ 2008-11-12 19:59 ` David Brownell
0 siblings, 0 replies; 5+ messages in thread
From: David Brownell @ 2008-11-12 19:59 UTC (permalink / raw)
To: Dominic Curran; +Cc: linux-omap
On Wednesday 12 November 2008, Dominic Curran wrote:
> Lower i2c bus 1 speed to 400KHz for LDP.
Does something go wrong if it's faster, then?
If so, the failure needs to be in the patch comment.
If not ...
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] [OMAPZOOM] Lower i2c speed on bus 1 for LDP.
@ 2008-11-12 20:21 Dominic Curran
2008-11-13 2:49 ` shekhar, chandra
0 siblings, 1 reply; 5+ messages in thread
From: Dominic Curran @ 2008-11-12 20:21 UTC (permalink / raw)
To: linux-omap
Resending patch with more descriptive comment.
Lower i2c bus 1 speed to 400KHz for LDP.
At 2600KHz i2c reads from twl4030 keypad driver are returning
incorrect data. Reason unknown. Lowering bus speed as temporary
fix to get LDP keypad working.
Signed-off-by: Dominic Curran <dcurran@ti.com>
---
arch/arm/mach-omap2/board-ldp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c
index d889ce8..b2e8c9c 100755
--- a/arch/arm/mach-omap2/board-ldp.c
+++ b/arch/arm/mach-omap2/board-ldp.c
@@ -797,7 +797,7 @@ static struct i2c_board_info __initdata ldp_i2c_boardinfo_2[] = {
static int __init omap_i2c_init(void)
{
- omap_register_i2c_bus(1, 2600, ldp_i2c_boardinfo,
+ omap_register_i2c_bus(1, 400, ldp_i2c_boardinfo,
ARRAY_SIZE(ldp_i2c_boardinfo));
omap_register_i2c_bus(2, 100, ldp_i2c_boardinfo_2,
ARRAY_SIZE(ldp_i2c_boardinfo_2));
--
1.5.4.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/3] [OMAPZOOM] Lower i2c speed on bus 1 for LDP.
2008-11-12 20:21 Dominic Curran
@ 2008-11-13 2:49 ` shekhar, chandra
2008-11-13 2:58 ` Woodruff, Richard
0 siblings, 1 reply; 5+ messages in thread
From: shekhar, chandra @ 2008-11-13 2:49 UTC (permalink / raw)
To: Dominic Curran, linux-omap
----- Original Message -----
From: "Dominic Curran" <dcurran@ti.com>
To: <linux-omap@vger.kernel.org>
Sent: Thursday, November 13, 2008 1:51 AM
Subject: [PATCH 1/3] [OMAPZOOM] Lower i2c speed on bus 1 for LDP.
> Resending patch with more descriptive comment.
>
> Lower i2c bus 1 speed to 400KHz for LDP.
> At 2600KHz i2c reads from twl4030 keypad driver are returning
> incorrect data. Reason unknown. Lowering bus speed as temporary
> fix to get LDP keypad working.
>
> Signed-off-by: Dominic Curran <dcurran@ti.com>
> ---
> arch/arm/mach-omap2/board-ldp.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c
> index d889ce8..b2e8c9c 100755
> --- a/arch/arm/mach-omap2/board-ldp.c
> +++ b/arch/arm/mach-omap2/board-ldp.c
> @@ -797,7 +797,7 @@ static struct i2c_board_info __initdata
> ldp_i2c_boardinfo_2[] = {
>
> static int __init omap_i2c_init(void)
> {
> - omap_register_i2c_bus(1, 2600, ldp_i2c_boardinfo,
> + omap_register_i2c_bus(1, 400, ldp_i2c_boardinfo,
> ARRAY_SIZE(ldp_i2c_boardinfo));
Last time i checked we were getting few errors (returning incorrect values) even
at 400k , and no error at 100k.
Have you seen any at 400k?
> omap_register_i2c_bus(2, 100, ldp_i2c_boardinfo_2,
> ARRAY_SIZE(ldp_i2c_boardinfo_2));
> --
> 1.5.4.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH 1/3] [OMAPZOOM] Lower i2c speed on bus 1 for LDP.
2008-11-13 2:49 ` shekhar, chandra
@ 2008-11-13 2:58 ` Woodruff, Richard
0 siblings, 0 replies; 5+ messages in thread
From: Woodruff, Richard @ 2008-11-13 2:58 UTC (permalink / raw)
To: Shekhar, Chandra, Curran, Dominic, linux-omap@vger.kernel.org
I noticed that l-o updated divisors the other day.
It might be some sync'ing pulled in bad dividers?
Regards,
Richard W.
> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> owner@vger.kernel.org] On Behalf Of shekhar, chandra
> Sent: Wednesday, November 12, 2008 8:50 PM
> To: Curran, Dominic; linux-omap@vger.kernel.org
> Subject: Re: [PATCH 1/3] [OMAPZOOM] Lower i2c speed on bus 1 for LDP.
>
>
> ----- Original Message -----
> From: "Dominic Curran" <dcurran@ti.com>
> To: <linux-omap@vger.kernel.org>
> Sent: Thursday, November 13, 2008 1:51 AM
> Subject: [PATCH 1/3] [OMAPZOOM] Lower i2c speed on bus 1 for LDP.
>
>
> > Resending patch with more descriptive comment.
> >
> > Lower i2c bus 1 speed to 400KHz for LDP.
> > At 2600KHz i2c reads from twl4030 keypad driver are returning
> > incorrect data. Reason unknown. Lowering bus speed as temporary
> > fix to get LDP keypad working.
> >
> > Signed-off-by: Dominic Curran <dcurran@ti.com>
> > ---
> > arch/arm/mach-omap2/board-ldp.c | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-
> omap2/board-ldp.c
> > index d889ce8..b2e8c9c 100755
> > --- a/arch/arm/mach-omap2/board-ldp.c
> > +++ b/arch/arm/mach-omap2/board-ldp.c
> > @@ -797,7 +797,7 @@ static struct i2c_board_info __initdata
> > ldp_i2c_boardinfo_2[] = {
> >
> > static int __init omap_i2c_init(void)
> > {
> > - omap_register_i2c_bus(1, 2600, ldp_i2c_boardinfo,
> > + omap_register_i2c_bus(1, 400, ldp_i2c_boardinfo,
> > ARRAY_SIZE(ldp_i2c_boardinfo));
>
>
> Last time i checked we were getting few errors (returning incorrect
> values) even
> at 400k , and no error at 100k.
> Have you seen any at 400k?
>
>
> > omap_register_i2c_bus(2, 100, ldp_i2c_boardinfo_2,
> > ARRAY_SIZE(ldp_i2c_boardinfo_2));
> > --
> > 1.5.4.1
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> >
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-11-13 2:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-12 19:07 [PATCH 1/3] [OMAPZOOM] Lower i2c speed on bus 1 for LDP Dominic Curran
2008-11-12 19:59 ` David Brownell
-- strict thread matches above, loose matches on Subject: below --
2008-11-12 20:21 Dominic Curran
2008-11-13 2:49 ` shekhar, chandra
2008-11-13 2:58 ` Woodruff, Richard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox