From: "shekhar, chandra" <x0044955@ti.com>
To: Dominic Curran <dcurran@ti.com>, linux-omap@vger.kernel.org
Subject: Re: [PATCH 1/3] [OMAPZOOM] Lower i2c speed on bus 1 for LDP.
Date: Thu, 13 Nov 2008 08:19:59 +0530 [thread overview]
Message-ID: <062701c9453a$85ee81b0$LocalHost@wipultra806> (raw)
In-Reply-To: 200811121421.38438.dcurran@ti.com
----- 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
>
next prev parent reply other threads:[~2008-11-13 2:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-12 20:21 [PATCH 1/3] [OMAPZOOM] Lower i2c speed on bus 1 for LDP Dominic Curran
2008-11-13 2:49 ` shekhar, chandra [this message]
2008-11-13 2:58 ` Woodruff, Richard
-- strict thread matches above, loose matches on Subject: below --
2008-11-12 19:07 Dominic Curran
2008-11-12 19:59 ` David Brownell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='062701c9453a$85ee81b0$LocalHost@wipultra806' \
--to=x0044955@ti.com \
--cc=dcurran@ti.com \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox