From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41FF7C47255 for ; Mon, 11 May 2020 15:19:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 23A75206D5 for ; Mon, 11 May 2020 15:19:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589210371; bh=Vx5tkaJ5+8qSlz4jqAEeatoBE0vml0nOKjm6vTJ0MDM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=DOhKosZQYO5AnbFjSR9NHwR9TPuZkOHXIosfiiHqV8uxWL3Z+/X7eIUaJnszpU6S+ Lqet4DY1p3l19VR+5PYhT8pZsm10L8PZZWbo8UEz9KKSsFXQ03gUXc9TkaicUydhU+ TW+q9lXcX9syNxvkYSSvttqFKKyxbkn43t8w/NCk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726687AbgEKPT2 (ORCPT ); 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-Google-Smtp-Source: APiQypL/w118jK2PRogqhnLIcl/CwJVNIQVD7H1pp1UoYu9VNY0MM/zShEvMXFbngIgCJJEHL12/+7+35Kjv/vt5OnA= 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-next-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-next@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