From patchwork Sat Jan 12 01:15:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 10760827 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 01BE991E for ; Sat, 12 Jan 2019 01:15:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D5D432A0E4 for ; Sat, 12 Jan 2019 01:15:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B109C2A0EE; Sat, 12 Jan 2019 01:15:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4B6F22A0E4 for ; Sat, 12 Jan 2019 01:15:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To: References:List-Owner; bh=IUNtghKDUihx/VvZubjhbK3eRZKDW/48kVMIv/lqhJw=; b=Bar oYofyE8C11KBpUUa5I7RC8kp++95FTTlzjXIhLYKCfKrRAZmJ98ir8eULNpCBkxMdGG4iXwQrmTzR 8TsXTawHZyyM/bPcAcB1uTpQsd5g+STmnerOpbBWIYaXvovCBh/Zb6rlAvsg3BWKLnooolFJ6DUa7 sA9nw5ANhM8+i3f5R8nPIjrJ7+8RYC1xVPhp14fKZE58TQ7NucH0evq8NRqy+H5TKoPkl2MPMPkVS ZCNxFAH4TOSz7p0SmbNLVZk3aIMjcv60mkhC62yJpKrZ8w2Foaa/U9PZx88vwzs2bTYQ6vWfqr2nv GKY3UquZ46A0kNAFp+psgfapjwyfjOg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gi7te-0007j4-Aw; Sat, 12 Jan 2019 01:15:34 +0000 Received: from mail-pf1-f194.google.com ([209.85.210.194]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gi7tb-0007ih-6d for linux-arm-kernel@lists.infradead.org; Sat, 12 Jan 2019 01:15:32 +0000 Received: by mail-pf1-f194.google.com with SMTP id u6so7711530pfh.11 for ; Fri, 11 Jan 2019 17:15:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=GD672gAf+NJ/i/p1Q31HSxEMluq474R7zK8XUn9lNTQ=; b=TzmpiPvK9u03yVRmvSV8yIYiDW5Ch9l4JHPJjRh+3EaZfDID6FsMGTnlRxNAueEcTC lLSHiHiZRqueNuja6wtp/o5TuFwvbPTsmBx4egWIlmnzuRpxY+oi6C+RPSS5ZU67sEYr hy+jAGJ1KvaN5WWkr5vWRyQljuna4NREeYcof+GZt3GXnTWFGdE3uM7HW/c3sLkb6zlT LquRDrtHGBWY/IbtTlG1h/a2O4cee/vKaWe7fPMYZi2k88FOhAlx1fYiCNY6HKHN7Iom QkFcaeJa8CCwwefd+DbSJ2yDyHQ3H7jVCamjqkvAGAoRHupSrRzJu6VY0szPVO3BER2y ovug== X-Gm-Message-State: AJcUukecfCJHA+RBsSvUVFmKZO0sae+4G8wzitTHRS0pB8Xnpn9M1cW8 yneHLNUYZLszP40Ke89l02m/RRXfjndP1Q== X-Google-Smtp-Source: ALg8bN4NcgVc8Tppm/ezIImxw7LqHPtXaAlC8A0/KO20S18QEo05O0mPpBpJpjDkl+fmiPvFRBKfyg== X-Received: by 2002:a63:d50f:: with SMTP id c15mr15395940pgg.287.1547255729032; Fri, 11 Jan 2019 17:15:29 -0800 (PST) Received: from localhost.localdomain (61-216-91-114.HINET-IP.hinet.net. [61.216.91.114]) by smtp.gmail.com with ESMTPSA id 24sm338228045pfl.32.2019.01.11.17.15.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Jan 2019 17:15:27 -0800 (PST) From: Shawn Guo To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: vf610-bk4: fix incorrect #address-cells for dspi3 Date: Sat, 12 Jan 2019 09:15:14 +0800 Message-Id: <20190112011514.8527-1-shawnguo@kernel.org> X-Mailer: git-send-email 2.18.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190111_171531_241740_95900AE5 X-CRM114-Status: GOOD ( 12.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Rob Herring , Shawn Guo , Lukasz Majewski MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The dspi3 is used as slave controller on vf610-bk4, and the default '#address-cells = <1>;' setting in vfxxx.dtsi causes the following DTC warning. DTC arch/arm/boot/dts/vf610-bk4.dtb ../arch/arm/boot/dts/vfxxx.dtsi:550.24-563.6: Warning (spi_bus_bridge): /soc/aips-bus@40080000/spi@400ad000: incorrect #address-cells for SPI bus also defined at ../arch/arm/boot/dts/vf610-bk4.dts:107.8-119.3 arch/arm/boot/dts/vf610-bk4.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' For spi device used as slave controller, '#address-cells' should be 0. Let's overwrite the property in vf610-bk4.dts to fix the warning. Reported-by: Stephen Rothwell Signed-off-by: Shawn Guo Reviewed-by: Lukasz Majewski --- arch/arm/boot/dts/vf610-bk4.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/vf610-bk4.dts b/arch/arm/boot/dts/vf610-bk4.dts index 689c8930dce3..b08d561d6748 100644 --- a/arch/arm/boot/dts/vf610-bk4.dts +++ b/arch/arm/boot/dts/vf610-bk4.dts @@ -110,11 +110,11 @@ bus-num = <3>; status = "okay"; spi-slave; + #address-cells = <0>; - slave@0 { + slave { compatible = "lwn,bk4"; spi-max-frequency = <30000000>; - reg = <0>; }; };