Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2970039imm; Thu, 17 May 2018 00:48:04 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrZ7qpzOXzZXhsHurizAtplnGkI3AyGwqn6Za6wHzTsPhSFmIcc9mIf4ze8LbcyDBHp8DNA X-Received: by 2002:a17:902:8f93:: with SMTP id z19-v6mr4150042plo.166.1526543284801; Thu, 17 May 2018 00:48:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526543284; cv=none; d=google.com; s=arc-20160816; b=WYQqGBsxo4LPFHAdMI3SbbvE6umFSuy0onPP9kA1L9I8vQ+Hi8Hqqsvtzy8VKZ6NF/ gOOPqfjLahJgZewFje/KMlcYmvk+3sWSRTGENjXZKZxmmZ3sotLCTN9zWrFwFw41wkdj S+S3o/GAvffqGhivS/zlgDQyZvo9ra7yVjQIzao8LxnkC5hbKQywdSyDTsSe3MSC3Wr7 lkVqCofeQvCq6Tf2qW4UXDuU9o/nY1viBVvjTS0+YTvq7r/xGaYR5RvP93cj2E3neog3 fzmZER8bZ0XdST+rJJ88Zw7eCSaELPc8nMR0f6X4XVFWIdSdDhy2a49qIfVZ6TDB3K3F piew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=0op31oPxE19v6tC7g58i/nT9w9P21pNL2DvzhzlFPH0=; b=u0bjo9DlAhVih1od+s+hJmAhE7z10CFIe1cL1RubRw8KhfdfanKXQrrfrEl4VFtqhI WNM3TffsSqdO47987KsRYJR5siMwaK6F/vHniLL/mGlSZJCisdojvAvRW070oGzhe/zi +gVsvvBxdx1NAcjvFGSucpIvIjwiKkH3cMVhaPDMjs5iAh7IdB2Qy6l11XLSi3N5RTE+ wj+wDvdEg21KopN03bIN8EWGRV3c1uzNiMa0iYEJpirnjZuuckt3PVO98YJb+BgwCimO 8v2LZbknztX22X0EIXzSgMJ9hxMxd1v5YcDPee6dMl7mcYISIMK8+7kFJB4OJFRmMEMd xagA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jEnjXCUv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id q14-v6si3468970pgc.620.2018.05.17.00.47.50; Thu, 17 May 2018 00:48:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=jEnjXCUv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1752597AbeEQHpx (ORCPT + 99 others); Thu, 17 May 2018 03:45:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:53328 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752326AbeEQHpW (ORCPT ); Thu, 17 May 2018 03:45:22 -0400 Received: from PC-kkoz.proceq.com (unknown [213.160.61.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CB6812084F; Thu, 17 May 2018 07:45:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526543121; bh=gFtjbz2seXITngUURYBQOasKmOnNBcajDhpqUl9AGI8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jEnjXCUvJqg1+qnndwubqyDpXTOg09mvInQg/DkqzcgkDf2JLLZV1FqpNrNbSBaWq r8LkP0kJjv5xc796bd9pi31SusR4YTx03v+Go6ccC/icU3Fpmu1/+SizCvuBL/hJGk qYS9+zGqfNWCcrah0m8TIzrv8TX/e94f/Uwx5DY4= From: Krzysztof Kozlowski To: Rob Herring , Mark Rutland , Thierry Reding , Jonathan Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Stefan Agner , Lucas Stach , Krzysztof Kozlowski Subject: [PATCH v5 2/3] ARM: dts: tegra: Fix unit_address_vs_reg and avoid_unnecessary_addr_size DTC warnings Date: Thu, 17 May 2018 09:45:02 +0200 Message-Id: <1526543103-21668-2-git-send-email-krzk@kernel.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1526543103-21668-1-git-send-email-krzk@kernel.org> References: <1526543103-21668-1-git-send-email-krzk@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unneeded address/size cells properties and unit addresses to fix DTC warnings like: arch/arm/boot/dts/tegra30-apalis-eval.dtb: Warning (unit_address_vs_reg): /i2c@7000d000/stmpe811@41/stmpe_touchscreen@0: node has a unit name, but no reg property arch/arm/boot/dts/tegra30-apalis-eval.dtb: Warning (avoid_unnecessary_addr_size): /i2c@7000d000/stmpe811@41: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property Signed-off-by: Krzysztof Kozlowski --- Changes since v4: 1. None --- arch/arm/boot/dts/tegra30-apalis.dtsi | 4 +--- arch/arm/boot/dts/tegra30-beaver.dts | 3 --- arch/arm/boot/dts/tegra30-colibri.dtsi | 2 -- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-apalis.dtsi b/arch/arm/boot/dts/tegra30-apalis.dtsi index 184f60c720fa..5038ca7b68af 100644 --- a/arch/arm/boot/dts/tegra30-apalis.dtsi +++ b/arch/arm/boot/dts/tegra30-apalis.dtsi @@ -590,8 +590,6 @@ /* STMPE811 touch screen controller */ stmpe811@41 { compatible = "st,stmpe811"; - #address-cells = <1>; - #size-cells = <0>; reg = <0x41>; interrupts = ; interrupt-parent = <&gpio>; @@ -600,7 +598,7 @@ blocks = <0x5>; irq-trigger = <0x1>; - stmpe_touchscreen@0 { + stmpe_touchscreen { compatible = "st,stmpe-ts"; /* 3.25 MHz ADC clock speed */ st,adc-freq = <1>; diff --git a/arch/arm/boot/dts/tegra30-beaver.dts b/arch/arm/boot/dts/tegra30-beaver.dts index 72369877d284..961934f70639 100644 --- a/arch/arm/boot/dts/tegra30-beaver.dts +++ b/arch/arm/boot/dts/tegra30-beaver.dts @@ -1791,9 +1791,6 @@ vccio-supply = <&vdd_5v_in_reg>; regulators { - #address-cells = <1>; - #size-cells = <0>; - vdd1_reg: vdd1 { regulator-name = "vddio_ddr_1v2"; regulator-min-microvolt = <1200000>; diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi index cc46cedf80b9..a593dc8be47f 100644 --- a/arch/arm/boot/dts/tegra30-colibri.dtsi +++ b/arch/arm/boot/dts/tegra30-colibri.dtsi @@ -352,8 +352,6 @@ /* STMPE811 touch screen controller */ stmpe811@41 { compatible = "st,stmpe811"; - #address-cells = <1>; - #size-cells = <0>; reg = <0x41>; interrupts = ; interrupt-parent = <&gpio>; -- 2.7.4