From patchwork Fri Aug 2 04:25:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jeffery X-Patchwork-Id: 13751083 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 7F3D5C3DA4A for ; Fri, 2 Aug 2024 04:27: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:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gOD27zMo3lrmJRup4wbY8/orYsPs9hUczeDsWtve624=; b=qxvCncP+sB1ZvLNucUksuGGF73 vpDmfBvVLSGRaIonpFCuZi169g/08BNWHZi+G1JQqlpKdj2xhViljGj+5Bjoz+CjMP8aspf/pEv6N QmRBmseR7o/niefDtykF8E2B1r/QPBktwVMRH0/K7ZFFJ6VB3zyIyOUVQ3rZ71TUbqfWa1lJjxNVa 83G0Oafw39+fk3lU0T890PEiVtCEME7T2/sw/tClhOs7xYKOyyDqrqXIvlSnm3PzhHlt8e2kuX+Rj AshA/Ez3g+t6u4FBtP7vIovVKbvtZeHMHisOBP5i7rLN28ypNNrcsPFtRtygbqo8JHtPuxjTMSnq5 D1do7CWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZjsm-00000007a6P-3fju; Fri, 02 Aug 2024 04:27:13 +0000 Received: from pi.codeconstruct.com.au ([203.29.241.158] helo=codeconstruct.com.au) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZjro-00000007ZjW-2LEl for linux-arm-kernel@lists.infradead.org; Fri, 02 Aug 2024 04:26:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1722572764; bh=gOD27zMo3lrmJRup4wbY8/orYsPs9hUczeDsWtve624=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=WGjeRAxhOWRkakDv48zAWW9fOHaQoA3q0EWGVRKyXRtAPjGYpuknhV4cWUXHpLEOm Mo/uiCeGGi3FtcA2lyKZwcTjrhtSyhtsrDYUpPjwqlapRe4bjDJLNXhApncwZBfAUw 1jBia6zN2TO8cB0SKSoEQ8kY+m6DbMHD++MBRrshpwwdg95TNY/Ne4Ww730qXFdCyq bnvfmTAZhUVrh6oC3bcgMITbw59r3Ap5CR5bppDrAU8WGMdCRMvo5ocj7KkPsjUkpw MdpFDPkE4w4OHIprbWQ9fW9Z/e3yMuv+mN0y6cq1vVbQHl4Znupc8uNV3tUK9Y41/T xO7PI6nF4IWLw== Received: from [127.0.1.1] (ppp118-210-29-70.adl-adc-lon-bras31.tpg.internode.on.net [118.210.29.70]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 461F166E09; Fri, 2 Aug 2024 12:26:04 +0800 (AWST) From: Andrew Jeffery Date: Fri, 02 Aug 2024 13:55:20 +0930 Subject: [PATCH 3/7] ARM: dts: aspeed: Specify required properties for sram node MIME-Version: 1.0 Message-Id: <20240802-dt-warnings-bmc-dts-cleanups-v1-3-1cb1378e5fcd@codeconstruct.com.au> References: <20240802-dt-warnings-bmc-dts-cleanups-v1-0-1cb1378e5fcd@codeconstruct.com.au> In-Reply-To: <20240802-dt-warnings-bmc-dts-cleanups-v1-0-1cb1378e5fcd@codeconstruct.com.au> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , Eddie James Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240801_212613_111770_0E03EF08 X-CRM114-Status: UNSURE ( 8.74 ) 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 Squash warnings such as: ``` arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-galaxy100.dtb: sram@1e720000: '#address-cells' is a required property from schema $id: http://devicetree.org/schemas/sram/sram.yaml# arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-galaxy100.dtb: sram@1e720000: '#size-cells' is a required property from schema $id: http://devicetree.org/schemas/sram/sram.yaml# arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-galaxy100.dtb: sram@1e720000: 'ranges' is a required property from schema $id: http://devicetree.org/schemas/sram/sram.yaml# ``` Fixes: d44a1138cd82 ("arm/dts: Add Aspeed ast2400 device tree") Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed/aspeed-g4.dtsi | 3 +++ arch/arm/boot/dts/aspeed/aspeed-g5.dtsi | 3 +++ 2 files changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed/aspeed-g4.dtsi index ec9563c629df..78c967812492 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed/aspeed-g4.dtsi @@ -230,6 +230,9 @@ adc: adc@1e6e9000 { sram: sram@1e720000 { compatible = "mmio-sram"; reg = <0x1e720000 0x8000>; // 32K + ranges; + #address-cells = <1>; + #size-cells = <1>; }; video: video@1e700000 { diff --git a/arch/arm/boot/dts/aspeed/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed/aspeed-g5.dtsi index a846df1a65ff..100380417f99 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed/aspeed-g5.dtsi @@ -314,6 +314,9 @@ video: video@1e700000 { sram: sram@1e720000 { compatible = "mmio-sram"; reg = <0x1e720000 0x9000>; // 36K + ranges; + #address-cells = <1>; + #size-cells = <1>; }; sdmmc: sd-controller@1e740000 {