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>; From patchwork Wed Sep 6 11:54:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13375615 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 2C173EB8FAF for ; Wed, 6 Sep 2023 11:55:29 +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:References:In-Reply-To: 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: List-Owner; bh=lBbD5AmTalIp8weSEQhYvyEL31W+uWhcwuxF17utNRs=; b=EytZcNbHx4ZTMa 5ILIF090Oleyr+4hxO/ZZiMX+oWLJXh0xT9TxOoaUA2FRcn8FriwZqC+6ckKKHWISEr3aXY4tMuDQ wN2SiZBVLJ4FHW4kyIwPYKl9XqOpWK/sQJNMLFoG9IB+0AyewbY84Ur+BMOFakvg0csnfhAk+GbYE SjcIrKKbZMV9eh7peIFUSnbEvBUAW+Xhdvu7KO879CC/csjT+luD3Tb4H7xaS+VRG1oBUOiVstcet Sdm9VHBHbe+PPxB99vImbx9IR9hTVKTYS6ZhaZZMgzHxzXAHSU0FRU24rIdr99hcOEceUM8gnShDR kJ9pGWaO30eCZOft0DXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qdr7i-0093Eo-1m; Wed, 06 Sep 2023 11:55:06 +0000 Received: from mail-ot1-x32d.google.com ([2607:f8b0:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qdr7f-0093BV-0U for linux-arm-kernel@lists.infradead.org; Wed, 06 Sep 2023 11:55:04 +0000 Received: by mail-ot1-x32d.google.com with SMTP id 46e09a7af769-6bca018afe8so1049504a34.0 for ; Wed, 06 Sep 2023 04:55:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694001302; x=1694606102; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KZvOe92Pck1yHqHcbbHGxSZdtZe/Mh5Keoxk8BqOdiQ=; b=OcNzR8lqXZJjgLH1YuZaVjQh6uItZmKsWtVrMZrINwGuimi0nyeit8i0HyF0Nd4aj5 wyc2S+wuMcFsNmNWXOrTUpEDih6TCmBl3+4nVLC2YoYQ6wNX/eWjoNzNuPnbR6cDMRyN LeFZ1Z6N1+2Vl+vTJCkxqNWKtGobJndTA7+lbrnlJH3dygrnnCJKp7msLQdrSeIz+swA A4qVnVRCJ/wyC8zuDm0A5BUqSX66EffZp533QD5i7Z8ylBE5R8TM5SQngllmH1YNi2bO tzXy0b7W7+6x+BEreqW5ywiRRKQwhhUz9mfUzlPiakEs4TngInt1VSkqyOMi5kv8o8FP jYBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694001302; x=1694606102; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KZvOe92Pck1yHqHcbbHGxSZdtZe/Mh5Keoxk8BqOdiQ=; b=TwNBGAy4Z7JSEcLVAfVOkDKZOqQw41aC5pHzLM0LOy0vgbZf4gM64S8DGdcu4cEX/N GWHqW+pS4KNz3A6/PPOPUHA5/ugEA8ZNaLFeNEqZ5t5q7mqmK/c1+9EdbeV6pYkgBmQk cmBLYZ3egwT5HLlZ2cfXvALd3sXYhYD6YX65VNWKHu/Xdb0nN5EsoEnSUXAb8789VYYs uxec553wJ+UF/D4OcdkdLYK3dBVzc2usA+NVGfPO/I00g64+d0Tno1Glctmf1s2BzcDp alAskLTbXg5i8TtDD2M7X7EN/IBnUIs+vsVkRm/nzUNZ+dknVgfh6Aq0km/8u2BFM5Gg n7Vg== X-Gm-Message-State: AOJu0Yypevab3VFSYyDgYydJt/QcpkR2lK6RLSyet6EPUjI5U0W8vdmX XTHtqQuwajRSC7OZ+LoOg3Q= X-Google-Smtp-Source: AGHT+IHTTkfKBB3PaiGWPb5zSXFj7B556Sk4EnEvYfBf/BnTY8TtkNaQDcMvh7TQGd8zPfVpl5Ox/A== X-Received: by 2002:a05:6830:4507:b0:6b9:db20:4d25 with SMTP id i7-20020a056830450700b006b9db204d25mr14726526otv.1.1694001301738; Wed, 06 Sep 2023 04:55:01 -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.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Sep 2023 04:55:01 -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 2/2] arm64: dts: imx8mq: Move funnel outside from soc Date: Wed, 6 Sep 2023 08:54:44 -0300 Message-Id: <20230906115444.189664-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230906115444.189664-1-festevam@gmail.com> References: <20230906115444.189664-1-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230906_045503_200989_23C8BD42 X-CRM114-Status: GOOD ( 14.80 ) 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/imx8mq.dtsi | 106 +++++++++++----------- 1 file changed, 53 insertions(+), 53 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 35f07dfb4ca8..4b1ce9fc1758 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -225,6 +225,59 @@ opp-1500000000 { }; }; + 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>; + }; + }; + }; + }; + pmu { compatible = "arm,cortex-a53-pmu"; interrupts = ; @@ -394,59 +447,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>;