From patchwork Thu May 27 10:19:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1484533 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=GCYldpRK; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FrP1y5n5lz9sT6 for ; Thu, 27 May 2021 20:19:34 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AADD782CAC; Thu, 27 May 2021 12:19:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="GCYldpRK"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 29B8B82D53; Thu, 27 May 2021 12:19:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B926282CAC for ; Thu, 27 May 2021 12:19:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x634.google.com with SMTP id h20so5790187ejg.1 for ; Thu, 27 May 2021 03:19:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kgVqotgYb2hqb1JezHfIWVjR35apTfsIQH9DyD92ZAU=; b=GCYldpRKZe4fOsjlH/Ue05GKIIOKxR/T+DOWd3HYyTWjk5jmilw/3XrdtkLQ6YX8R3 tnoHo2bmXWW/axQ0mA7dXkiDdfl0ePOzjh3gDNtHKF+B67y5SWnNyuB1LpLXwxJiy8gS JSSnRukY6U1R1H2LfakajFFMxvuNjZge3ED5V4i+J6F0O0dwMhV14cjc78ulgtioN5E7 5r/EZPX1scJKcdRTfot1FGzHVu1CnYA+wsdpIV6/cuE0MAM5StPqgoIR3jljkoMAChD5 QcO5UCMfSNdRNUGm+HhxrVccZJdxnUhCllrrivHk4ozeHRnTimDfbHGcvGg1ndGuSIhi +mpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=kgVqotgYb2hqb1JezHfIWVjR35apTfsIQH9DyD92ZAU=; b=nInr6FiNc8oyrMsfVMZqTfq2DdCLN3V5Y1K1sNogeFm/7QNiwEcPGOe5BEgWqgqEj7 Y07Jo3N/jUBtCgqF9R/jC7pCxriF3PPYErlmIMavtLvnaa8EYdMxCAW/Ph/zJoU4L2ue mykvEsg99Pvf7IomqCevBwWXDPEGvxcoEDbGWeYGm4QcReNsLfopijUJqOXWXTXKVpuU 3KOWegwO+K0YyNwATUt/GXCmjd/YdUtEtw3Fv5V6zaRQdJKXHhDx4dnASx/bEq/vOwrn SfrzYmvUmWk7IiSplCqwDzzl/kV63fxHhnlrMYNrqhhmLuWpvibZYV8wWS3BwFxw8N3q oZ3Q== X-Gm-Message-State: AOAM533wWJknhBD1uXYqEk4cxp/dNTILcq0bLWuJo5WwyculYeZzFeZV WSLyv+R7bKQ+8Q0y7Zgfit6haY3XERWE+60a X-Google-Smtp-Source: ABdhPJwaKe8KigOIDH0DWjBRcRuajh57xaZLXEch0q+IjxvGD1pqmHSSFxXbQLOIKjnixZoVeKggig== X-Received: by 2002:a17:906:f20e:: with SMTP id gt14mr2922571ejb.368.1622110762242; Thu, 27 May 2021 03:19:22 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::e05]) by smtp.gmail.com with ESMTPSA id e23sm872908eds.2.2021.05.27.03.19.21 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 May 2021 03:19:21 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Michal Simek Subject: [PATCH 2/2] ARM: zynq: Fix OCM mapping to be aligned with binding on zc702 Date: Thu, 27 May 2021 12:19:15 +0200 Message-Id: <30e9dbe86d47e1a2b82a235c1bc043122915647e.1622110752.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean The Linux commit f69629919942 ("dt-bindings: sram: Convert SRAM bindings to json-schema") converted binding to yaml and some missing required properties started to be reported. Align binding based on it. The patch is fixing these warnings: .../zynq-zc702.dt.yaml: sram@fffc0000: '#address-cells' is a required property .../zynq-zc702.dt.yaml: sram@fffc0000: '#size-cells' is a required property .../zynq-zc702.dt.yaml: sram@fffc0000: 'ranges' is a required property >From schema: .../Documentation/devicetree/bindings/sram/sram.yaml Signed-off-by: Michal Simek Link: https://lore.kernel.org/r/87c02786ccd8d7827827a9d95a8737bb300caeb0.1606397101.git.michal.simek@xilinx.com --- arch/arm/dts/zynq-zc702.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/zynq-zc702.dts b/arch/arm/dts/zynq-zc702.dts index e45eba3d90b3..4474f4bfd7b2 100644 --- a/arch/arm/dts/zynq-zc702.dts +++ b/arch/arm/dts/zynq-zc702.dts @@ -68,6 +68,12 @@ ocm: sram@fffc0000 { compatible = "mmio-sram"; reg = <0xfffc0000 0x10000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0xfffc0000 0x10000>; + ocm-sram@0 { + reg = <0x0 0x10000>; + }; }; };