From patchwork Mon Sep 18 12:41:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13389560 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 5BFFCC46CA1 for ; Mon, 18 Sep 2023 12:42:22 +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=uaZqP3fch5ImHx8zFMWRUkF+VEIjDD2Ekt7NpqC4DgU=; b=Miqugn88ZYedL1 Jea9LvEIu34QV0aDollgG9toCrvZW676A5U+TKICJxHpiUGBlSVmyLBhxxjizHAy7+7qpylNM1vwo pZNqzAsUtYixvlWdTiPZrZ2ikbFb9B8PyH0LvQWVRWsINGy4Cszrw6DX77VDJptyDojL9FmBC2cFW LeymUrb+4cEnd/RIvVsZ4lV982i99LFW6GiLKW7H39vC1wc771dcgpygtEtHbZbO1HWST+C9GB3ho oFc/GdgML7aTbqm5O92U6corbsuEGK65cHEUG2ix3T0jmwv0o4W9F694tCGZZThQxlHpg627ZHsdk yCmtoQ5BHrA0PZ1jFAOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qiDZb-00FRXW-08; Mon, 18 Sep 2023 12:41:55 +0000 Received: from mail-bn8nam12on20627.outbound.protection.outlook.com ([2a01:111:f400:fe5b::627] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qiDZR-00FRSH-2K for linux-arm-kernel@lists.infradead.org; Mon, 18 Sep 2023 12:41:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C3GLlz2d9o9XCLr7KFrFXq9cjfBbjfIvQsYAkpGBoMk2Kg6OtRInaGQpQqJYx6oAsAk0ETOLKH7lGj54TTx+zTzPDw8xLtghdu+KNLRTqn43xpVP2wjZ2oWB7AA1rOOmd01pzhMLtoHLByncZ2Bw4F7vvqKnnjZZaLyI8nln+BD0hapYXpTXZx75rjkmXrNTq1/TgsRRVjbF0kDLqfdT16MzOEuAY5DQkAKfbLTqGDUbSMLdK3RlGPY/SkgooBZF/vPmJFjODIcga37H8HIxrYHryv8WHtQfB1H9CFUg606iOjthxhDBrK1kKlH4Jb0JxiJxO2INHQXHmmppC6PAdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CmJbAwbAIacIYlZaklNcvYgQMvO68GLuUb5mpGsGuIc=; b=kRueUQO0W/yFdMM4+iS+cpDIM96QF0KRHd9nZFZeDKkNg73K1I5LHJPRVSTXckPCLOL4sq2j3+H9wIZa5wVpPcWUvpH/gkoZcF0p41OGZe5Gaq6khbT05ukJBAWm6sAhhHooJhDciXokwE2tZrDLwipy4dE757NzVOV05G2RuTesShEM1gAqmHBun/s+Ie4V5aTMQUoO44jfbQe/PMsHznTEBmZ+Ky3iXMAht/rJ419xoewLkZANQpZRgg/6CoWAG26mP7knmvXSigWUo6TkQH9/KW5yvtWxsgf9ph4Iz2vCwhKd9wiFx4hOHYSroBwaGoBj/TJXtv+c6vXFo9I1GQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CmJbAwbAIacIYlZaklNcvYgQMvO68GLuUb5mpGsGuIc=; b=dY1TAlt+XHtVCafKOPt+Vje8tzA/46K+//W92fCvNXCybyn5YGjrLQZEjgVrivmM5ctyUDu7ZLeDK3IBSX9KZ7bKBJUAynCiv/1MKdA3nnaOlAzTyBeCgSJT+zkiS9eSIEn6enLD655cZ9/5WbF1ylfo8z4tb5yqAi8mNKBa4SQ= Received: from CY5PR15CA0034.namprd15.prod.outlook.com (2603:10b6:930:1b::15) by CH2PR12MB4102.namprd12.prod.outlook.com (2603:10b6:610:a9::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.26; Mon, 18 Sep 2023 12:41:39 +0000 Received: from CY4PEPF0000E9CF.namprd03.prod.outlook.com (2603:10b6:930:1b:cafe::d0) by CY5PR15CA0034.outlook.office365.com (2603:10b6:930:1b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.27 via Frontend Transport; Mon, 18 Sep 2023 12:41:39 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CY4PEPF0000E9CF.mail.protection.outlook.com (10.167.241.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6792.20 via Frontend Transport; Mon, 18 Sep 2023 12:41:39 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 18 Sep 2023 07:41:34 -0500 From: Michal Simek To: , , , CC: Conor Dooley , Krzysztof Kozlowski , Laurent Pinchart , Parth Gajjar , Radhey Shyam Pandey , Rob Herring , Tanmay Shah , , Subject: [PATCH 6/6] arm64: xilinx: Remove address/size-cells from gem nodes Date: Mon, 18 Sep 2023 14:41:17 +0200 Message-ID: <7252203d52af3ca8867764c8514affc4828e530d.1695040866.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2350; i=michal.simek@amd.com; h=from:subject:message-id; bh=VxjWBEG/PxOMI66ltpxdPq0p6b+3O7VYB+YnbxR7cnc=; b=owGbwMvMwCR4yjP1tKYXjyLjabUkhlQO18zfM18mPdmVMefNHu+k7T9m97rM8EuTSm2cY9z/T 0z1bWttRywLgyATg6yYIou0zZUzeytnTBG+eFgOZg4rE8gQBi5OAZjIHROG+VmqeyXjme5oi2y8 Xdg0i6lGSVekkGFBI1vqH1ulX0sZm5aVr5/i+pBt0mFLAA== X-Developer-Key: i=michal.simek@amd.com; a=openpgp; fpr=67350C9BF5CCEE9B5364356A377C7F21FE3D1F91 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000E9CF:EE_|CH2PR12MB4102:EE_ X-MS-Office365-Filtering-Correlation-Id: 7cc68610-d404-4854-dda6-08dbb8449a94 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lybqzqikcWia4pD6//tX1FahWNoQgOwks3hDpkxJzGujGKiNretB/WhikGLFSEwAomUsVOiBgcP6cWMTPmvfA9QQq6YTJ5EjgkhuCzWSgb0aYOcS8mgg3DKvN75ZlcBtbpaipeVpb5frYJovYZ0u2LcWXoOeSq5+DmgBkdW+KJ1Uo2s5+u4uDGDUbZaZQMpqhQvyUJcLduc3NzhVzW9+EmbA8X8rIY7gKSlN67Xq/A2UVT7pa7hA+ZisFkLG81n8u037BFuWxMFkx+E09r5BiMOBpNWILOgigCKMNMaJ+nJLRg06zyJLLz6OVCDUj/1v3J2HOY4na0y6XYEHjFdlYhXWYwBDi8TzPetzN0xIDXhHVIO4yiFM4gTl9iJkDm16WH+/OjPARFUYmE4yhrZBMmr0VEJGIOvAegia6e3AWwlnTzlSxY4MPEbwmB+qVR8idQhQ6VRRHaoZ2TaWDba4cmRnkAdrzG3hCN9t7SSnLoy2IX007gu0+VbMkpdytRjr6DZYxSVHOI5RyF8Jht4QioB2qpdiIAJx2fA39L1sndVF/tDhYaZAwI4nHeAJx0444U/b86FVunOMTGKe49nV/SiwIbSRCmiq14u9b6m3UNo1lvQDkAsKxdOSnHr4edz/TBSaFmrCYnRCqGQpEPWfyMrq15nNzPTyUYOfQDZ3AuVmUKiSMyQ1nrCCYPxGn9jaBwy+8N8q2vxSonq6qIasnTA3fLsngiriR85Iilv2qIx8NjN3BE1n0yDA1jRLc/iQmE2IdjhL4D1nhhEn9Rvb3m7o9G04oFCtesypAGnjRnU= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(39860400002)(346002)(396003)(376002)(136003)(1800799009)(186009)(451199024)(82310400011)(46966006)(36840700001)(40470700004)(40460700003)(6666004)(83380400001)(82740400003)(81166007)(356005)(86362001)(36860700001)(47076005)(36756003)(2616005)(426003)(336012)(40480700001)(16526019)(26005)(110136005)(70586007)(70206006)(54906003)(41300700001)(316002)(2906002)(5660300002)(44832011)(8676002)(4326008)(8936002)(478600001)(2101003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Sep 2023 12:41:39.2853 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7cc68610-d404-4854-dda6-08dbb8449a94 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000E9CF.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4102 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230918_054145_759894_BD312B77 X-CRM114-Status: GOOD ( 10.99 ) 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 Some boards are using one mdio bus which holds multiple phys and also boards are using mdio node for bus description. That's why there are cases where address/size-cells are unnecessary which is also reported by make W=1 dtbs. That's why remove them from zynqmp.dtsi and let board DTSes to handle it based on used description. Error log: /axi/ethernet@ff0e0000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index e50e95cbe817..f5e1eb8cb3b7 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -584,8 +584,6 @@ gem0: ethernet@ff0b0000 { ; reg = <0x0 0xff0b0000 0x0 0x1000>; clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk"; - #address-cells = <1>; - #size-cells = <0>; iommus = <&smmu 0x874>; power-domains = <&zynqmp_firmware PD_ETH_0>; resets = <&zynqmp_reset ZYNQMP_RESET_GEM0>; @@ -600,8 +598,6 @@ gem1: ethernet@ff0c0000 { ; reg = <0x0 0xff0c0000 0x0 0x1000>; clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk"; - #address-cells = <1>; - #size-cells = <0>; iommus = <&smmu 0x875>; power-domains = <&zynqmp_firmware PD_ETH_1>; resets = <&zynqmp_reset ZYNQMP_RESET_GEM1>; @@ -616,8 +612,6 @@ gem2: ethernet@ff0d0000 { ; reg = <0x0 0xff0d0000 0x0 0x1000>; clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk"; - #address-cells = <1>; - #size-cells = <0>; iommus = <&smmu 0x876>; power-domains = <&zynqmp_firmware PD_ETH_2>; resets = <&zynqmp_reset ZYNQMP_RESET_GEM2>; @@ -632,8 +626,6 @@ gem3: ethernet@ff0e0000 { ; reg = <0x0 0xff0e0000 0x0 0x1000>; clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk"; - #address-cells = <1>; - #size-cells = <0>; iommus = <&smmu 0x877>; power-domains = <&zynqmp_firmware PD_ETH_3>; resets = <&zynqmp_reset ZYNQMP_RESET_GEM3>;