From patchwork Fri Aug 26 05:53:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 12955568 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 7D475ECAAA3 for ; Fri, 26 Aug 2022 05:56:02 +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=s3lZUKgKcMpynZBUSUkl1Uacn/mU9RKn7r5tes3/ltM=; b=ce3Ul6mNXMDtC+ GULtnPY8DAO2iRPmktmi4uiVRSaX8s7Lnoyo2bOIb2lKQPt5Dw+VzlBHANvG5t9WUFPUUo8kQeymq hTa2/C4eLgrHdOblKWzXc+PFv/fCdUjyVqTdbGt9C6ReUXkIBAPkndQ5A3e255e2XWV52iIY66mDP Z9iJboPZdeOWkusN5KjnIlPxVUBVqy67Tu2Xha2Xqe4dOTbbY+P7L5POm0jCQNaVguIOpWll8xuDh zIHXhLwdEyMEhFA4KYg+Gn/A/T7Z2dApkfatoWbq4WvFpeL7MJtqNxWJdWl6vy+fvPD06v7MQlIYD YXJ8y/HWTHYcsL1aa4gQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oRSIw-00EQrg-Bc; Fri, 26 Aug 2022 05:54:54 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oRSHw-00EPbJ-7d for linux-arm-kernel@lists.infradead.org; Fri, 26 Aug 2022 05:53:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1661493232; x=1693029232; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=nHrBrTZj5Iz5LHVgZajD5vpSZnKgQW+IcYkHMnOEUrY=; b=Wrd8FrpDaThlxVWBaQkVvb1PyJGEq26GzF1eJbGt/nB4M/o98JtXHT1X q7bsp1gRhT7MbjeKx4Hzo3ARVMJ+IxWmSfxcvW6u09FrtNn8nR7wVJN6H I+I6UKQewHqDYXYZRCOxmuec2r+bAfia2rXR7aXVD1qvqFvTI+IVzLzwO j4oI6RvANqNseGQtIXEHuYTC0+GdN/jWZpk/1e2TnwWEeoVXXvbMdRsHa wYzt+GtzwjKO7OPuEvQzifpmgZV/j7hBGjlB6BTVeoyR/sktejzevMOwZ NeEOqOEF/AwKwQQLZemSRyT0Au+Ahr6BqIobB2QzH/WivyUeMipfose2n w==; X-IronPort-AV: E=Sophos;i="5.93,264,1654552800"; d="scan'208";a="25816954" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 26 Aug 2022 07:53:41 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Fri, 26 Aug 2022 07:53:42 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Fri, 26 Aug 2022 07:53:42 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1661493221; x=1693029221; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=nHrBrTZj5Iz5LHVgZajD5vpSZnKgQW+IcYkHMnOEUrY=; b=gffMK0Ps9L3BLW+cUD8xat7+MwNlC5UsV/+oqshz49Tw05D8rRCDoGDw IQaI96dZ6xB/edPq1+MbKHxuk2PpO4lkVyXh1Q4HBe8AA3z4/qhQIf1BY xXCtpnbJr2YxC8r10MOXWGcgydLLLbsfBuWwQIOQC+BhEWrRO8QcSTc6N KV4pf5Ur4b34+l9xBgKvIFPN0VEG0OakDttXjFxh2CIy+E+2SiNcHpf2M 3ErabBeXJJzrdqdmphJiEktf5q5k5Vd3O1yC+hhG8F+exKKJ/qNDcKlup ydNgoRVvPHl4AKGUylS2E+Uh1ryS1U/jGHhbcAC16TKu2POzNUmtvwoJy Q==; X-IronPort-AV: E=Sophos;i="5.93,264,1654552800"; d="scan'208";a="25816953" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 26 Aug 2022 07:53:41 +0200 Received: from steina-w.tq-net.de (unknown [10.123.49.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id B45C1280056; Fri, 26 Aug 2022 07:53:41 +0200 (CEST) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer Cc: Alexander Stein , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 6/6] ARM: dts: imx6sx: add missing properties for sram Date: Fri, 26 Aug 2022 07:53:36 +0200 Message-Id: <20220826055336.2821876-7-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220826055336.2821876-1-alexander.stein@ew.tq-group.com> References: <20220826055336.2821876-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220825_225352_608044_C3836F84 X-CRM114-Status: GOOD ( 10.50 ) 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 All 3 properties are required by sram.yaml. Fixes the dtbs_check warning: sram@900000: '#address-cells' is a required property sram@900000: '#size-cells' is a required property sram@900000: 'ranges' is a required property Signed-off-by: Alexander Stein --- arch/arm/boot/dts/imx6sx.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index 4d075e2bf749..2611eef3b2a2 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -164,12 +164,18 @@ soc: soc { ocram_s: sram@8f8000 { compatible = "mmio-sram"; reg = <0x008f8000 0x4000>; + ranges = <0 0x008f8000 0x4000>; + #address-cells = <1>; + #size-cells = <1>; clocks = <&clks IMX6SX_CLK_OCRAM_S>; }; ocram: sram@900000 { compatible = "mmio-sram"; reg = <0x00900000 0x20000>; + ranges = <0 0x00900000 0x20000>; + #address-cells = <1>; + #size-cells = <1>; clocks = <&clks IMX6SX_CLK_OCRAM>; };