public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: David Lechner <dlechner@baylibre.com>
Cc: Ryder Lee <ryder.lee@mediatek.com>,
	Weijie Gao <weijie.gao@mediatek.com>,
	Chunfeng Yun <chunfeng.yun@mediatek.com>,
	Igor Belwon <igor.belwon@mentallysanemainliners.org>,
	GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>,
	Macpaul Lin <macpaul.lin@mediatek.com>,
	Lukasz Majewski <lukma@denx.de>,
	Julien Stephan <jstephan@baylibre.com>,
	u-boot@lists.denx.de
Subject: Re: [PATCH v3 1/6] clk: mediatek: mt8189: add some VLP clocks
Date: Mon, 23 Mar 2026 14:33:33 -0600	[thread overview]
Message-ID: <20260323203333.GN502704@bill-the-cat> (raw)
In-Reply-To: <20260323202358.GM502704@bill-the-cat>

[-- Attachment #1: Type: text/plain, Size: 1186 bytes --]

On Mon, Mar 23, 2026 at 02:23:58PM -0600, Tom Rini wrote:
> On Mon, Mar 23, 2026 at 03:16:52PM -0500, David Lechner wrote:
> 
> > Add some VLP clocks needed by the PMIC on MT8189 and similar SoCs.
> > 
> > Signed-off-by: David Lechner <dlechner@baylibre.com>
> > ---
> >  drivers/clk/mediatek/clk-mt8189.c | 289 ++++++++++++++++++++++++++++++++++++++
> >  1 file changed, 289 insertions(+)
> 
> I'm working on a series now to fix this globally, and it's not a
> MediaTek only problem, but:
> 
> > @@ -1733,6 +2012,16 @@ U_BOOT_DRIVER(mtk_clk_topckgen) = {
> >  	.flags = DM_FLAG_PRE_RELOC,
> >  };
> >  
> > +U_BOOT_DRIVER(mtk_clk_vlpckgen) = {
> 
> This is a bad name to use. I bet in other parts of the series you re-use
> it. These names need to be unique within a binary, and while today they
> will be I bet (since all the other examples are fine), someday we'd like
> to be able to compile test (and so static analyize) more code, and it
> will clash and fail to link. A better one would be
> "mt8189_clk_vlpckgen".

Ugh, and I just hit the build problem where I see these re-used names
are important. So, thinking about things harder now.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2026-03-23 20:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-23 20:16 [PATCH v3 0/6] boards: mediatek: initial support for Genio 720 EVK David Lechner
2026-03-23 20:16 ` [PATCH v3 1/6] clk: mediatek: mt8189: add some VLP clocks David Lechner
2026-03-23 20:23   ` Tom Rini
2026-03-23 20:33     ` Tom Rini [this message]
2026-03-23 20:59       ` David Lechner
2026-03-23 21:13         ` Tom Rini
2026-03-23 20:16 ` [PATCH v3 2/6] arm: mediatek: add support of MT8189 SoC family David Lechner
2026-03-23 20:16 ` [PATCH v3 3/6] arm: dts: mediatek: mt8189: Add pinmux macro header file David Lechner
2026-03-23 20:16 ` [PATCH v3 4/6] arm: dts: mediatek: Add MediaTek MT8189 dtsi file David Lechner
2026-03-23 20:16 ` [PATCH v3 5/6] arm: dts: mediatek: Add MediaTek Genio 520/720 EVK DTS David Lechner
2026-03-23 20:16 ` [PATCH v3 6/6] board: mediatek: Add Genio 520/720 EVK defconfigs David Lechner
2026-03-30 15:21   ` Julien Stephan
2026-03-30 15:56     ` David Lechner
2026-04-07 13:32     ` Macpaul Lin (林智斌)
2026-04-07 16:01 ` [PATCH v3 0/6] boards: mediatek: initial support for Genio 720 EVK David Lechner

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=20260323203333.GN502704@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=GSS_MTK_Uboot_upstream@mediatek.com \
    --cc=chunfeng.yun@mediatek.com \
    --cc=dlechner@baylibre.com \
    --cc=igor.belwon@mentallysanemainliners.org \
    --cc=jstephan@baylibre.com \
    --cc=lukma@denx.de \
    --cc=macpaul.lin@mediatek.com \
    --cc=ryder.lee@mediatek.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