From patchwork Thu May 27 10:19:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1484534 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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=Dwm/4p2J; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 4FrP284kxGz9sT6 for ; Thu, 27 May 2021 20:19:44 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D1F4682D68; Thu, 27 May 2021 12:19:34 +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="Dwm/4p2J"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9B73A82D1D; 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-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (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 5085482B89 for ; Thu, 27 May 2021 12:19:21 +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-ed1-x52f.google.com with SMTP id g7so234027edm.4 for ; Thu, 27 May 2021 03:19:21 -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:mime-version :content-transfer-encoding; bh=u/L7nbiQklcDNW1Y6uRRcCc8d6wTrvC9QXD/YxC78cw=; b=Dwm/4p2J4+4CE2+bqkGIY84ZRxWvSq85krVmTXVtYZxpkQ71yIoLSwaI6cEDzujRIs d8qZQ2+I9GSm540M1MeruGK5sEG7Dk+6fA8TmV5v4q/UNa/BipPK434aIrXqw+WUbyWh PKYEhbG7AAoWd3iQx+6MOHipgJo+4A9KAphGqd5wZgQbFgFsLmw/u7GaiK30vOMzhdPx 2qPQfXoOQG1J3oEUM7iWzxNGnHfeJkrE94wKVPEUvLARbMCIcgfwEzn2DGh1V0beH1nU eH1N6Gm22UaKMrSlHcjCrb3otdUqTK6w/xDBtM2+wBUPNQIPl6HuG7Qji0tvbCqwsKYF FjLA== 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 :mime-version:content-transfer-encoding; bh=u/L7nbiQklcDNW1Y6uRRcCc8d6wTrvC9QXD/YxC78cw=; b=fS7ChiyZFZ8FWLz58i/+c+idMKcOF9onWw1vj5RplGwITuqCfJ1nfYF9xJpq5cVjuO c1WxHDfacQW+tBIZQ7cKzOgw+U1YdN7IFPpIqT5pkSO2D2cnkrMTvdkHVZkClz6r8T1z /AE/br5NYb8yP10vjnmGXaUrnTc+tlXUCqZlef9wkF2SngFCFaxm23vBQCNq+VkrtPaM 4pIzWEdX853nsZU+k/uGay4bfzLlJ8bjxV7MRlDWI2jKiktTQX07bA1BSsd1nM/AdmIX Q2hgqnZu13AiHk3jFDerMPD/2VFBHZlxu6h+awGNtptW0A4UZ9VJYEDnM8yVY9u57JmH tChw== X-Gm-Message-State: AOAM5313x609Dna2GywSvnHzPv44w+2L03ZlqKYpDufDPLxZxKL6RsWC uAoh1OVeMx2yXiU3Ak3GK8ngKi13oz4ig/jR X-Google-Smtp-Source: ABdhPJxpW/ONvfXlj9TF257pGYU56xlimS/g+TAtTPXpD09YKQ5H57MvgzC/0iHI6EcFLOcElmYZqg== X-Received: by 2002:a05:6402:42cd:: with SMTP id i13mr3304813edc.34.1622110760785; Thu, 27 May 2021 03:19:20 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::e05]) by smtp.gmail.com with ESMTPSA id d11sm858370ede.74.2021.05.27.03.19.19 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 May 2021 03:19:20 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Michal Simek Subject: [PATCH 1/2] ARM: zynq: Convert at25 binding to new description on zc770-xm013 Date: Thu, 27 May 2021 12:19:14 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 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 f8f79fa6bb25 ("dt-bindings: at25: convert the binding document to yaml") converted binding to yaml and 3 deprecated properties pop up. The patch is fixing these warnings: .../zynq-zc770-xm013.dt.yaml: eeprom@2: 'pagesize' is a required property .../zynq-zc770-xm013.dt.yaml: eeprom@2: 'size' is a required property .../zynq-zc770-xm013.dt.yaml: eeprom@2: 'address-width' is a required property >From schema: .../Documentation/devicetree/bindings/eeprom/at25.yaml by converting them to new binding. Signed-off-by: Michal Simek Link: https://lore.kernel.org/r/be2c1125d98386033e182012eb08986924707a76.1606397101.git.michal.simek@xilinx.com --- arch/arm/dts/zynq-zc770-xm013.dts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/zynq-zc770-xm013.dts b/arch/arm/dts/zynq-zc770-xm013.dts index bdf0c2f956d1..7218ee3ad8ef 100644 --- a/arch/arm/dts/zynq-zc770-xm013.dts +++ b/arch/arm/dts/zynq-zc770-xm013.dts @@ -68,13 +68,12 @@ num-cs = <4>; is-decoded-cs = <0>; eeprom: eeprom@2 { - at25,byte-len = <8192>; - at25,addr-mode = <2>; - at25,page-size = <32>; - compatible = "atmel,at25"; reg = <2>; spi-max-frequency = <1000000>; + size = <8192>; + address-width = <16>; + pagesize = <32>; }; }; 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>; + }; }; };