From patchwork Wed Sep 6 11:54:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13375614 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0A70BEB8FA5 for ; Wed, 6 Sep 2023 11:55:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=iyXh+uJGGAT0JOhLKKqsyDKWZfFvJeCi/8Zvy7X/pmc=; b=Apce3Tw7TiBArr CzG3KwIbJ7riW2R83LkVcOqD+oiHefXsu6P2U3xk+WTaeViIg7UHYMi5c3AIOCHGyZ3FvwkZ4EHMA CWCN7Cbvctqd7EIsJO2ta5HQnQMXbJTkm8TB7SmwDkxfpGExHCdcRUcn+j/LcT/HusunlGgAHdJvD bQL8M46Ye1eoh7bkRyJvvFkK/EnYdeIOCZt94H6ujdcYg5E9xvGd++og1DtVGElg1qdvDSuSKqJ1W ++XJeKdvGTOYWN4rYBblY0LnceF61+Eg05qxIQ0w+a2hgfpbHS2AQ6RQpTKrVVcDwAMg3saIseIwh qRJK4X1EdZpBLjj0cy/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qdr7f-0093Ck-2Y; Wed, 06 Sep 2023 11:55:03 +0000 Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qdr7d-00939O-22 for linux-arm-kernel@lists.infradead.org; Wed, 06 Sep 2023 11:55:03 +0000 Received: by mail-ot1-x335.google.com with SMTP id 46e09a7af769-6bf106fb6a0so704508a34.0 for ; Wed, 06 Sep 2023 04:54:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694001299; x=1694606099; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Knde3yeY5pZ7W0tqxn8uElHkAEeLRAsdTukA5SxVufI=; b=PK+nBto4+wYWYT+m4HPN81vicZoMSRJnC63ReQS/EOvAJXT6/njs82fPas9PMqJ2tN oDTW0zaT8IEuSAOaSz8DXIzPu51osNl6n5s8cla+QUU70H9hjeOqut5vJQeSlte/JDCP GN/08Pp4tWrQFuCBROwkZilkLSioKWHhPWqBUjzZdpoHSjG4f3KR/sGdzWClNO9+pQ3b nSbrGy19PzdIJ0Mv2jfou379IVoAW4kNqzWAszFAMznPWppDF7yuFRYmQDZZkqy/DI9m QdfWSqm8nfSTE1V/2wqH0kdMkRVNobP+JseQvLCC+hZzkSL2D38lQhlZ74sRARmi/LF8 DvOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694001299; x=1694606099; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Knde3yeY5pZ7W0tqxn8uElHkAEeLRAsdTukA5SxVufI=; b=RBdC4mG22G0xoZF5tfUxGOoaXm1FAN29IAWMnFlW8VvYzmYAaudBx8QGwhIbcj3pDN vWEM0477ZYs6iXDvaXqGJPh5HTp5pz46rPnyCZeC6af8TNwM66qlKSjUXq1Df70GFKg0 /9jk9OoiXul7lPn3oWzPFccIH2oe2Oj2lsUcSQYIZou1Rqpmjr9cSD2Dpg5lES/mQUMW hoHfIBVzMmZJX4OsaXBQGcUHj5awAIexcy8Spt+1cytluF1Tr3OxWznzbZHgr/uK4s+W uukcvqVXVARVFXyF3dphNq122jq/UWEVt7w5HLj67zhi/v2gSPieuWMufO5osHUwJEr2 NVyA== X-Gm-Message-State: AOJu0Yz56/l7hYrAMNTiyYwAUGV2KE1Y2YSE2+81VPznBUL4xrjLn7Ax Dc7+B1Nv6GLBEsPN6mMuC5c= X-Google-Smtp-Source: AGHT+IHUUKFGWR/M/uleBz12kuVmmUs00d2YG2JG7KUgrhzdY8O6uKpJAIZn5PrbCBAQ/y00QKW2fg== X-Received: by 2002:a05:6830:46a3:b0:6bd:9d65:fce with SMTP id ay35-20020a05683046a300b006bd9d650fcemr15354319otb.2.1694001298814; Wed, 06 Sep 2023 04:54:58 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:9f6e:bfa3:9410:ae3f]) by smtp.gmail.com with ESMTPSA id s27-20020a0568301e1b00b006af7580c84csm6330127otr.60.2023.09.06.04.54.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Sep 2023 04:54:58 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, conor+dt@kernel.org, Fabio Estevam Subject: [PATCH 1/2] arm64: dts: imx8mp: Move funnel outside from soc Date: Wed, 6 Sep 2023 08:54:43 -0300 Message-Id: <20230906115444.189664-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230906_045501_694563_9E38CD32 X-CRM114-Status: GOOD ( 14.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Fabio Estevam The 'funnel' node does not contain a register range, so it should be placed outside of the soc node to fix schema warnings from simple-bus.yaml. Signed-off-by: Fabio Estevam Acked-by: Alexander Stein --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 107 +++++++++++----------- 1 file changed, 54 insertions(+), 53 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 6f2f50e1639c..ee92043a4052 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -202,6 +202,60 @@ clk_ext4: clock-ext4 { clock-output-names = "clk_ext4"; }; + funnel { + /* + * non-configurable funnel don't show up on the AMBA + * bus. As such no need to add "arm,primecell". + */ + compatible = "arm,coresight-static-funnel"; + + in-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + ca_funnel_in_port0: endpoint { + remote-endpoint = <&etm0_out_port>; + }; + }; + + port@1 { + reg = <1>; + + ca_funnel_in_port1: endpoint { + remote-endpoint = <&etm1_out_port>; + }; + }; + + port@2 { + reg = <2>; + + ca_funnel_in_port2: endpoint { + remote-endpoint = <&etm2_out_port>; + }; + }; + + port@3 { + reg = <3>; + + ca_funnel_in_port3: endpoint { + remote-endpoint = <&etm3_out_port>; + }; + }; + }; + + out-ports { + port { + + ca_funnel_out_port0: endpoint { + remote-endpoint = <&hugo_funnel_in_port0>; + }; + }; + }; + }; + reserved-memory { #address-cells = <2>; #size-cells = <2>; @@ -368,59 +422,6 @@ etm3_out_port: endpoint { }; }; - funnel { - /* - * non-configurable funnel don't show up on the AMBA - * bus. As such no need to add "arm,primecell". - */ - compatible = "arm,coresight-static-funnel"; - - in-ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - - ca_funnel_in_port0: endpoint { - remote-endpoint = <&etm0_out_port>; - }; - }; - - port@1 { - reg = <1>; - - ca_funnel_in_port1: endpoint { - remote-endpoint = <&etm1_out_port>; - }; - }; - - port@2 { - reg = <2>; - - ca_funnel_in_port2: endpoint { - remote-endpoint = <&etm2_out_port>; - }; - }; - - port@3 { - reg = <3>; - - ca_funnel_in_port3: endpoint { - remote-endpoint = <&etm3_out_port>; - }; - }; - }; - - out-ports { - port { - ca_funnel_out_port0: endpoint { - remote-endpoint = <&hugo_funnel_in_port0>; - }; - }; - }; - }; - funnel@28c03000 { compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; reg = <0x28c03000 0x1000>;