From: "Albrecht Dreß" <albrecht.dress-KvP5wT2u2U0@public.gmane.org>
To: Devicetree Discussions
<devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>,
"Ben Dooks (embedded platforms)"
<ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>
Subject: Q/RFC: add dts property for i2c apater timeout?
Date: Tue, 12 Jan 2010 20:43:09 +0100 [thread overview]
Message-ID: <1263325400.2298.0@antares> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 612 bytes --]
Hi,
before submitting a patch, I would like to hear your opinion...
When testing a i2c bus on the '5200, I ran into bus hangs because one of the attached chips went south. The timeout in struct i2c_adapter of drivers/i2c/busses/i2c-mpc.c is hard-wired to 1 second (HZ jiffies) which is *really* (too) long, at least for my
use case.
Wouldn't it make sense to add an optional dts property as to overwrite that value? I.e. something like
timeout = <xxx>;
where xxx is given in microseconds? Or should the property read "fsl,timeout" as I would apply it to a Freescale chip?
Thanks, Albrecht.
[-- Attachment #1.2: Type: application/pgp-signature, Size: 190 bytes --]
[-- Attachment #2: Type: text/plain, Size: 192 bytes --]
_______________________________________________
devicetree-discuss mailing list
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
https://lists.ozlabs.org/listinfo/devicetree-discuss
reply other threads:[~2010-01-12 19:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1263325400.2298.0@antares \
--to=albrecht.dress-kvp5wt2u2u0@public.gmane.org \
--cc=ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.