From patchwork Wed Dec 6 12:39:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13481748 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 6CF83C4167B for ; Wed, 6 Dec 2023 12:40:07 +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=IvLXor3FBt+BSiiEdmwTsYVEGYtuCBpFGhyXiKEReh0=; b=vKG1ELvi0xfkTg VWm8642MtZEy9Qot5lkBb6ut12kOhgfGyGfy4diz0BLs4qgcKCZwkYTXOW6LNIRNBWZDiKt6CXNH7 3H+aPebGbrClEr+08HDFaf63bYBoO++ZhM3hTzFDhPOpXm/cHySmVCcJGmU6mFaBTig4+GNYqugfr gYyOkj6qh9o+xF6pTVsFxwqgzPvCLDJC7XgZ3WRA00FKNxfk9P+7DPcdh+5DMIl0E1HFgD8nKgfnb 7yIsIcEUXybR/UidxXQMe/FANuTwkCTbE7e8TlYBe64Y4fPF6KvSX92bGuR+RfbHH5sl1YTZinI3H HiCmeVJUfDzRIBvDIAhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rArBg-00AHv0-2g; Wed, 06 Dec 2023 12:39:36 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rArBf-00AHuB-0Q for linux-arm-kernel@lists.infradead.org; Wed, 06 Dec 2023 12:39:36 +0000 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1d0c7330ad9so3454935ad.1 for ; Wed, 06 Dec 2023 04:39:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701866372; x=1702471172; 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=04xZ/hY8X3Q7g3TJcziNJ1KXS0hWChoy9XcEKcfSynA=; b=X4vtN9gmyzmwsScO30IgWEEqhI2GcUSsGohjjGZNDxalaQ8+2zx+0OBRlyuMxDoCpz zf2T+9qjlZb5JIIHLLKK9yQDruaNJnUl+k7YTSMrTslnQhdrVGFKQ9/rFkFzW1culxLC NM3VuNKrAhtRdnbbhbHn4hifv2R9xYTZLTEIHdhLI19UGubVXPjYPfYR4TqH1SlcMkWT 31zhc350BjfYAnv6dRk+wLxfCCC0VbYpH2tEJXm53kOct6U8oPLBRzFwSVIGVDstc9G+ ehJnwT2XI3zT2ImoQ/nMHqoahaOyfI20Lb2Rek4lObJAgWRbgj9cn05Mzu4hcNRZouA1 olDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701866372; x=1702471172; 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=04xZ/hY8X3Q7g3TJcziNJ1KXS0hWChoy9XcEKcfSynA=; b=FvNaI8kTaaglvYGrugTNz66v19lq0cv2Qv5OSG2WSIWATkz7YhI9hbeaC4wT/ea92h 048REfP6NH/OzKNpBh9FGoZLyYp6wNrVllsnAcStEeAJ8idQgvRX9//+k7iwfZ/U2gi1 n2svVKrAiebJ+Cd3XFOATRG0U9KNA5kd275oCFkKoReTYY0aO8Icf4/SIcwuqAbIjdDN heVrochl285ZhBfhaezTL29J8Kxu6CuOmQuCdd63qpQQITt+wb2dkCRcJx2khGbpTFrV +H+dbwosQqjvgHOyji9vTUgFDfSrpzk6l2nfQ8KzievexRCvp6ogOsiiYrfY1H65HaYQ Grow== X-Gm-Message-State: AOJu0YxfqW9bWu716gbwornkz8wVZGHTRkQEgkHTNlMD2HaQLPmwpWwq 0n9jLGeAybZBzX6yMSvBwbs= X-Google-Smtp-Source: AGHT+IEAu8Xu+DKfqjYmzcxR9bBX4H3FekLrFhkgNVi8U5vV6z7mePgoVvZ9+cY8PQkSLqA1P2pVCg== X-Received: by 2002:a17:902:7616:b0:1d0:bcd5:903 with SMTP id k22-20020a170902761600b001d0bcd50903mr1442230pll.4.1701866372139; Wed, 06 Dec 2023 04:39:32 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:6764:e124:5ffc:3f5]) by smtp.gmail.com with ESMTPSA id i13-20020a170902c94d00b001d0c418174fsm3190632pla.117.2023.12.06.04.39.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 04:39:31 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH 1/2] ARM: dts: imx27: Fix sram node Date: Wed, 6 Dec 2023 09:39:20 -0300 Message-Id: <20231206123921.2255532-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-20231206_043935_187768_7213F931 X-CRM114-Status: UNSURE ( 9.64 ) 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 From: Fabio Estevam Per sram.yaml, address-cells, size-cells and ranges are mandatory. Pass them to fix the following dt-schema warnings: Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/nxp/imx/imx27.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx27.dtsi b/arch/arm/boot/dts/nxp/imx/imx27.dtsi index faba12ee7465..cac4b3d68986 100644 --- a/arch/arm/boot/dts/nxp/imx/imx27.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx27.dtsi @@ -588,6 +588,9 @@ weim: weim@d8002000 { iram: sram@ffff4c00 { compatible = "mmio-sram"; reg = <0xffff4c00 0xb400>; + ranges = <0 0xffff4c00 0xb400>; + #address-cells = <1>; + #size-cells = <1>; }; }; }; From patchwork Wed Dec 6 12:39:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13481749 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 9CF69C10F05 for ; Wed, 6 Dec 2023 12:40:07 +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=5ITo2dm06DYQH3YuOp55kaWvCPOV4qZDvErxW5g98ls=; b=YgWzzodWXsRzUJ XnsL6hGiXQMnHken//JnsA0OgN+oS1iLp+1Y1SIaVFjxphYVkJTujfWAiWdghkMaMLBEaUMCGz7k9 ODmGYTPgRCecnQshI8KYGk178KR18nuPRwUs16DD8CdXgwY8rpV3e5RAhBDsaMA+FO/CLHyTtJgzQ 5/XTIOf9KtMyWVAUERSgzSTkPYMFI6x3zfgHc1YxmyWKHh/u9jl1aqyMkpRHIgp17K+WxNUulsQyr EpFnuZnRR2/K3HyVefi09zGZAXa2GX89MyHVxddnH8YLpZq+NXDTYH7VPfg5v8ocA56QwqcRweaZO N8dJqwuMRI15IIHYu2gA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rArBj-00AHvx-1Q; Wed, 06 Dec 2023 12:39:39 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rArBg-00AHuN-0A for linux-arm-kernel@lists.infradead.org; Wed, 06 Dec 2023 12:39:37 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1d03f03cda9so12986915ad.0 for ; Wed, 06 Dec 2023 04:39:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701866374; x=1702471174; 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=rsWvXcXc4qsieA/c+l8rmz9QxOQqe6iHbUmTC2bC09I=; b=BQ0+99jyu7Xanj/IhcAzmHkMG2ibaL2uvMbr4ZfDb8saRaKNsf5D4fsRZsg8o9lqld ep1R2kJudkJYGMc3SbzXDcCbSdHEi4oe5vpZAXQl4xnwpmYVyEjYF3WJdb4sOQ0wyfil cE+jOksNJknGUjSLWSaIJl5/ndaWl65wNY2uyhnC8Fdcux/WbpYk5mJPeU/x2JNjythT cR+2dBShR16jM2kTTKmRCmxi5BHNn8nwu04xj3B9HGOsSPkSuVkvKkPEE0Y8pgmcrJT3 tMuHhEPb1X7gvXlgEmjsIDlRqCF5Ks43PrcTic5dY/0ysUxVQpTfD8MHCi5OSbabnECK HAMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701866374; x=1702471174; 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=rsWvXcXc4qsieA/c+l8rmz9QxOQqe6iHbUmTC2bC09I=; b=G1CQlaXPJG42wG9dVDEjGYG2jOEej3SbpeDdLJ0+KIUqh8E5JyjLNtHZuWK+1YZjnv IBBVraHY1Q4TQml+0DSl8bj+P+/Tvj78s3oar2jGfigWd7bxvs4aWeUD94K6I8PNoBTu Yw7i8aOffU1P3h2IYYjSerpk97L8n4qO7v+8PBmw69kvgj0VzHIMTIbfh+Kc4K7BDJIX dAeD4Xb3VyLjltQ9PFnjlvuIYliYGDTCWqS3bYQ/6rMUnC6vDtSN8KSeVUThsDvoVS7H zHdE1MJI70qsoFQzkCq0p4bZovapD/RjqUvWtpI5yNIE8qlg0EK+iwsIlRtRwxWD45TS om6w== X-Gm-Message-State: AOJu0YwC7ZVLzq9oOQDkMfCgVTr4eNJaiqssiBtPZvp2npTDTjORoJNi /LYJO3sQpHPijmnU+S84RCY= X-Google-Smtp-Source: AGHT+IEQIiJkVMYTbMOTbMFl1w+L+jNmuHrVOG+rSp5q21yb6b2kVSMrdLFUE8aoSrmRLCtvSgl6TA== X-Received: by 2002:a17:902:da86:b0:1d0:45b2:d8b0 with SMTP id j6-20020a170902da8600b001d045b2d8b0mr1458861plx.5.1701866374038; Wed, 06 Dec 2023 04:39:34 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:6764:e124:5ffc:3f5]) by smtp.gmail.com with ESMTPSA id i13-20020a170902c94d00b001d0c418174fsm3190632pla.117.2023.12.06.04.39.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 04:39:33 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH 2/2] ARM: dts: imx1: Fix sram node Date: Wed, 6 Dec 2023 09:39:21 -0300 Message-Id: <20231206123921.2255532-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231206123921.2255532-1-festevam@gmail.com> References: <20231206123921.2255532-1-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231206_043936_087068_51808610 X-CRM114-Status: GOOD ( 12.09 ) 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 Per sram.yaml, address-cells, size-cells and ranges are mandatory. The node name should be sram. Change the node name and pass the required properties to fix the following dt-schema warnings: imx1-apf9328.dtb: esram@300000: $nodename:0: 'esram@300000' does not match '^sram(@.*)?' from schema $id: http://devicetree.org/schemas/sram/sram.yaml# imx1-apf9328.dtb: esram@300000: '#address-cells' is a required property from schema $id: http://devicetree.org/schemas/sram/sram.yaml# imx1-apf9328.dtb: esram@300000: '#size-cells' is a required property from schema $id: http://devicetree.org/schemas/sram/sram.yaml# imx1-apf9328.dtb: esram@300000: 'ranges' is a required property from schema $id: http://devicetree.org/schemas/sram/sram.yaml# Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/nxp/imx/imx1.dtsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx1.dtsi b/arch/arm/boot/dts/nxp/imx/imx1.dtsi index e312f1e74e2f..4aeb74479f44 100644 --- a/arch/arm/boot/dts/nxp/imx/imx1.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx1.dtsi @@ -268,9 +268,12 @@ weim: weim@220000 { status = "disabled"; }; - esram: esram@300000 { + esram: sram@300000 { compatible = "mmio-sram"; reg = <0x00300000 0x20000>; + ranges = <0 0x00300000 0x20000>; + #address-cells = <1>; + #size-cells = <1>; }; }; };