From patchwork Thu Nov 26 13:25:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 11933729 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6B00C56202 for ; Thu, 26 Nov 2020 13:29:05 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 692AD21D1A for ; Thu, 26 Nov 2020 13:29:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UMvKyiIP"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="sZ/yv6V4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 692AD21D1A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=uJgk3VJ8peeWa0MJS0PP6XD97PAwtLLqVHUjhMvGC0k=; b=UMvKyiIP1pMC+bSSX6pFpH5em IBIA2Nq870Ue2QJyn2tYchdsX6RQKERCthwzfoOiK5WQ1TaRw01Z66utvhPMmAtpIEPBRz2JVNTl1 3EmsNCLnOuGYgHXvgjzreiXaSe8urqBArZC+C0U0Bh2uxcu/k+5GSfMGewarPb/ZQkaahuQa6HTN0 YjAad3eKLsyTEb6LqMuZBq8JNFF9ItKMvRv8U63qrCE//Aa5dQZjfrKRtDrNFYonLb6Z2XoT6BZxT Rs6PAuCDKAcVtzWKwVWQiT7mOy8vULRzc3RgNhmb8CyQwVjRG4k/DMCHZsMSfJyyUUGWWUX5MI475 8bEcodgbw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kiHIm-0007CT-SM; Thu, 26 Nov 2020 13:27:12 +0000 Received: from mail-ed1-x543.google.com ([2a00:1450:4864:20::543]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kiHGw-0006SK-Ac for linux-arm-kernel@lists.infradead.org; Thu, 26 Nov 2020 13:25:25 +0000 Received: by mail-ed1-x543.google.com with SMTP id y4so2278657edy.5 for ; Thu, 26 Nov 2020 05:25:17 -0800 (PST) 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=+WnYGUfR4Ghoj1mWVxO3VbsPtHbrA0Hu440yGJB+ncg=; b=sZ/yv6V4rtAOFb3PgLUQqqH2GTHEO1fL2NhHAgGWO67WjpdQaTtDHqr7ilo6e9NRzT B/idOeP0qlE7QDiU0n9tJGhjM4/TeKE9hScGBbtcJBbD8CO9O7cE8R3Vp9/rE/+D3Gda fZLhu2vzxdtaGfoQeLchDsx8BVzLKMgklDXOWyw7g0vz1WphbgS/BfjtaLUz/Yj83lBB iCSzYx6mUJurFFfg9s3TOFWoYqjJ6rneVVpepD2nGVSUQ1Z0DnfSEM7V0fueXEdaiOba PvB0M0o8RoVcgJgYzgsiVGLfJbqk6aO4S9dGGaq1zKZIRH+ezzkh5P//Eq43dWTN50Of A+Iw== 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=+WnYGUfR4Ghoj1mWVxO3VbsPtHbrA0Hu440yGJB+ncg=; b=RDDHMzOIvm5JAwfzokv4G5IYKVoslM9BXHI0dY6jxnrGhDgJh2+ymnZO6yp2ufKdVD lmj9MbDGjg1TYaafdnwhk13F6onRAhKoKyTpaWEDBFr3iFvBhlEaFUbkIIyd6cVcFXDQ zPNkUNMuvA1PsFR/78Vde9XeHOVpnt4uKAB+64NUKs311uG9C6alEdSDoQ7d3Jb6udvq TMYGGcvtk6E/T8y2GAtR7eX8b8LGk5fusd09Ar4lrjW0Bi+kZ06TAtAUMgvAvxY+Xjll GK855rjb7LSeeCY1BilQDlmScx9kMO1ZiXW1gySQmo1JCYJk/I3o8H4DS/ux3aXHJvhl 4sqg== X-Gm-Message-State: AOAM530WGvJQxOVQBjEsdBMZZkUkWUz+om+FKGP0pOMCUuHjkJxP7UzH 4eREedlH9yaVuTtGxhLol4XglQ== X-Google-Smtp-Source: ABdhPJy59u8iKCAMhOvgEMuPDQ84TZaNvzWiCRCKS9Dxoyz8HN4R8QBIqR7azBcyegIEgoSrxd1Kig== X-Received: by 2002:a50:bc02:: with SMTP id j2mr2524411edh.317.1606397116090; Thu, 26 Nov 2020 05:25:16 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id js1sm2531661ejb.77.2020.11.26.05.25.15 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Nov 2020 05:25:15 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH 4/5] ARM: zynq: Fix OCM mapping to be aligned with binding on zc702 Date: Thu, 26 Nov 2020 14:25:03 +0100 Message-Id: <87c02786ccd8d7827827a9d95a8737bb300caeb0.1606397101.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201126_082518_450459_CB7B095B X-CRM114-Status: GOOD ( 12.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The 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 --- arch/arm/boot/dts/zynq-zc702.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/zynq-zc702.dts b/arch/arm/boot/dts/zynq-zc702.dts index 10a7d0b8cf8b..cf70aff26c66 100644 --- a/arch/arm/boot/dts/zynq-zc702.dts +++ b/arch/arm/boot/dts/zynq-zc702.dts @@ -66,6 +66,12 @@ &amba { 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>; + }; }; };