From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> To: "Bernhard Rosenkränzer" <bero@baylibre.com> Cc: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, angelogioacchino.delregno@collabora.com, matthias.bgg@gmail.com, gregkh@linuxfoundation.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, maz@kernel.org, tglx@linutronix.de Subject: Re: [PATCH v11 3/3] arm64: dts: mediatek: Initial mt8365-evk support Date: Mon, 16 Oct 2023 16:49:22 +0300 [thread overview] Message-ID: <20231016134922.GA6523@pendragon.ideasonboard.com> (raw) In-Reply-To: <20231016134804.GA15778@pendragon.ideasonboard.com> On Mon, Oct 16, 2023 at 04:48:06PM +0300, Laurent Pinchart wrote: > Hello, > > A bit of a late reply, but I've just noticed an issue related to this > patch. > > On Thu, Mar 09, 2023 at 10:35:01PM +0100, Bernhard Rosenkränzer wrote: > > From: Fabien Parent <fparent@baylibre.com> > > > > This adds minimal support for the Mediatek 8365 SOC and the EVK reference > > board, allowing the board to boot to initramfs with serial port I/O. > > > > Signed-off-by: Fabien Parent <fparent@baylibre.com> > > [bero@baylibre.com: Removed parts depending on drivers that aren't upstream yet, cleanups, add CPU cache layout, add systimer, fix GIC] > > Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com> > > [aouledameur@baylibre.com: Fix systimer properties] > > Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com> > > Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com> > > Tested-by: Kevin Hilman <khilman@baylibre.com> > > Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > > --- > > arch/arm64/boot/dts/mediatek/Makefile | 1 + > > arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 168 +++++++++ > > arch/arm64/boot/dts/mediatek/mt8365.dtsi | 377 ++++++++++++++++++++ > > 3 files changed, 546 insertions(+) > > create mode 100644 arch/arm64/boot/dts/mediatek/mt8365-evk.dts > > create mode 100644 arch/arm64/boot/dts/mediatek/mt8365.dtsi > > [snip] > > > diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch/arm64/boot/dts/mediatek/mt8365.dtsi > > new file mode 100644 > > index 0000000000000..351197c453c91 > > --- /dev/null > > +++ b/arch/arm64/boot/dts/mediatek/mt8365.dtsi > > @@ -0,0 +1,377 @@ > > +// SPDX-License-Identifier: (GPL-2.0 OR MIT) > > +/* > > + * (C) 2018 MediaTek Inc. > > + * Copyright (C) 2022 BayLibre SAS > > + * Fabien Parent <fparent@baylibre.com> > > + * Bernhard Rosenkränzer <bero@baylibre.com> > > + */ > > +#include <dt-bindings/clock/mediatek,mt8365-clk.h> > > +#include <dt-bindings/interrupt-controller/arm-gic.h> > > +#include <dt-bindings/interrupt-controller/irq.h> > > +#include <dt-bindings/phy/phy.h> > > + > > +/ { > > [snip] > > > + soc { > > [snip] > > > + infracfg: syscon@10001000 { > > + compatible = "mediatek,mt8365-infracfg", "syscon"; > > + reg = <0 0x10001000 0 0x1000>; > > + #clock-cells = <1>; > > + }; > > [snip] > > > + infracfg_nao: infracfg@1020e000 { > > + compatible = "mediatek,mt8365-infracfg", "syscon"; > > + reg = <0 0x1020e000 0 0x1000>; > > + #clock-cells = <1>; > > + }; > > These two nodes cause the infracfg clocks to be registered twice, with > the second probe of the clk-mt8365 driver failing with -EEXIST. These are the messages printed by v6.6-rc6: [ 0.540254] Failed to register clk ifr_pmic_tmr: -EEXIST [ 0.541003] clk-mt8365: probe of 1020e000.infracfg failed with error -17 > [snip] > > > + }; > > [snip] > > > +}; -- Regards, Laurent Pinchart
WARNING: multiple messages have this Message-ID (diff)
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> To: "Bernhard Rosenkränzer" <bero@baylibre.com> Cc: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, angelogioacchino.delregno@collabora.com, matthias.bgg@gmail.com, gregkh@linuxfoundation.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, maz@kernel.org, tglx@linutronix.de Subject: Re: [PATCH v11 3/3] arm64: dts: mediatek: Initial mt8365-evk support Date: Mon, 16 Oct 2023 16:49:22 +0300 [thread overview] Message-ID: <20231016134922.GA6523@pendragon.ideasonboard.com> (raw) In-Reply-To: <20231016134804.GA15778@pendragon.ideasonboard.com> On Mon, Oct 16, 2023 at 04:48:06PM +0300, Laurent Pinchart wrote: > Hello, > > A bit of a late reply, but I've just noticed an issue related to this > patch. > > On Thu, Mar 09, 2023 at 10:35:01PM +0100, Bernhard Rosenkränzer wrote: > > From: Fabien Parent <fparent@baylibre.com> > > > > This adds minimal support for the Mediatek 8365 SOC and the EVK reference > > board, allowing the board to boot to initramfs with serial port I/O. > > > > Signed-off-by: Fabien Parent <fparent@baylibre.com> > > [bero@baylibre.com: Removed parts depending on drivers that aren't upstream yet, cleanups, add CPU cache layout, add systimer, fix GIC] > > Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com> > > [aouledameur@baylibre.com: Fix systimer properties] > > Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com> > > Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com> > > Tested-by: Kevin Hilman <khilman@baylibre.com> > > Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > > --- > > arch/arm64/boot/dts/mediatek/Makefile | 1 + > > arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 168 +++++++++ > > arch/arm64/boot/dts/mediatek/mt8365.dtsi | 377 ++++++++++++++++++++ > > 3 files changed, 546 insertions(+) > > create mode 100644 arch/arm64/boot/dts/mediatek/mt8365-evk.dts > > create mode 100644 arch/arm64/boot/dts/mediatek/mt8365.dtsi > > [snip] > > > diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch/arm64/boot/dts/mediatek/mt8365.dtsi > > new file mode 100644 > > index 0000000000000..351197c453c91 > > --- /dev/null > > +++ b/arch/arm64/boot/dts/mediatek/mt8365.dtsi > > @@ -0,0 +1,377 @@ > > +// SPDX-License-Identifier: (GPL-2.0 OR MIT) > > +/* > > + * (C) 2018 MediaTek Inc. > > + * Copyright (C) 2022 BayLibre SAS > > + * Fabien Parent <fparent@baylibre.com> > > + * Bernhard Rosenkränzer <bero@baylibre.com> > > + */ > > +#include <dt-bindings/clock/mediatek,mt8365-clk.h> > > +#include <dt-bindings/interrupt-controller/arm-gic.h> > > +#include <dt-bindings/interrupt-controller/irq.h> > > +#include <dt-bindings/phy/phy.h> > > + > > +/ { > > [snip] > > > + soc { > > [snip] > > > + infracfg: syscon@10001000 { > > + compatible = "mediatek,mt8365-infracfg", "syscon"; > > + reg = <0 0x10001000 0 0x1000>; > > + #clock-cells = <1>; > > + }; > > [snip] > > > + infracfg_nao: infracfg@1020e000 { > > + compatible = "mediatek,mt8365-infracfg", "syscon"; > > + reg = <0 0x1020e000 0 0x1000>; > > + #clock-cells = <1>; > > + }; > > These two nodes cause the infracfg clocks to be registered twice, with > the second probe of the clk-mt8365 driver failing with -EEXIST. These are the messages printed by v6.6-rc6: [ 0.540254] Failed to register clk ifr_pmic_tmr: -EEXIST [ 0.541003] clk-mt8365: probe of 1020e000.infracfg failed with error -17 > [snip] > > > + }; > > [snip] > > > +}; -- Regards, Laurent Pinchart _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-10-16 13:50 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-09 21:34 [PATCH v11 0/3] Add minimal MT8365 and MT8365-EVK support Bernhard Rosenkränzer 2023-03-09 21:34 ` Bernhard Rosenkränzer 2023-03-09 21:34 ` [PATCH v11 1/3] dt-bindings: irq: mtk, sysirq: add support for mt8365 Bernhard Rosenkränzer 2023-03-09 21:34 ` Bernhard Rosenkränzer 2023-03-11 13:44 ` Rob Herring 2023-03-11 13:44 ` Rob Herring 2023-03-09 21:35 ` [PATCH v11 2/3] dt-bindings: serial: mediatek,uart: add MT8365 Bernhard Rosenkränzer 2023-03-09 21:35 ` Bernhard Rosenkränzer 2023-03-11 13:45 ` Rob Herring 2023-03-11 13:45 ` Rob Herring 2023-03-09 21:35 ` [PATCH v11 3/3] arm64: dts: mediatek: Initial mt8365-evk support Bernhard Rosenkränzer 2023-03-09 21:35 ` Bernhard Rosenkränzer 2023-03-21 10:51 ` Kevin Hilman 2023-03-21 10:51 ` Kevin Hilman 2023-03-22 14:41 ` Matthias Brugger 2023-03-22 14:41 ` Matthias Brugger 2023-10-16 13:48 ` Laurent Pinchart 2023-10-16 13:48 ` Laurent Pinchart 2023-10-16 13:49 ` Laurent Pinchart [this message] 2023-10-16 13:49 ` Laurent Pinchart
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=20231016134922.GA6523@pendragon.ideasonboard.com \ --to=laurent.pinchart@ideasonboard.com \ --cc=angelogioacchino.delregno@collabora.com \ --cc=bero@baylibre.com \ --cc=devicetree@vger.kernel.org \ --cc=gregkh@linuxfoundation.org \ --cc=krzysztof.kozlowski+dt@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mediatek@lists.infradead.org \ --cc=linux-serial@vger.kernel.org \ --cc=matthias.bgg@gmail.com \ --cc=maz@kernel.org \ --cc=robh+dt@kernel.org \ --cc=tglx@linutronix.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: linkBe 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.