On Fri, 2025-12-05 at 18:52 +0800, Macpaul Lin wrote: > On Wed, 2025-12-03 at 10:31 +0100, Julien Stephan wrote: > > > > External email : Please do not click links or open attachments > > until > > you have verified the sender or the content. > > > > > > From: Julien Masson <[email protected]> > > > > This adds basic support for MediaTek MT8188 SoC. > > > > Add watchdog support by adding upstream compatible string. > > > > Add tphy support by adding "mediatek,generic-tphy-v2" compatible > > string > > in arch/arm/dts/mt8188-u-boot.dtsi > > > > Signed-off-by: Julien Masson <[email protected]> > > Signed-off-by: Julien Stephan <[email protected]> > > --- > > MAINTAINERS | 1 + > > arch/arm/dts/mt8188-u-boot.dtsi | 10 +++++ > > Where is mt8188.dtsi? > Would you please to keep the mt8188.dtsi > and then create the seperate mt8188-u-boot.dtsi? > Please refer to other platforms like mt7622 or mt7982, etc. > > > arch/arm/mach-mediatek/Kconfig | 11 +++++- > > arch/arm/mach-mediatek/Makefile | 1 + > > arch/arm/mach-mediatek/mt8188/Makefile | 3 ++ > > arch/arm/mach-mediatek/mt8188/init.c | 69 > > ++++++++++++++++++++++++++++++++++ > > drivers/watchdog/mtk_wdt.c | 1 + > > 7 files changed, 95 insertions(+), 1 deletion(-) > > > > diff --git a/MAINTAINERS b/MAINTAINERS > > index > > b43dae882b3ea33c2cd745bd3759e3f4d97abc80..5b52d2fe17506d2659be9016a > > 7c > > a639062332ae9 100644 > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > @@ -415,6 +415,7 @@ M: Chunfeng Yun <[email protected]> > > M: Igor Belwon <[email protected]> > > R: GSS_MTK_Uboot_upstream > > <[email protected]> > > S: Maintained > > +F: arch/arm/dts/mt* > > F: arch/arm/mach-mediatek/ > > F: arch/arm/include/asm/arch-mediatek/ > > F: board/mediatek/ > > > > > > [snip] > > Thanks for helping upstream these SOC to u-boot upstream. > However, I've found it seems lots of formatting issues (errors > and warnings) in coding style when I ran checkpatch through > these patches. > > Please help to fix them as could as possible. > > > diff --git a/arch/arm/dts/mt8188-u-boot.dtsi b/arch/arm/dts/mt8188- > > u- > > boot.dtsi > > new file mode 100644 > > index > > 0000000000000000000000000000000000000000..6d1b2ab82da1c95a49b8a693e > > b0 > > f854ab913a26b > > --- /dev/null > > +++ b/arch/arm/dts/mt8188-u-boot.dtsi > > [snip] > > > > diff --git a/arch/arm/mach-mediatek/mt8188/init.c b/arch/arm/mach- > > mediatek/mt8188/init.c > > new file mode 100644 > > index > > 0000000000000000000000000000000000000000..3389c03b06006e8130b4ce448 > > d5 > > dcfb8f103c28f > > --- /dev/null > > +++ b/arch/arm/mach-mediatek/mt8188/init.c > > @@ -0,0 +1,69 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > +/* > > + * Copyright (C) 2025 MediaTek Inc. > > + * Copyright (C) 2025 BayLibre, SAS > > + * Author: Julien Masson <[email protected]> > > + */ > > > Would you please help to keep the origin author here together with > you? > Since this file should come from > > > https://gitlab.com/mediatek/aiot/bsp/u-boot/-/blob/mtk-v2022.10/arch/arm/mach-mediatek/mt8188/init.c?ref_type=heads > Author: Chris-QJ Chen <[email protected]> > > And please help to do it so when you adding back mt8188.dtsi. >
Oh. I've found this patch seem comes from this version. https://gitlab.com/mediatek/aiot/bsp/u-boot/-/blob/mtk-v2024.10/arch/arm/mach-mediatek/mt8188/init.c?ref_type=heads I'm not sure if it might be derived from the mtk-v2022.10 branch? If you could add Chris-QJ Chen with your derived work together that will be greatful. Thanks. > Thanks! > Macpaul Lin > BR Macpaul Lin

