From patchwork Tue Nov 19 05:16:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179727 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp185517ilf; Mon, 18 Nov 2019 22:07:31 -0800 (PST) X-Google-Smtp-Source: APXvYqyyJ1HClnvoOZxmBrkqFlxfjwimeZtyDzZmkl23fzJSjmuRW3CJqw5AXEIPN59KJc9ivscL X-Received: by 2002:a17:906:b2c7:: with SMTP id cf7mr31630218ejb.218.1574143651420; Mon, 18 Nov 2019 22:07:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574143651; cv=none; d=google.com; s=arc-20160816; b=Hw+3jCgCJ9d4f5SdUEnZzdoI1XX3YREWubQ935HgbxnDIKveeNrEV91gEJtcQdamqa UNh6rNI1XHo0pqd+onArM5L5sTgDMKzaxlPRAqSdfEwUgDqb9bxAXFFVRfF77GW+MLb4 NnQRrZJdoZ9wgp+aD35vHhLAkTuu43Fbg/I74disw/V65onN/9GR65IdpRGvB+iFJPBe lAUWgsUqUuRrCfa49NK6GqJcnG9lafJVWdqehXEz8TeZ145EToRFK2aXJhYJ3qhNiop/ jyx2ZhGLNsRZolJLA6/KkdQNMS/drs3pWG670Gos5WssZ+vUMjJJU9LOxFT6AJfIGdmK Helg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=LWdmV+Cg9TS4VuFNYU0fDH9YWudxzDjuCgPMnIubl+8=; b=TlnsWNi6QRY5Zcnxxspj3s1BEu06w1Mxq2LAbBOmpYs9Nm2gZEkeo1KVG/o+Y5wb69 FrBC5zKlxFu/6mcS2QHU8Xxx7OPl5PLgzV7SJls0kmZCfxJonlA0HFHJdWOVshW44+bp 92pITIn4CJ12C17FTGUmoMv1aNDnNPS98nSiK0rDHSrjTc0mpDmdFIpgJQshZ6H8NFLg gXAuDhthzO3tK05Oc/j2U97HaA2itQ4lMb5lQj+1bxIwBMMh2mqX1WwdI7wfWJmro/mK iZQgJ+h5RT2VqdNMR+/ukz+lS3Crxi0fFhBcWOAoYyYgQm7bDB7psMtGLF/rN4B3jzZx rFyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HOYmxRHE; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-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 9si407609eju.352.2019.11.18.22.07.31; Mon, 18 Nov 2019 22:07:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HOYmxRHE; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727736AbfKSGHa (ORCPT + 15 others); Tue, 19 Nov 2019 01:07:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:53608 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729502AbfKSFdK (ORCPT ); Tue, 19 Nov 2019 00:33:10 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C383221783; Tue, 19 Nov 2019 05:33:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574141589; bh=AnQeayZI8Q5t0IuDvtp0ycef/61y+WT5LaZc9K/UZ0w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HOYmxRHE78vqrtjnHX+g5qo4hrWGXA/7jMAxT49hk1Q0B+dR+G0AdMv7xi8QSzcu/ TdcPGc1mjdk+cc7z2HXZx/EqBpQlC7o/rFXWUDcdS1D5omIW6A5SZu1jYVYGlWi79x f/rINGpY7WUhH7PQYyLuryE5M+eUbM7+G4lKwhx8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Joel Stanley , Andrew Jeffery , linux-aspeed@lists.ozlabs.org, Rob Herring , Sasha Levin Subject: [PATCH 4.19 211/422] ARM: dts: aspeed: Fix I2C bus warnings Date: Tue, 19 Nov 2019 06:16:48 +0100 Message-Id: <20191119051412.266011758@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191119051400.261610025@linuxfoundation.org> References: <20191119051400.261610025@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Rob Herring [ Upstream commit 1426d40e11f730e0c0fd3700a7048082f87b0e6e ] dtc has new checks for I2C buses. The ASpeed dts files have a node named 'i2c' which causes a false positive warning. As the node is a 'simple-bus', correct the node name to be 'bus' to fix the warnings. arch/arm/boot/dts/aspeed-bmc-opp-lanyang.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus arch/arm/boot/dts/aspeed-bmc-opp-romulus.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus arch/arm/boot/dts/aspeed-ast2500-evb.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus arch/arm/boot/dts/aspeed-bmc-arm-centriq2400-rep.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus arch/arm/boot/dts/aspeed-bmc-intel-s2600wf.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus arch/arm/boot/dts/aspeed-bmc-opp-zaius.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus arch/arm/boot/dts/aspeed-bmc-portwell-neptune.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus Cc: Joel Stanley Cc: Andrew Jeffery Cc: linux-aspeed@lists.ozlabs.org Signed-off-by: Rob Herring Signed-off-by: Joel Stanley Signed-off-by: Sasha Levin --- arch/arm/boot/dts/aspeed-g4.dtsi | 2 +- arch/arm/boot/dts/aspeed-g5.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.20.1 diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index b23a983f95a53..69f6b9d2e7e7d 100644 --- a/arch/arm/boot/dts/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed-g4.dtsi @@ -350,7 +350,7 @@ status = "disabled"; }; - i2c: i2c@1e78a000 { + i2c: bus@1e78a000 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index 87fdc146ff525..d107459fc0f89 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -410,7 +410,7 @@ status = "disabled"; }; - i2c: i2c@1e78a000 { + i2c: bus@1e78a000 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>;