All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Thiery <heiko.thiery@gmail.com>
To: u-boot@lists.denx.de, Peng Fan <peng.fan@nxp.com>
Cc: Fabio Estevam <festevam@gmail.com>, Michael Walle <michael@walle.cc>
Subject: Re: imx: imx8mq: mxc_get_clock for MXC_I2C_CLK is missing
Date: Wed, 8 Sep 2021 17:45:25 +0200	[thread overview]
Message-ID: <CAEyMn7bhLDEeoAaLSqzb8oKEQdKRyfLXQ8_NOX5bnTuorEsw3w@mail.gmail.com> (raw)
In-Reply-To: <CAEyMn7bNxpqxZfdvgPj8fZbiFiAc8J__wOD6UEZ59U2A9p7yeg@mail.gmail.com>

Hi,

Am Mi., 8. Sept. 2021 um 16:07 Uhr schrieb Heiko Thiery
<heiko.thiery@gmail.com>:
>
> Hi,
>
> Am Mi., 8. Sept. 2021 um 15:08 Uhr schrieb Heiko Thiery
> <heiko.thiery@gmail.com>:
> >
> > Hi Peng,
> >
> > I faced an issue with the I2C bus speed in SPL for the imx8mq. I
> > figured out that the bus frequency is set to about 1MHz. While digging
> > into that I found that the clk ID for the I2C is not returned for the
> > imx8mq correctly.
> >
> > Can you confirm that this is missing here.
> >
> > This is what I added and now it looks better.
>
> Just measured the frequency and it is still not ok. It changed from
> 1MHz to 400kHZ. But expected is 100KHz.

Hi. I think now I understand that the SPL configures the I2C to 100kHz
and after that U-Boot will configure the 400kHz frequency due to the
dts configuration. I will measure the SPL vs U-Boot frequencies
tomorrow. I will confirm that after that.

-- 
Heiko

  reply	other threads:[~2021-09-08 15:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-08 13:08 imx: imx8mq: mxc_get_clock for MXC_I2C_CLK is missing Heiko Thiery
2021-09-08 14:07 ` Heiko Thiery
2021-09-08 15:45   ` Heiko Thiery [this message]
2021-09-09  8:08     ` Heiko Thiery
2021-09-15  2:53 ` Peng Fan (OSS)

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=CAEyMn7bhLDEeoAaLSqzb8oKEQdKRyfLXQ8_NOX5bnTuorEsw3w@mail.gmail.com \
    --to=heiko.thiery@gmail.com \
    --cc=festevam@gmail.com \
    --cc=michael@walle.cc \
    --cc=peng.fan@nxp.com \
    --cc=u-boot@lists.denx.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 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.