From patchwork Fri Apr 1 10:19:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 12798057 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 25449C433F5 for ; Fri, 1 Apr 2022 10:22:04 +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=OIw/6VhqQ+b4e8mIa1H6/8OIcWnxyryTEpkaNWSAQFM=; b=EvYnCVzHYSS3Vl WTLcmUQfRFD6U5DLjLY6M1EvW/BCFqFxZ09W4azQZ3Ma/FuoHqd3AQs2BP1e9uaRuvR35OQgMFnNf uH2ZCR/HXLQTmunCFAwrqiotWOusdRm4oaEKUJzQTuLq/V8X4JW03VFb96yF64OVeUw9d0VmjjD9d EzM+F/gVvr4+cJhLl75D+fNLNJCyL1xEXgRG5DwpJLULlaTOzx1guViUqiGKVJAFuxUkLx1hiX/Yz igjuniU5Lp+YvonM6QrsEXtCQ24hKrft6WdTvNSLrF2UIST5v11fOi/KbCyuL521rePE8zC8g0/tN EjCqpBZW5KqnsHwhQn1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1naEOT-0059So-Cb; Fri, 01 Apr 2022 10:20:37 +0000 Received: from sender4-op-o14.zoho.com ([136.143.188.14]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1naEOQ-0059Rz-HS for linux-arm-kernel@lists.infradead.org; Fri, 01 Apr 2022 10:20:35 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1648808414; cv=none; d=zohomail.com; s=zohoarc; b=Pg66HM7IjtDCBmxn7FipZwxPREL7049yNw4vQy3ONx8uSA9ELwhHW2h6MOsLsaBexdWCborfAz2N0rbcn0/wUbBe4USiVTyaY6LsCk1yvXzHFGv5n2hiVHFj9Lgi6gThQF6A3f3wypbxLx4OuCDJmdMWf8O+7OciUtzM/iAoga4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648808414; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=+dmV2YhEto56L4QtQz/NwowczTM9IlbxM1SdZmkUe3A=; b=YMaq8gZeQa/LiLLQMChsnQZWTwGMs0eEQ6DhRkFAl7jhwcCjD+TPmATP3mJEo5y3bxlm+jAoeRUK9I1Z1Pj4S7wlS83LIIwcMEoMkUo3ZT9fCH0Um0RLBnKDSV416cjl1/Hm1c8KgmCQN1gXEzVNhY8Io0py3erVirT7UB/L3kg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1648808414; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Message-Id:Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=+dmV2YhEto56L4QtQz/NwowczTM9IlbxM1SdZmkUe3A=; b=HNI0Lvn1lLwg0aUAbaD3rVUXP2csMt0T7lvvA2GtRJ/AJzzUKj8hrH6MeK8QLg2P OC09GfE8UpbN5Re0Yd2clGKgiKZO3uhIOmCOL5r8GkBuVuoLPYB86aYKi0A/m8Xuirc vwkgXbr8sbx7pNGgoc7qflHsreP7cEoilEw+CYGE= Received: from arinc9-PC.localdomain (85.117.236.245 [85.117.236.245]) by mx.zohomail.com with SMTPS id 1648808412518966.3548061519505; Fri, 1 Apr 2022 03:20:12 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Florian Fainelli Cc: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Hauke Mehrtens , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= Subject: [PATCH 1/5] ARM: dts: BCM5301X: Fix DTC warning for NAND node Date: Fri, 1 Apr 2022 13:19:58 +0300 Message-Id: <20220401102002.15765-1-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220401_032034_667145_71043BA0 X-CRM114-Status: UNSURE ( 9.10 ) X-CRM114-Notice: Please train this message. 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 Remove the unnecessary #address-cells and #size-cells properties on the nand@0 node to fix the warning below. Warning (avoid_unnecessary_addr_size): /nand-controller@18028000/nand@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property Signed-off-by: Arınç ÜNAL Acked-by: Rafał Miłecki --- arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi b/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi index be9a00ff752d..bdf1b4a608e6 100644 --- a/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi +++ b/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi @@ -10,8 +10,6 @@ nand-controller@18028000 { nandcs: nand@0 { compatible = "brcm,nandcs"; reg = <0>; - #address-cells = <1>; - #size-cells = <1>; partitions { compatible = "brcm,bcm947xx-cfe-partitions";