public inbox for imx@lists.linux.dev
 help / color / mirror / Atom feed
From: Richard Leitner <richard.leitner@linux.dev>
To: Shenwei Wang <shenwei.wang@nxp.com>
Cc: "imx@lists.linux.dev" <imx@lists.linux.dev>
Subject: Re: [EXT] I2C_IMX support for i.MX8MP
Date: Thu, 18 Aug 2022 10:40:42 +0200	[thread overview]
Message-ID: <Yv37CrPtlm0WSUmd@skidata.com> (raw)
In-Reply-To: <DB9PR04MB82843B074F7F2ADB0D455867896A9@DB9PR04MB8284.eurprd04.prod.outlook.com>

On Wed, Aug 17, 2022 at 02:14:53PM +0000, Shenwei Wang wrote:
> 
> The support for imx8mp-evk board has already pushed to mainline. That includes the usage of i2c-imx.
> For example, a GPIO expander is connected to I2C3 on evk board.

Thanks again. It now works with linux v6.0-rc1.

The missing piece was setting the 0x40000000 bit in the SW_PAD_CTL
registers of SCL and SDA.
Unfortunately this bit seems to be undocumented in the RefManual and
also the driver documentation doesn't state anything about it.

Can you please shed some light in this "magic" bit? Would be really
helpful, thanks!

Furthermore I guess documenting it somewhere in the driver or setting it
implicitely (if that's possible) would be a good idea?

regards;rl

  parent reply	other threads:[~2022-08-18  8:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-17 10:38 I2C_IMX support for i.MX8MP Richard Leitner
2022-08-17 14:01 ` [EXT] " Shenwei Wang
2022-08-17 14:07   ` Richard Leitner
2022-08-17 14:14     ` Shenwei Wang
2022-08-18  6:55       ` Richard Leitner
2022-08-18  8:40       ` Richard Leitner [this message]
2022-08-18 11:59         ` Shenwei Wang
2022-08-18 12:54           ` David Wolfson
2022-08-18 13:47             ` Richard Leitner
2022-08-29  7:00               ` Richard Leitner

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=Yv37CrPtlm0WSUmd@skidata.com \
    --to=richard.leitner@linux.dev \
    --cc=imx@lists.linux.dev \
    --cc=shenwei.wang@nxp.com \
    /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