From patchwork Wed Jun 15 10:22:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1643608 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=RCQjXJ1M; dkim-atps=neutral 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=) 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 (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LNLwZ6MHZz9vFl for ; Wed, 15 Jun 2022 20:22:54 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1EBFE8444D; Wed, 15 Jun 2022 12:22:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.b="RCQjXJ1M"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 90AD384458; Wed, 15 Jun 2022 12:22:46 +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,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (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 3339E84438 for ; Wed, 15 Jun 2022 12:22:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-wr1-x42c.google.com with SMTP id q15so14683477wrc.11 for ; Wed, 15 Jun 2022 03:22:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xDmuHU9lrEFQMua13YumoVOxEBR1bESN30M1S4ZoxP0=; b=RCQjXJ1MG15XWtfE/aBLf1BDu6yICY9rPV8DoCk3FSGN9xeFmdhTOBsVlbSrWh1/Xe MA3mYISigCS1/vepRXXtIRmg1GC6WqM5FJ+EOZ2wieFmGGBIo+hGI3nWAhLDoQVqFmEf eEbpHotcO22BK7wkN5UvgZ7825mGKb6CzrRyIobTxhu7ukuuj5rYhA94Iam7KSdSNxPL etQzehm1xrbtYq1KX8122N1i0xEvYnpwYm/OEUbRt3pRUCOrHAurX77VoMPIvE+ubX0m hIILe/MXy+cFyST7wXm0kKBPUpFfNaNZahbdu4JITDzUX5zC9CbJdSMulQ7RAAzbSJfp sYJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xDmuHU9lrEFQMua13YumoVOxEBR1bESN30M1S4ZoxP0=; b=q4ah2rDgHHw5H4pQb9xyg3zQqT20unuOJanHwM4hCWJ7QY9aJo4ftqi1PvAzWivDV4 aFY7Jo+virgV+bWAJqP/ZiftusBWElEQTLusS9GDM4Moj3nINMntpCySh+L8eDThzk3k od7WN69jVeqjlCNhGNo0gCLI1Ij50reKf7A3Cnp54qnHFsP1y4UIgcCYz8Vq21gfXAZM XnfU8BuFWg6sAzVopmyfWQSvFJ+5qrZo43QixG6ncdOS+YfS30CL3W1fZLdAZfIioC6Z rdgB55MDMsgJOUniGTCm+eXinMlVG6gMHnMLyLOOuY1qBAQheFv8Xzs9Npx8FtkCssO/ VzxA== X-Gm-Message-State: AJIora8EgntNzgdCNWxfCUhyyQJmzqvYB55KCjf2ACmM1rWaPcg96r/O i+nVo5JHhgDqIcY6uXh8iBwTUhIEUExLEQ== X-Google-Smtp-Source: AGRyM1ue58t1E/DyTLhDMAqBAlUF65cgAneMspEcGetobtL3pa67JihAVodLmhwGqMd4/rul2UJ4Ng== X-Received: by 2002:a5d:66c2:0:b0:210:32e1:7254 with SMTP id k2-20020a5d66c2000000b0021032e17254mr9286590wrw.328.1655288563420; Wed, 15 Jun 2022 03:22:43 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::f9e]) by smtp.gmail.com with ESMTPSA id n23-20020a05600c3b9700b0039c5224bfcbsm2030641wms.46.2022.06.15.03.22.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 03:22:42 -0700 (PDT) From: Michal Simek X-Google-Original-From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Amit Kumar Mahapatra , Michal Simek , Tom Rini Subject: [PATCH] ARM: zynq: Fix size-cells for pl353 driver Date: Wed, 15 Jun 2022 12:22:41 +0200 Message-Id: <6e90665a2dad7fe8ade10b8f57101f8144963791.1655288559.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.5 at phobos.denx.de X-Virus-Status: Clean From: Amit Kumar Mahapatra "size-cells" of the nand controller node should be 0 as the "reg" property of the nand device node contains the chip select number and not address information. The patch fixes the below compilation warning arch/arm/dts/zynq-zc770-xm011.dtb: Warning (reg_format): /axi/memory-controller@e000e000/nand-controller@0,0/nand@0:reg: property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1) Signed-off-by: Amit Kumar Mahapatra Signed-off-by: Michal Simek --- arch/arm/dts/zynq-7000.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi index 9495911397eb..37155df0fd42 100644 --- a/arch/arm/dts/zynq-7000.dtsi +++ b/arch/arm/dts/zynq-7000.dtsi @@ -287,7 +287,7 @@ reg = <0 0 0x1000000>; status = "disabled"; #address-cells = <1>; - #size-cells = <1>; + #size-cells = <0>; }; nor0: flash@1,0 { status = "disabled";