Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1911369rwd; Tue, 13 Jun 2023 16:39:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4cOnHMRz5X2Zhfh7OF41WsZTla9b2h8PCl+aWx3Xk2eu9v9K6L6GuhQ+dCmqWbDCcoKTTH X-Received: by 2002:a05:6402:654:b0:514:990a:c64c with SMTP id u20-20020a056402065400b00514990ac64cmr8357597edx.10.1686699558896; Tue, 13 Jun 2023 16:39:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686699558; cv=none; d=google.com; s=arc-20160816; b=rTXFtI7O4DiSZOkojafF/mCCzPySOgn3jRrTgd+a2VwDPyhglv9xT3nqGM/C51iMKW SYj8pENkpGoTQ727Y8unVI6bMBU2wVLh15nOJKmSPn8T57+esWHa0Ya7ZE1W+3bEOzXl Dkjfv+LyAL0IRF5s3QGY9LVHWkgezcTpbc09q7Da+EEitsfq982qU1wr4TlPmHfaEJw3 kJiBsYAcFE5gSMh59O7BFkhvlkRUeCEXM0soj/kcQSgZTIQ/Z4rJlmPultPMyi3AFt3q A6dc1YmCAEQtOcllq4buCtV0/ddBgbAjMhDgD6Wf5zHMCJ0H1+bfV8Rg88Uoa6+Z10/I YDjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=qSqL79t8NtEUdAX0JzZVnvZK5oqG9V2ds7l5GAVz30I=; b=TDSo+26uYDP51Eqhsy4cQNYIgfP0rnDhyW0ptJjvr+SXZRne5wF+KqGupwob/x6YLu Hesi6Cnx0UYKNMWED9Enlx065lMJYc8eLfMKXeOo1gxyOrBL7uTq2A5Tyq1KMIH4a0v4 0JgrPkNOWjOlKQwYmnPI5TNd6+OFZhTjVmaLUgUpexM3B5EaEHfR6b123wfxvDabgjJh 2hyyPSgc7ZvygtzUQv31wm06JW+vFbDJcO4l5ewFXvEKVFGUrDuseK6iUC8hxdS3nGVT EeDp8W8onIQY3o30QEuXYWCn03qeb1g00YyctXUL/Mw0WEhxiz5+xsSC2mNr0z/LIcND WKmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P5QlrbcF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r18-20020aa7cfd2000000b0050bca4826cdsi8329049edy.204.2023.06.13.16.38.52; Tue, 13 Jun 2023 16:39:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P5QlrbcF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234201AbjFMXcC (ORCPT + 99 others); Tue, 13 Jun 2023 19:32:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbjFMXcB (ORCPT ); Tue, 13 Jun 2023 19:32:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A005D2; Tue, 13 Jun 2023 16:31:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 665D863C1C; Tue, 13 Jun 2023 23:31:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CACB1C433C0; Tue, 13 Jun 2023 23:31:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686699116; bh=aNJH35WRMNqV0lqZl8N98lkQSouazvy9Y1MphL/3tYg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=P5QlrbcFWh7WO7qIzYatE9h4nh2LMtoJoqbmvlUhmG+xX3L4nMF8JSkYNj3dGSRsH 62UsqX5srRIENLVAAARr2cn6i+6N5fqi6aU7RbjgLfCIysgIagLzVuUwg2wNhp10m+ K53Rmys1aL/uJqB/WyXJcfeBBEcYboH2agtTgcPfSeFaQ4lR4g3pKQFR9up1aIm3UV e1G5RGhchegpQvIM98stlnHyW6cu/xyLZSxQ6QS4naV58YhdTTWFdxp1YqFOKGVBd2 skrpqTQ39P2WOY/qfxOkLNsh9TFbmGJ3byv0cwh1MSwo6lQGNu2LW7EN0e7TINNwqW 8aeTjELvZe/JA== Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2b1a3fa2cd2so876431fa.1; Tue, 13 Jun 2023 16:31:56 -0700 (PDT) X-Gm-Message-State: AC+VfDw8sruz3SbsVOpPRExwyUkszScADI/EI9DMnNS6OhfKOOaSIKCV S5VavenT3cQeyJO8NZfob+YjhUEzy4dT1dWzUA== X-Received: by 2002:a2e:91d7:0:b0:2b3:46ec:8014 with SMTP id u23-20020a2e91d7000000b002b346ec8014mr376176ljg.47.1686699114810; Tue, 13 Jun 2023 16:31:54 -0700 (PDT) MIME-Version: 1.0 References: <20230515150149.2790189-1-Frank.Li@nxp.com> In-Reply-To: <20230515150149.2790189-1-Frank.Li@nxp.com> From: Rob Herring Date: Tue, 13 Jun 2023 17:31:42 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/1] arm64: dts: imx8mp: Add coresight trace components To: Frank Li Cc: Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , open list , imx@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 15, 2023 at 9:02=E2=80=AFAM Frank Li wrote: > > Add coresight trace components (ETM, ETF, ETB and Funnel). > > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=90 =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=90 =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=90 > =E2=94=82 CPU0 =E2=94=9C=E2=94=80=E2=96=BA=E2=94=82 ETM0 =E2=94=9C=E2= =94=80=E2=96=BA=E2=94=82 =E2=94=82 > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=98 =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=98 =E2=94=82 =E2=94=82 > =E2=94=82 =E2=94=82 > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=90 =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=90 =E2=94=82 ATP =E2=94=82 > =E2=94=82 CPU1 =E2=94=9C=E2=94=80=E2=96=BA=E2=94=82 ETM1 =E2=94=9C=E2= =94=80=E2=96=BA=E2=94=82 =E2=94=82 > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=98 =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=98 =E2=94=82 =E2=94=82 > =E2=94=82 FUNNEL=E2=94=82 > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=90 =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=90 =E2=94=82 =E2=94=82 > =E2=94=82 CPU2 =E2=94=9C=E2=94=80=E2=96=BA=E2=94=82 ETM2 =E2=94=9C=E2= =94=80=E2=96=BA=E2=94=82 =E2=94=82 > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=98 =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=98 =E2=94=82 =E2=94=82 =E2=94=8C=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=90 =E2=94=8C=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=90 > =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82= =E2=94=82 =E2=94=82 > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=90 =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=90 =E2=94=82 =E2=94=82 =E2=94=82 M7 =E2=94=82 = =E2=94=82 DSP =E2=94=82 > =E2=94=82 CPU3 =E2=94=9C=E2=94=80=E2=96=BA=E2=94=82 ETM3 =E2=94=9C=E2= =94=80=E2=96=BA=E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94= =82 =E2=94=82 > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=98 =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=98 =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=AC=E2=94=80= =E2=94=80=E2=94=80=E2=94=98 =E2=94=94=E2=94=80=E2=94=80=E2=94=AC=E2=94=80= =E2=94=80=E2=94=98 =E2=94=94=E2=94=80=E2=94=80=E2=94=AC=E2=94=80=E2=94=80= =E2=94=98 AXI > =E2=94=82 =E2=94=82 =E2=94=82 = =E2=96=B2 > =E2=96=BC =E2=96=BC =E2=96=BC = =E2=94=82 > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=90 =E2=94=8C=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=90 =E2=94=8C=E2=94=80=E2= =94=B4=E2=94=80=E2=94=80=E2=94=90 > =E2=94=82 ATP FUNNEL =E2=94=9C=E2=94= =80=E2=94=80=E2=96=BA=E2=94=82ETF =E2=94=9C=E2=94=80=E2=96=BA =E2=94=82ETR= =E2=94=82 > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=98 =E2=94=94=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=98 =E2=94=94=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=98 > > Signed-off-by: Frank Li > --- > Change from v1 to v2 > - add new line between nodes > - add new line between properties and child node > > arch/arm64/boot/dts/freescale/imx8mp.dtsi | 204 ++++++++++++++++++++++ > 1 file changed, 204 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/= dts/freescale/imx8mp.dtsi > index a19224fe1a6a..1a25710c3a90 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > @@ -304,6 +304,210 @@ soc: soc@0 { > nvmem-cells =3D <&imx8mp_uid>; > nvmem-cell-names =3D "soc_unique_id"; > > + etm0: etm@28440000 { > + compatible =3D "arm,coresight-etm4x", "arm,primec= ell"; > + reg =3D <0x28440000 0x10000>; > + arm,primecell-periphid =3D <0xbb95d>; > + cpu =3D <&A53_0>; > + clocks =3D <&clk IMX8MP_CLK_MAIN_AXI>; > + clock-names =3D "apb_pclk"; > + > + out-ports { > + port { > + etm0_out_port: endpoint { > + remote-endpoint =3D <&ca_= funnel_in_port0>; > + }; > + }; > + }; > + }; > + > + etm1: etm@28540000 { > + compatible =3D "arm,coresight-etm4x", "arm,primec= ell"; > + reg =3D <0x28540000 0x10000>; > + arm,primecell-periphid =3D <0xbb95d>; > + cpu =3D <&A53_1>; > + clocks =3D <&clk IMX8MP_CLK_MAIN_AXI>; > + clock-names =3D "apb_pclk"; > + > + out-ports { > + port { > + etm1_out_port: endpoint { > + remote-endpoint =3D <&ca_= funnel_in_port1>; > + }; > + }; > + }; > + }; > + > + etm2: etm@28640000 { > + compatible =3D "arm,coresight-etm4x", "arm,primec= ell"; > + reg =3D <0x28640000 0x10000>; > + arm,primecell-periphid =3D <0xbb95d>; > + cpu =3D <&A53_2>; > + clocks =3D <&clk IMX8MP_CLK_MAIN_AXI>; > + clock-names =3D "apb_pclk"; > + > + out-ports { > + port { > + etm2_out_port: endpoint { > + remote-endpoint =3D <&ca_= funnel_in_port2>; > + }; > + }; > + }; > + }; > + > + etm3: etm@28740000 { > + compatible =3D "arm,coresight-etm4x", "arm,primec= ell"; > + reg =3D <0x28740000 0x10000>; > + arm,primecell-periphid =3D <0xbb95d>; > + cpu =3D <&A53_3>; > + clocks =3D <&clk IMX8MP_CLK_MAIN_AXI>; > + clock-names =3D "apb_pclk"; > + > + out-ports { > + port { > + etm3_out_port: endpoint { > + remote-endpoint =3D <&ca_= funnel_in_port3>; > + }; > + }; > + }; > + }; > + > + funnel { > + /* > + * non-configurable funnel don't show up on the A= MBA > + * bus. As such no need to add "arm,primecell". > + */ > + compatible =3D "arm,coresight-static-funnel"; This device has no registers so it should not be under the bus node. This is pointed out by the dtschema checks. Please don't add new ones. Rob