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>;