From patchwork Thu Sep 13 18:12:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 10599941 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 1A22D14E5 for ; Thu, 13 Sep 2018 18:19:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0F3D12B42E for ; Thu, 13 Sep 2018 18:19:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0380B2B435; Thu, 13 Sep 2018 18:19:13 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 5A6822B42E for ; Thu, 13 Sep 2018 18:19:12 +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=wj2jGBT6K/VIQLDaXMyjvH7t1dJIV1I8d+zOxdjjqQo=; b=s3q BEq61iADiy3T8yTyDOK0nXhR41K+obKC6JejdCDNhyaw7JwPtHn7R1BUjcGFvDmLU6TKB8Ik5o8/3 P6LXK49Ff/xaqX++oulyraqAlZ7OK6fyurK0hcgsN72dlCkjfojfxJbYpKA+WOWDGoi4zdrsTN1/T sTOc1Wro6C0oH5NAeVFEV1p9DaJzlUmfvCJlmaXxFTbvAARU8MzA+UFzbvxhW//+/AvpWuA9Mfwec AdyK36uUw0/w+MoQ6UXQSjaj23KaiUsOenSnRVV/ffiKbKn1Fb3X4ZEqTfZfq4J/qBZ1oSDF8vDtX lCtzhKZzGss9tWuAdZbKo0jnm4UP9zg==; 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 1g0WCk-0001sf-C6; Thu, 13 Sep 2018 18:19:02 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0W7D-0006n5-Iv for linux-arm-kernel@bombadil.infradead.org; Thu, 13 Sep 2018 18:13:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Zg+XiIuKBCBf+5loMltwbeg/ICDfrXGr+W119TraL/M=; b=NpO49DomDYA5kMepKGZVDOkkn X1Z3WHkVxK0SV+hNMYEeFJPef1x/K1wycGlhwUOyc1VvNMgNdtwA1XfLdmucFe3lZUkyC8Dm1TdiB uxUe3ZMouoLNGSWQllF/jTMkkwhirbGmEFitjrP4UBUg2/wIx7srBnm8yuTq6E8KMSGHzvcxkqf/M npAzjbZE2I3IN2kdVunkuAnvugq6nGl4Igu6c+wTXEhBqRlLsV1S4J9xspTII0Z7U3r5k0G1Plrf7 zLvkgrtltP3G1rl2uB9uJBGLSStihOp8ydsiN/OFgTCLHgnnJDNUq8jMYt4FoWJcUPFGf+3lSWSTn ExjZJ0k7A==; Received: from mail-oi0-f65.google.com ([209.85.218.65]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0W7A-0004UL-Vs for linux-arm-kernel@lists.infradead.org; Thu, 13 Sep 2018 18:13:17 +0000 Received: by mail-oi0-f65.google.com with SMTP id l82-v6so10298183oih.11 for ; Thu, 13 Sep 2018 11:13:06 -0700 (PDT) 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=Zg+XiIuKBCBf+5loMltwbeg/ICDfrXGr+W119TraL/M=; b=JE3xoKfSYcP4WodOlCvd6bSDYgAolPCComN2BCOzfMMP2j/Lzns4xf66qc0kxcvb/R q2/N4Y4Ubg58oNxDnJ19jgw9ptxR4ZlB3b5Vz9YYgmPk58p189RqkvA2mdzoXu6JULPf Gp5CY31zQhbiA/mtHtnmBzDCWY6rATSXOc+s/e4mCXsCB6tRRQYnhFOPARTPRzWLUlWE cIY4/c8AqCta11AXoZPXgY9xjn9sP8eRlQ0JD3ihChz+Wp384w+mRvotBKDSo257dfMX EC36qTghUc5CKUoq9Gie72CRjcOeI2Clp2G+WCUyjWOy4EUecQBviyOBvivs7ZFjC9tO 6Hbg== X-Gm-Message-State: APzg51BV0ppAncCM3DjmciK8r7b5vufJDnRi1KMpn/hoMG+qmGlyHCqy zRWBmmKC26azqY8dfl7Hf4A85Dw= X-Google-Smtp-Source: ANB0VdbJh4uh3yuwlwXeQmzHVXw3FlmPFxtwWzlzrBhvnpt9eZL5r/aE031IEK/BUYwNoKR6sDs0XA== X-Received: by 2002:aca:438a:: with SMTP id q132-v6mr7498525oia.331.1536862385928; Thu, 13 Sep 2018 11:13:05 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id m7-v6sm4835148oia.32.2018.09.13.11.13.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Sep 2018 11:13:04 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: xilinx: Fix I2C and SPI bus warnings Date: Thu, 13 Sep 2018 13:12:39 -0500 Message-Id: <20180913181245.25484-15-robh@kernel.org> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180913_141317_063154_7D3013E2 X-CRM114-Status: GOOD ( 12.12 ) 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: Michal Simek 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 dtc has new checks for I2C and SPI buses. Fix the warnings in node names and unit-addresses. arch/arm/boot/dts/zynq-zc702.dtb: Warning (i2c_bus_reg): /amba/i2c@e0004000/i2c-mux@74/i2c@7/hwmon@52: I2C bus unit address format error, expected "34" arch/arm/boot/dts/zynq-zc702.dtb: Warning (i2c_bus_reg): /amba/i2c@e0004000/i2c-mux@74/i2c@7/hwmon@53: I2C bus unit address format error, expected "35" arch/arm/boot/dts/zynq-zc702.dtb: Warning (i2c_bus_reg): /amba/i2c@e0004000/i2c-mux@74/i2c@7/hwmon@54: I2C bus unit address format error, expected "36" arch/arm/boot/dts/zynq-zc770-xm013.dtb: Warning (spi_bus_reg): /amba/spi@e0006000/eeprom@0: SPI bus unit address format error, expected "2" arch/arm/boot/dts/zynq-zc770-xm010.dtb: Warning (spi_bus_reg): /amba/spi@e0007000/flash@0: SPI bus unit address format error, expected "1" Cc: Michal Simek Signed-off-by: Rob Herring --- Please apply to the sub-arch tree. The dtc changes haven't landed, but will for 4.20. arch/arm/boot/dts/zynq-zc702.dts | 12 ++++++------ arch/arm/boot/dts/zynq-zc770-xm010.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm013.dts | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/zynq-zc702.dts b/arch/arm/boot/dts/zynq-zc702.dts index cc5a3dc2b4a0..27cd6cb52f1b 100644 --- a/arch/arm/boot/dts/zynq-zc702.dts +++ b/arch/arm/boot/dts/zynq-zc702.dts @@ -174,17 +174,17 @@ #address-cells = <1>; #size-cells = <0>; reg = <7>; - hwmon@52 { + hwmon@34 { compatible = "ti,ucd9248"; - reg = <52>; + reg = <0x34>; }; - hwmon@53 { + hwmon@35 { compatible = "ti,ucd9248"; - reg = <53>; + reg = <0x35>; }; - hwmon@54 { + hwmon@36 { compatible = "ti,ucd9248"; - reg = <54>; + reg = <0x36>; }; }; }; diff --git a/arch/arm/boot/dts/zynq-zc770-xm010.dts b/arch/arm/boot/dts/zynq-zc770-xm010.dts index 0e1bfdd3421f..0dd352289a45 100644 --- a/arch/arm/boot/dts/zynq-zc770-xm010.dts +++ b/arch/arm/boot/dts/zynq-zc770-xm010.dts @@ -68,7 +68,7 @@ status = "okay"; num-cs = <4>; is-decoded-cs = <0>; - flash@0 { + flash@1 { compatible = "sst25wf080", "jedec,spi-nor"; reg = <1>; spi-max-frequency = <1000000>; diff --git a/arch/arm/boot/dts/zynq-zc770-xm013.dts b/arch/arm/boot/dts/zynq-zc770-xm013.dts index 651913f1afa2..4ae2c85df3a0 100644 --- a/arch/arm/boot/dts/zynq-zc770-xm013.dts +++ b/arch/arm/boot/dts/zynq-zc770-xm013.dts @@ -62,7 +62,7 @@ status = "okay"; num-cs = <4>; is-decoded-cs = <0>; - eeprom: eeprom@0 { + eeprom: eeprom@2 { at25,byte-len = <8192>; at25,addr-mode = <2>; at25,page-size = <32>;