Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2511056rdg; Mon, 16 Oct 2023 06:49:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEjbmGma5iadK/qLleF4I/3MGj4A4JKwNvaBcSkmtKSLQn8KFtqoKPzUG7wF+IazNQPg5aN X-Received: by 2002:a05:6e02:1c0b:b0:357:7b04:721 with SMTP id l11-20020a056e021c0b00b003577b040721mr4934826ilh.32.1697464170131; Mon, 16 Oct 2023 06:49:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697464170; cv=none; d=google.com; s=arc-20160816; b=HNvosGiIMJGJOFkHv0lQ9OG6Wf4PF7YjZ+JWjyLyz98zonHuZMbaPia8G7Dyx3kZRL 3XSEW/v4U6m/Me7lwRxUbTF5EFOVbvXpeAs/VqxVEXVZLGy+doyrYqxoCPIs6FEJNjEV DHasaj5cOtmuTWa8qnNqAhwhetrDnVWeoEkktzQ7RydVATHxo9UNaW2X4t3onujMZQVn 6JStpSgNzknUxTXAd8dP6nRBB5IIj9jD0x0FPWSAfs25t1L2Rb07Anzj7TOp+AUA30Zg Tarh6zCHgA0HvlPg/I0etVSQW+ocNTGXnlOpM+dPOVpL7ecQTD+qwUzF1VeiKeK71xzv LZhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=NUeU0iErqaa5qk+xFDaFjl24jQwLWaAnjow5uV0snzI=; fh=Y1f2vfhJx2kPB/bmsOXg+mOnD+mpiEhq8oxyxn64W7w=; b=cLTZahXxejCjmy58SzJY0hmtGcwodDyaOE2fuUWaopx5Yf3S2rquPFWtivxv2qUzIJ 3X2Lzm5XIQ5rn+Ccqp0Kgw93M7MRXBOLfp4kFZv8+liwZZHwGjCyBNGgOP+x5jGPkC9N jwm4CxXdFKc1O7iY9/Acd3pSXxQ0LTPFQMRxnEHtq6+eMsyaLL/nYF6rXIC0HPVAgMPD 7iFuYnnSqvJ2XUfQp5Gvu6yVK0JjiY7AoIMV300By26V9koXr7kyCfZjZ0473mn71SUy Z9fxbU7ZBTMTWCH90zNPiG4uZXsEPiSNTIwe7MewzNU3exRwAPlHtI+plO5rYc2N4lNQ vSjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=hkY+O935; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id k21-20020a635615000000b0057047d68821si5884242pgb.565.2023.10.16.06.49.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 06:49:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=hkY+O935; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 5F205804C4BE; Mon, 16 Oct 2023 06:49:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234429AbjJPNtM (ORCPT + 99 others); Mon, 16 Oct 2023 09:49:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233986AbjJPNsU (ORCPT ); Mon, 16 Oct 2023 09:48:20 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCCC51A4; Mon, 16 Oct 2023 06:48:00 -0700 (PDT) Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 3EDE6814; Mon, 16 Oct 2023 15:47:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1697464072; bh=f97DIqnul/BgQzKIc92p98PsvcgheZXYtkIIEDSitQg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hkY+O935WG4/lTsCXW1DTzUuFu9IGE3NfAAO9f/R3DH9d5HVLKMgqrksba/GoNZJl o8uyAVyyFfy2K12+hJE6TTvTwTcbdFwkut0zmC6fPsWhysSNXy3BR2KZGwr0SR/Ove aDTYRSjgpOamg/llJuUJZQt0BJ6FnLkhgMJ0z20E= Date: Mon, 16 Oct 2023 16:48:04 +0300 From: Laurent Pinchart To: Bernhard =?utf-8?Q?Rosenkr=C3=A4nzer?= 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 Message-ID: <20231016134804.GA15778@pendragon.ideasonboard.com> References: <20230309213501.794764-1-bero@baylibre.com> <20230309213501.794764-4-bero@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230309213501.794764-4-bero@baylibre.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 16 Oct 2023 06:49:25 -0700 (PDT) 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 > > 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 > [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 > [aouledameur@baylibre.com: Fix systimer properties] > Signed-off-by: Amjad Ouled-Ameur > Signed-off-by: Alexandre Mergnat > Tested-by: Kevin Hilman > Reviewed-by: AngeloGioacchino Del Regno > --- > 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 > + * Bernhard Rosenkränzer > + */ > +#include > +#include > +#include > +#include > + > +/ { [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. [snip] > + }; [snip] > +}; -- Regards, Laurent Pinchart