From patchwork Mon Oct 24 11:32:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 9061 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp444345wru; Mon, 24 Oct 2022 06:11:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6U99Rjmy5YmDNQONyy/6TMpcyE/T2Tlkc3jU+zlWEFXQUO8D8Y5dXAvParhQvadjk0JOdW X-Received: by 2002:a63:ed01:0:b0:445:4345:4a21 with SMTP id d1-20020a63ed01000000b0044543454a21mr28410749pgi.404.1666617064315; Mon, 24 Oct 2022 06:11:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666617064; cv=none; d=google.com; s=arc-20160816; b=rf84MPnpKDmiG6lb2+nr8dH9apcn2eKCLbkbC7Oth0Ec+HeB0/z8HReClkjscbLAIX SbMhR9Xniqpz/wnfT8rRCaA6evLhQ1CZ7MLmMwVtcwwHQ9idREXo9i9GYSKERtus8HQ4 iP5oMLkx4K8IHThpTGjuj5R7xM6PhCfZ4q+gmoY0tvWthkez5DPqmcZVVevIDNwJY7Gj 6UQA1eMTKFqMpojJp7T5DWHNDbwX9Tgsx6uarOUx/5lr5e3q6HC7z2F/nj22GwcsZDxB r9I4kdGcPKZuTF3uF9f+uwgOiFk//wW9z5EdT/9OOdG2D1TT3vPTJ+XQD4eROt+3l3Bq 2rYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=RPgdh1sSP9fqRJg+D7KWgTwxX0QHZ2858Pc69OAWPbs=; b=qlLfQu+UonBo1MLtGeVPyvdnGqPi5ekbE2amea3LqN5Qm/mwjObFElI4lF0zjEXsy0 1NoZDgBiqzHNVeeKW9O9xuONkwXYzapPOHO9/L9JwcorzTAcqHSakGqlD7JvnYNkj/Ev 6aR2RXI9BJtiv5rNLBXcFcjWLcHnLG14pBUMnwrjTjyvYLglVj10dVio7/NWB0/wNHaQ NNPxTbCQYfBza01diQ8qu1hNUfPAAg+LfitQT5PdHQdpt9gShDXx+YjmIeUJVWDvuxI2 1aP1msRd4zgReUN+AQbTevRFLRj3O2qlcnx8OKYWKZ8WwP/OQMYTXOD1zfF99gZ8yP4c +KPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=B2hEBCpK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b20-20020a170902b61400b0017a0e8713cesi31839053pls.452.2022.10.24.06.10.48; Mon, 24 Oct 2022 06:11:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=B2hEBCpK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235523AbiJXNIn (ORCPT + 99 others); Mon, 24 Oct 2022 09:08:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235454AbiJXNIS (ORCPT ); Mon, 24 Oct 2022 09:08:18 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98BCA9C7CC; Mon, 24 Oct 2022 05:21:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id ACAF1B81625; Mon, 24 Oct 2022 12:15:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17FA3C433D6; Mon, 24 Oct 2022 12:15:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666613747; bh=BkieIoFSvHqO5CAjaIRjii/HdAjZVkk0SXF/cAxkg64=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B2hEBCpKd3HerjBe0oOQnumfLpb8v1nIlhYw10xYWPXiYWisaxAYz+SeBJOV8c28O yvzKS5GTMaebuL78XofSYbI5//rKnj+kEGfRNQ5h42Qvt8ErImA/4QQkyNH5jxvpFv F5auEgFFp0+3Q+J94EwXC7u1kn47DnScbcqRqPoo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alexander Stein , Shawn Guo , Sasha Levin Subject: [PATCH 5.4 225/255] ARM: dts: imx6sx: add missing properties for sram Date: Mon, 24 Oct 2022 13:32:15 +0200 Message-Id: <20221024113010.582637725@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113002.471093005@linuxfoundation.org> References: <20221024113002.471093005@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747574654583474190?= X-GMAIL-MSGID: =?utf-8?q?1747574654583474190?= From: Alexander Stein [ Upstream commit 415432c008b2bce8138841356ba444631cabaa50 ] 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 Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- 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 531a52c1e987..b3e24d8bd299 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -163,12 +163,18 @@ 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>; };