From: minyard@acm.org
To: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>,
linux-i2c@vger.kernel.org,
Andrew Manley <andrew.manley@sealingtech.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/3] i2c:imx: Deliver a timely stop on slave side, fix recv
Date: Mon, 4 Oct 2021 19:32:13 -0500 [thread overview]
Message-ID: <20211005003216.2670632-1-minyard@acm.org> (raw)
I was working on an application that needs the stop condition
immediately. So this adds a timer after each byte is received/sent and
if the bus is idle at the timeout, send the stop.
Also, I noticed when you use the i2c-slave-eeprom, if you read some data
and then read some data again, the last byte of the first read will be
the first byte of the second read. This is because i2c-slave-eeprom
expects a read-ahead. That's what the documentation says, at least.
-corey
next reply other threads:[~2021-10-05 0:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-05 0:32 minyard [this message]
2021-10-05 0:32 ` [PATCH 1/3] i2c:imx: Add timer for handling the stop condition minyard
2021-11-01 17:27 ` Corey Minyard
2021-11-10 8:58 ` Oleksij Rempel
2021-10-05 0:32 ` [PATCH 2/3] i2c:imx: Add an extra read at the end of an I2C slave read minyard
2021-11-10 8:58 ` Oleksij Rempel
2021-10-05 0:32 ` [PATCH 3/3] i2c:imx: Use an hrtimer, not a timer, for checking for bus idle minyard
2021-11-02 8:58 ` Uwe Kleine-König
2021-11-02 11:50 ` Corey Minyard
2021-11-10 9:03 ` Oleksij Rempel
2021-11-10 14:45 ` Corey Minyard
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=20211005003216.2670632-1-minyard@acm.org \
--to=minyard@acm.org \
--cc=andrew.manley@sealingtech.com \
--cc=kernel@pengutronix.de \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=o.rempel@pengutronix.de \
/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;
as well as URLs for NNTP newsgroup(s).