Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752433AbdGUNSL (ORCPT ); Fri, 21 Jul 2017 09:18:11 -0400 Received: from benson.default.arb33.uk0.bigv.io ([46.43.0.16]:57725 "EHLO benson.default.arb33.uk0.bigv.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750777AbdGUNSK (ORCPT ); Fri, 21 Jul 2017 09:18:10 -0400 X-Greylist: delayed 1033 seconds by postgrey-1.27 at vger.kernel.org; Fri, 21 Jul 2017 09:18:09 EDT Message-ID: <1500642028.3330.8.camel@hellion.org.uk> Subject: Re: [PATCH] powerpc/44x/fsp2: correct dtb reg property for /sdhci@020c0000 From: Ian Campbell To: Ivan Mikhaylov Cc: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, Rob Herring , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 21 Jul 2017 14:00:28 +0100 In-Reply-To: <20170721125427.77668-1-ivan@de.ibm.com> References: <20170715090302.23105-1-ijc@hellion.org.uk> <20170721125427.77668-1-ivan@de.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1168 Lines: 22 On Fri, 2017-07-21 at 15:54 +0300, Ivan Mikhaylov wrote: > Hi Ian, > > Building the split device-tree tree[0] highlighted that upstream commit > > 9eec6cb142bd ("powerpc/44x/fsp2: Add device tree for FSP2 board") introduced > > this warning when building the device tree: > > > > $ make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc fsp2.dtb > >  CHK     scripts/mod/devicetable-offsets.h > >  DTC     arch/powerpc/boot/fsp2.dtb > > > > arch/powerpc/boot/fsp2.dtb: Warning (reg_format): "reg" property in /sdhci@020c0000 has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1) > > > > This commit adds the second adress cell as zeroes to resolve the warning. Note: > > I have no access to or information about this platform so this is purely a > > guess as to the fix. An alternative would be to adjust #address-cells, but > > whether that is correct or not depends on the platform. > > Yes, this problem exists on this tag but it is already fixed and waiting for > > review by this https://patchwork.kernel.org/patch/9819379/ . You can check it > if you want, anyways it will go to powerpc next branch first. Great, thanks for the info.