From: Mattijs Korpershoek via U-Boot <u-boot@lists.u-boot-project.org>
To: Julien Stephan <jstephan@baylibre.com>, u-boot@lists.denx.de
Cc: GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>,
Tom Rini <trini@konsulko.com>, Ryder Lee <ryder.lee@mediatek.com>,
Weijie Gao <weijie.gao@mediatek.com>,
Chunfeng Yun <chunfeng.yun@mediatek.com>,
Igor Belwon <igor.belwon@mentallysanemainliners.org>,
David Lechner <dlechner@baylibre.com>,
Minkyu Kang <mk7.kang@samsung.com>,
Casey Connolly <casey.connolly@linaro.org>,
Tim Harvey <tharvey@gateworks.com>,
Quentin Schulz <quentin.schulz@cherry.de>,
"Lucien.Jheng" <lucienzx159@gmail.com>,
Alice Guo <alice.guo@nxp.com>,
Sam Protsenko <semen.protsenko@linaro.org>,
Johan Jonker <jbx6244@gmail.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Mattijs Korpershoek <mkorpershoek@kernel.org>,
Pavlo Yadvychuk <pyadvychuk@baylibre.com>,
Macpaul Lin <macpaul.lin@mediatek.com>,
Julien Stephan <jstephan@baylibre.com>
Subject: Re: [PATCH] phy: phy-mtk-hdmi: add new driver
Date: Tue, 21 Jul 2026 11:22:15 +0200 [thread overview]
Message-ID: <871pcwk88o.fsf@kernel.org> (raw)
In-Reply-To: <20260717-mt8188-add-hdmi-phy-driver-v1-1-4278457fe2cb@baylibre.com>
Hi Julien,
Thank you for the patch.
On Fri, Jul 17, 2026 at 10:26, Julien Stephan <jstephan@baylibre.com> wrote:
> Add a new driver for the HDMI PHY. The driver supports MT8188 and MT8195
> based SoCs. The driver is based on the corresponding kernel driver.
What kernel version (exact commit, including the sha) has this been
ported from ?
Mentioning it in the commit message will help reviewers to compare this
with the linux codebase.
I can do a more detailed review once I know the linux base this has been
ported from.
>
> Signed-off-by: Pavlo Yadvychuk <pyadvychuk@baylibre.com>
> Signed-off-by: Julien Stephan <jstephan@baylibre.com>
> ---
[...]
> +
> + /* RG_HDMITXPLL_RESERVE[12:11] */
> + mtk_hdmi_phy_mask(hdmi_phy, HDMI_1_PLL_CFG_1,
> + 0x3 << RG_HDMITXPLL_RESERVE_BIT12_11_SHIFT,
> + RG_HDMITXPLL_RESERVE_BIT12_11);
> +
> + /* TCL_EN */
> + mtk_hdmi_phy_mask(hdmi_phy, HDMI_1_PLL_CFG_0,
> + 0x1 << RG_HDMITXPLL_TCL_EN_SHIFT,
> + RG_HDMITXPLL_TCL_EN);
> +
> + /* we should always read calibration impedance
> + * from efuse, unless for debugging purposes.
> + * This calibraion value is not board-dependent
calibraion -> calibration
> + * so no SW adjustment required.
> + */
> + if (hdmi_phy->conf->efuse_sw_mode) {
> + debug("efuse_sw_mode ENABLED!!!");
> + mtk_hdmi_phy_mask(hdmi_phy, HDMI_CTL_1,
> + 0x1f << RG_INTR_IMP_RG_MODE_SHIFT,
> + RG_INTR_IMP_RG_MODE);
> + }
> +
> + return 0;
> +}
> +
[...]
next prev parent reply other threads:[~2026-07-21 9:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-17 8:26 [PATCH] phy: phy-mtk-hdmi: add new driver Julien Stephan
2026-07-21 9:22 ` Mattijs Korpershoek via U-Boot [this message]
2026-07-27 9:28 ` Julien Stephan
2026-07-27 12:35 ` Mattijs Korpershoek
2026-07-28 15:03 ` Julien Stephan
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=871pcwk88o.fsf@kernel.org \
--to=u-boot@lists.u-boot-project.org \
--cc=GSS_MTK_Uboot_upstream@mediatek.com \
--cc=alice.guo@nxp.com \
--cc=casey.connolly@linaro.org \
--cc=chunfeng.yun@mediatek.com \
--cc=dlechner@baylibre.com \
--cc=igor.belwon@mentallysanemainliners.org \
--cc=jbx6244@gmail.com \
--cc=jstephan@baylibre.com \
--cc=lucienzx159@gmail.com \
--cc=macpaul.lin@mediatek.com \
--cc=mk7.kang@samsung.com \
--cc=mkorpershoek@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=pyadvychuk@baylibre.com \
--cc=quentin.schulz@cherry.de \
--cc=ryder.lee@mediatek.com \
--cc=semen.protsenko@linaro.org \
--cc=tharvey@gateworks.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=weijie.gao@mediatek.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