From: Alex Sadovsky <nable.maininbox@googlemail.com>
To: u-boot@lists.u-boot-project.org
Subject: Re: [PATCH 2/2] i2c: mtk_mt8195_i2c_ddc: add new driver
Date: Mon, 27 Jul 2026 12:18:56 +0300 [thread overview]
Message-ID: <2a0cc9a3-520c-89db-c797-67afe326e5ec@googlemail.com> (raw)
In-Reply-To: <c1eaee92-5c92-9fd2-e41a-c19dd16f27a5@nabladev.com>
Hi Heiko and Julien,
>> If you want, I can ask MediaTek to clarify this.
>
> It would be nice to know... so if you get this info it would be cool,
> thanks!
I'm pretty sure "v" is a divider value, yet there's still something interesting missing:
208M / (832 * 4) is exactly 62.5k but 208M / (572 * 4) is closer to 91k than 90k.
Either some nasty details are hidden, or DDC2_CLOCK should be defined as 577 or 578, or comment is slightly imprecise about desired frequency.
> +#define DDC2_CLOCK 572 /* BIM=208M/(v*4) = 90Khz */
> +#define DDC2_CLOCK_EDID 832 /* BIM=208M/(v*4) = 62.5Khz */
Cheers, Alex.
prev parent reply other threads:[~2026-07-27 9:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-17 12:33 [PATCH 0/2] i2c: add HDMI DDC driver for MT8188 and MT8195 Julien Stephan
2026-07-17 12:33 ` [PATCH 1/2] edid: add default EDID_ADDR macro Julien Stephan
2026-07-22 5:10 ` Heiko Schocher via U-Boot
2026-07-17 12:33 ` [PATCH 2/2] i2c: mtk_mt8195_i2c_ddc: add new driver Julien Stephan
2026-07-22 5:20 ` Heiko Schocher via U-Boot
2026-07-27 8:49 ` Julien Stephan
2026-07-27 9:01 ` Heiko Schocher via U-Boot
2026-07-27 9:18 ` Alex Sadovsky [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=2a0cc9a3-520c-89db-c797-67afe326e5ec@googlemail.com \
--to=nable.maininbox@googlemail.com \
--cc=u-boot@lists.u-boot-project.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 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.