From patchwork Wed Jul 3 13:22:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 168418 Delivered-To: patch@linaro.org Received: by 2002:ac9:6410:0:0:0:0:0 with SMTP id r16csp873992ock; Wed, 3 Jul 2019 06:23:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqwTCNbFJkyaxB40MKsviYgzA1Ca5wKb+kZAJrmT4bo92BhRBQlymhwkqmngaYaNLCKl197e X-Received: by 2002:a17:902:1e9:: with SMTP id b96mr42597602plb.277.1562160193525; Wed, 03 Jul 2019 06:23:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562160193; cv=none; d=google.com; s=arc-20160816; b=paT3kmbl3vEyFcpV7XxVz4mjwFm2sGYMB2g3K5mMcLIhrwL8bURarjsofD4okdPqP3 N6+dp+t2wdrZgChc1vdyW5i3FYjm+3vJWFRkTSwvJOrI4GApEtejczeS+a9yCo2riOrQ 3K0+q5nb+COBAf5cyTYMXYJ0rHi7mR/brDgrRw0hZxsxDs0ht6VqoNxodo+AgiW19WAW Vx43pHwAnGHiUG7CLvIuj7p7SvebdG4RqnVFM1mz8C4Jns/fUBn2UhIdIu05AsCSxRxR 7SDgaXiQU/WdJ+0v/EDnhxAr7JuAxGbiAtXeh5lZrQlP+V7Dp9odCnPMVYHNZIoPW3y+ Ch0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=iTyXg22FjVPr2oWcEYtfrAq0qW9MI1Fx2D1hg5kDfo0=; b=cFuXMt1zg4IiqMpWvvA9EKTEcmUQ+fwf6cgh9anlX7spFrRnn6Ceige498zd3gliHh 1eqa3hmGwraiyj5bjYcyaD4EHwpjRbXSHj8ldwRDdzzfnPySCQNto+HkOBui9z09Mf3c +D9OZwPN3tlQhVGeKfMxpN14N5Dc991by/BYMmfQmfBdGDRn561gW9np9m2xwRFWpPY+ C62ojScbpdhY2d+WJoaU/iG9K5/Jv2GVNYtJn+uMN5BY+5+Zvg/DAEi715dipJcxnuLB qNzX/TgArUw6be11TJg+/Nz+sLcfj+oDaAnGGroNUSgaVyjrV8lyA2r6GVtGrzhiTyP6 c9rQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i2si2452840pfb.206.2019.07.03.06.23.13; Wed, 03 Jul 2019 06:23:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726635AbfGCNXM (ORCPT + 8 others); Wed, 3 Jul 2019 09:23:12 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:40593 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726628AbfGCNXM (ORCPT ); Wed, 3 Jul 2019 09:23:12 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1M28O9-1hgjPt2sY5-002TnS; Wed, 03 Jul 2019 15:22:56 +0200 From: Arnd Bergmann To: Hauke Mehrtens , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , bcm-kernel-feedback-list@broadcom.com, Rob Herring , Mark Rutland Cc: Arnd Bergmann , Vivek Unune , Florian Fainelli , Alexandre TORGUE , Neil Armstrong , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: bcm47094: add missing #cells for mdio-bus-mux Date: Wed, 3 Jul 2019 15:22:45 +0200 Message-Id: <20190703132255.852025-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:lvCFNj9rbQR8RjOV+MdKMN2bThGvAL+qaIb0oH5aGJue3TtP6ln d06sVHt6EYjIPOROSrbU6OtWl5LwghmnPvShGgDdr3Yx4Y58LgyPOn61l1tQj64jSgrSV2V oHrxr3wIM2tTby06bedxGhM2+S+nwWbrAlQRvfny4jBGFGMXWaOpDANZEBrzusRolOE6GIs 9n6vd3A5ulAq03Ib8PKNA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:l7jljqs9bFs=:KFglj0618tLWnyn1ATzAdo uIUjTjubRhoedfMbin5H/FoTO8PCiZnOMjlibAiNvYNuNQkqF6IpoB1/sukRqXavCjJN3ns6Q MjoA1M9xS+JQ1sG8JAvyo1lrfuhs2aHSWNSFAYx29AA0lmdl/+RBUP/NrDJ7+HXqY9RRPPNF9 1LzieIzos+QwFS+NBtE6CtxLBBOlpvB5qjD3/c7WoQWxgEuIhUTWnNBSU4LS2+LecsGP62YZp aEFAktZAd3XCcf0mKPJSR7Ve7E8YuFmyZgXgW4ZORNtRtdeYG74+T1X0ZNNIyokWWUHgahgNk xPI54+54p7TsXAifdYSWElb1GBDOCAE60Mg9eTZYAs93zACU8y2rxWSxGtvCY0yIkZLOabu7h NDhsnZyokdN5PN8i8S82mU+OZBwvvwZNmYrDgFBw9UhvN7/7FywSmeLHzEjRR7D8PHYauM6lT mCX8fbSF4pUiJuZs8637L59AHoiwbZ9RZ9kQAqA7kl0N47Xp6DVp6FqYUTV5cVkQE1L/p10xq wd3ZKhtMaH0PJnclTiU584ON5yxmjoaNe88mmnTrFboypT1NZGa2bLjq/ucSFwe79a+sQx9t0 A9XznHTmFTHmEnfa9Qa2b98+K2psiYq/Jw4uI+n36ELcC8kOoMEvGAo1ws4o/nJi5/MQ1KD0C 53TlBlpT5EY/JYztPcttty21x9Hl/LKdWBie9hpYxBPQIL9iLqbr9eOjWgjpS66ak2T6B0LOX c8Ar9G7tUYlIiPW1X8VzC7v+t4xTACx1gtnZOA== Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The mdio-bus-mux has no #address-cells/#size-cells property, which causes a few dtc warnings: arch/arm/boot/dts/bcm47094-linksys-panamera.dts:129.4-18: Warning (reg_format): /mdio-bus-mux/mdio@200:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) arch/arm/boot/dts/bcm47094-linksys-panamera.dtb: Warning (pci_device_bus_num): Failed prerequisite 'reg_format' arch/arm/boot/dts/bcm47094-linksys-panamera.dtb: Warning (i2c_bus_reg): Failed prerequisite 'reg_format' arch/arm/boot/dts/bcm47094-linksys-panamera.dtb: Warning (spi_bus_reg): Failed prerequisite 'reg_format' arch/arm/boot/dts/bcm47094-linksys-panamera.dts:128.22-132.5: Warning (avoid_default_addr_size): /mdio-bus-mux/mdio@200: Relying on default #address-cells value arch/arm/boot/dts/bcm47094-linksys-panamera.dts:128.22-132.5: Warning (avoid_default_addr_size): /mdio-bus-mux/mdio@200: Relying on default #size-cells value Add the normal cell numbers. Fixes: 2bebdfcdcd0f ("ARM: dts: BCM5301X: Add support for Linksys EA9500") Signed-off-by: Arnd Bergmann --- arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 3 +++ 1 file changed, 3 insertions(+) -- 2.20.0 diff --git a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts index 18d0ae46e76c..0faae8950375 100644 --- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts +++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts @@ -124,6 +124,9 @@ }; mdio-bus-mux { + #address-cells = <1>; + #size-cells = <0>; + /* BIT(9) = 1 => external mdio */ mdio_ext: mdio@200 { reg = <0x200>;