public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa@kernel.org>
To: Andrew Lunn <andrew@lunn.ch>
Cc: Oleksij Rempel <linux@rempel-privat.de>,
	kernel@pengutronix.de, shawnguo@kernel.org,
	s.hauer@pengutronix.de, sumit.semwal@linaro.org,
	linux-i2c@vger.kernel.org
Subject: Re: IMX I2C driver and DMA mapping errors
Date: Sat, 5 Nov 2022 22:34:43 +0100	[thread overview]
Message-ID: <Y2bW8+FVc9SaXhUI@shikoro> (raw)
In-Reply-To: <Y2bC2WrixK8EwivW@lunn.ch>

[-- Attachment #1: Type: text/plain, Size: 341 bytes --]


> I think the I2C client API
> does not force you to use DMA friendly memory? It is up to the master

Correct, it does not. A lot of drivers do not support DMA still.

> driver to use a bounce buffer if needed?

Exactly.

> https://docs.kernel.org/i2c/dma-considerations.html

This doc mentions I2C core helpers for simple bounce buffers.


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2022-11-05 21:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-05 20:08 IMX I2C driver and DMA mapping errors Andrew Lunn
2022-11-05 21:34 ` Wolfram Sang [this message]

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=Y2bW8+FVc9SaXhUI@shikoro \
    --to=wsa@kernel.org \
    --cc=andrew@lunn.ch \
    --cc=kernel@pengutronix.de \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux@rempel-privat.de \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=sumit.semwal@linaro.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