Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1955841ybk; Mon, 11 May 2020 08:21:11 -0700 (PDT) X-Google-Smtp-Source: APiQypIvXEubcCnjywzV7tB0ewo3h6yohaZfa9ppRu4Mw+UtC6kTZAV0S1RVxMDwp50VWcgAeLVN X-Received: by 2002:a50:e70a:: with SMTP id a10mr14705808edn.124.1589210471065; Mon, 11 May 2020 08:21:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589210471; cv=none; d=google.com; s=arc-20160816; b=QoRjFy11/7cuDPRztxlnWGv7rJP5pKgH3mtH5JCa/Dx/V7Ci61BrIdLobY7o5FIQVJ E/i4yCS1tnjfOW+Cuk0Nvwm0nCeaol6xYHNzRFit2zYpQNHPooN8E9Oc/EBWbmZabDk1 mu0EIri2SJpTYe+RAgYo5nt4oIH/1JUUc5gLFT5aK84wCQvLV/MmBg5vxl/gJM8SC/AW DrL3W9N00PVMf5GSDdUAdD6Y3YS9WD3spUTl1AMA+JsHDFEsy2360Uk6TcdHBwHlLwuW mb2NEqCO82s3/hoqhPOoOvtxnfJHJ4B96l1HlzlpQhpnek/YEWGYqmmSMseKY/CkN2yz ZvBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=p7V8/fBPzNet54mkC4p66EsoxbK6NDbvoDAnFFLBF50=; b=Vh1mEuGeIyjYoMhUJk86KVeDz+pXOUbyOUp5V0cskjZ6RgadtjEgm7tr/8b7jmzY7v KykxwO3XoFG/hhsaaOab8+kwl03PsgRvu0DDyexbSllshxVRdV6HQePVcgZbum58R28d f2RhRByjgDVfBwRO4IDpLEShLxX7yGkdbvE7VbQ6QPUR76EBSDuyco/YiGGfz4GvkNKl UKilAy72c5ubnv97GnauDgju9Db8+nWcrd89023ByTZyoZc0R8ju4sdj3o8Vj8LHQhqJ wSS/mWrdPjbbObkQqgY8Ngk/hApLf2kvcAiP5/5X6qSDhbQ76DTCvyN5vJFTt+OVTemR TqBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=R7mBUh8P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o12si4043496edq.34.2020.05.11.08.20.47; Mon, 11 May 2020 08:21:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=R7mBUh8P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729977AbgEKPT2 (ORCPT + 99 others); Mon, 11 May 2020 11:19:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:42326 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726410AbgEKPT2 (ORCPT ); Mon, 11 May 2020 11:19:28 -0400 Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com [209.85.167.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1B0C72075E; Mon, 11 May 2020 15:19:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589210367; bh=Vx5tkaJ5+8qSlz4jqAEeatoBE0vml0nOKjm6vTJ0MDM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=R7mBUh8Prm22Nhxty7oPgq/yAadEyCJ+jvXK+rB4iaUkO6e6XuJ7OFc/Mw+G2nd0s H7tRz0LcSfkW5yAI9wdReePSJoV7lXVPerCJ9e4R0hdNC+p7PCjR0Hww+nkGd/Q7Ik 089zxavkwS69EdGpPK0szggvk+O2gv/2+0zJce+E= Received: by mail-oi1-f172.google.com with SMTP id c12so14392704oic.1; Mon, 11 May 2020 08:19:27 -0700 (PDT) X-Gm-Message-State: AGi0PuZlitsliAnW9zTGDys3SKOssmXVg+LJURujaTWg5qkGHmCov94T 2kQPJDFOXze+rRK7ik6RSr8MV7m8YWWUUiPaLA== X-Received: by 2002:aca:51c3:: with SMTP id f186mr7715173oib.147.1589210366395; Mon, 11 May 2020 08:19:26 -0700 (PDT) MIME-Version: 1.0 References: <20200507091008.1bd38185@canb.auug.org.au> In-Reply-To: From: Rob Herring Date: Mon, 11 May 2020 10:19:15 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: linux-next: build warning after merge of the aspeed tree To: Joel Stanley Cc: Stephen Rothwell , devicetree , Devicetree Compiler , Linux Next Mailing List , Linux Kernel Mailing List , Manikandan Elumalai , Andrew Jeffery , Vijay Khemka Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 8, 2020 at 1:40 AM Joel Stanley wrote: > > On Wed, 6 May 2020 at 23:13, Joel Stanley wrote: > > > > Hi Rob, > > > > On Wed, 6 May 2020 at 23:10, Stephen Rothwell wrote: > > > > > > Hi all, > > > > > > After merging the aspeed tree, today's linux-next build (arm > > > multi_v7_defconfig) produced this warning: > > > > Thanks Stephen. > > > > > arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts:126.11-130.4: Warning (i2c_bus_reg): /ahb/apb/bus@1e78a000/i2c-bus@80/ipmb1@10: I2C bus unit address format error, expected "40000010" > > > arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts:128.3-30: Warning (i2c_bus_reg): /ahb/apb/bus@1e78a000/i2c-bus@80/ipmb1@10:reg: I2C address must be less than 10-bits, got "0x40000010" > > > arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts:137.11-141.4: Warning (i2c_bus_reg): /ahb/apb/bus@1e78a000/i2c-bus@100/ipmb3@10: I2C bus unit address format error, expected "40000010" > > > arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts:139.3-30: Warning (i2c_bus_reg): /ahb/apb/bus@1e78a000/i2c-bus@100/ipmb3@10:reg: I2C address must be less than 10-bits, got "0x40000010" > > > arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts:148.11-152.4: Warning (i2c_bus_reg): /ahb/apb/bus@1e78a000/i2c-bus@180/ipmb5@10: I2C bus unit address format error, expected "40000010" > > > arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts:150.3-30: Warning (i2c_bus_reg): /ahb/apb/bus@1e78a000/i2c-bus@180/ipmb5@10:reg: I2C address must be less than 10-bits, got "0x40000010" > > > arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts:159.11-163.4: Warning (i2c_bus_reg): /ahb/apb/bus@1e78a000/i2c-bus@300/ipmb7@10: I2C bus unit address format error, expected "40000010" > > > arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts:161.3-30: Warning (i2c_bus_reg): /ahb/apb/bus@1e78a000/i2c-bus@300/ipmb7@10:reg: I2C address must be less than 10-bits, got "0x40000010" > > > > These are IPMB nodes with the SLAVE_ADDRESS bit set: > > > > +&i2c5 { > > + //Host3 IPMB bus > > + status = "okay"; > > + multi-master; > > + ipmb5@10 { > > + compatible = "ipmb-dev"; > > + reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; > > + i2c-protocol; > > + }; > > > > This is a correct entry, so dtc should not warn about it. > > I sent a patch for dtc here: > https://lore.kernel.org/lkml/20200508063904.60162-1-joel@jms.id.au/ Patches for dtc need to be against upstream dtc. There's already a similar patch posted for it which I commented on and never saw a respin. Rob