From: David Wolfson <wolfson.sol@gmail.com>
To: Shenwei Wang <shenwei.wang@nxp.com>
Cc: Richard Leitner <richard.leitner@linux.dev>,
"imx@lists.linux.dev" <imx@lists.linux.dev>
Subject: Re: [EXT] I2C_IMX support for i.MX8MP
Date: Thu, 18 Aug 2022 07:54:04 -0500 [thread overview]
Message-ID: <20220818125404.GA45792@ubuntu> (raw)
In-Reply-To: <AM9PR04MB827430FBD894470753E97BC5896D9@AM9PR04MB8274.eurprd04.prod.outlook.com>
On Thu, Aug 18, 2022 at 11:59:41AM +0000, Shenwei Wang wrote:
>Hi Richard,
>
>Nothing is hidden here. That is PAD control register, and should be documented in the IOMUXC and PIN Control section in the RM.
>
Checking the IOMUX and PADs' settings is the first step when enabling
an interface.
David
>Regards,
>Shenwei
>
>> -----Original Message-----
>> From: Richard Leitner <richard.leitner@linux.dev>
>> Sent: Thursday, August 18, 2022 3:41 AM
>> To: Shenwei Wang <shenwei.wang@nxp.com>
>> Cc: imx@lists.linux.dev
>> Subject: Re: [EXT] I2C_IMX support for i.MX8MP
>>
>> Caution: EXT Email
>>
>> 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
next prev parent reply other threads:[~2022-08-18 12:54 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
2022-08-18 11:59 ` Shenwei Wang
2022-08-18 12:54 ` David Wolfson [this message]
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=20220818125404.GA45792@ubuntu \
--to=wolfson.sol@gmail.com \
--cc=imx@lists.linux.dev \
--cc=richard.leitner@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;
as well as URLs for NNTP newsgroup(s).