Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp630414imm; Wed, 23 May 2018 02:59:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqAdvmxgaudziG6cEGMuiUeL5MSBuVhQPXu2lLR3jITD62Y5FzV7yKHbYHk4U3en0EnFsyR X-Received: by 2002:a62:fe0e:: with SMTP id z14-v6mr2225666pfh.73.1527069591426; Wed, 23 May 2018 02:59:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527069591; cv=none; d=google.com; s=arc-20160816; b=Foaf0WB6QkW23BDnAe+TdMbx7wfI+TvVwjeSwCNwKXAcVACFUrRp6KzGpf/FIttSU+ x5NDsJOWe6CY1V/If6DpkKhlONwUPqNBTKr4ujKxCZ8bfTjbB7Q6WVljuqXNgP3T6RCZ QHZXPRmzZYjO9ojcrser3gyAHEZi2lzN+PSbKCBqJYFp1XuIRattEO73IjXrX7Gbw/6v Lg4yl/nO7C+iHhlXtogcykeANlRYIq9/73lU9DPhFt4Mk4BPVzxejzRdZzpDwEDl66aw 8BMot0UtiWjg4VIA5P90axVehJ5tRR1U4NpLyFg0a+KECUv+fnFyQvKERab1jDu1CV02 fK6A== 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=jgJbh1Ps+v1AVkkzznXyoLNyi7AZFaG+BXc4XLWpwn8=; b=h/ZmNUxyBVkecAmBKFOTYcXjqkORn6Z+tlxQQ9fWyGQISMqSm8r3F+Zqu5kpVEgmMC ykRFLmsj7kHO55b0epecuWzWq9xcJxj7VFZrbj0Jg3K/Ko5z7XwAMRTMdOW5aJ1di0dF EeEgaVvWl40qGgbdTjPgSXaaKXdAtyXc3izX9fQwID9Zz0moE0/TU35Kvrwsg0Os2jbX fhx9zZqmepoikz5M+nTqSH0+ZX85YiGupS0x0ApStnDgGBUwj3O7t+MB8l4bgL8r+m90 /ClUuiXtM74FUkeALkoe1vrSrQoxoH9dYhDgy+wAr4xLFr72sKWJVBq+prwo1RsAPbMa JX8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FfUvmnT+; 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 x12-v6si18099751pln.97.2018.05.23.02.59.37; Wed, 23 May 2018 02:59:51 -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=FfUvmnT+; 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 S932444AbeEWJ5q (ORCPT + 99 others); Wed, 23 May 2018 05:57:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:33888 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932272AbeEWJ5C (ORCPT ); Wed, 23 May 2018 05:57:02 -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 4D8B52087E; Wed, 23 May 2018 09:57:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527069422; bh=VL2a7BEm/8stTyqh8YPhsrmqJLUebYTZ7H2YTIjkQvw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FfUvmnT+clvo+avFaqgLFmumRHHGGI/TY+9b/kiF5NLOo5XgxRqaSwKJm9qupLPCl Rnv3uw6vMEAMQI4q6OZMgQh+jZL+EdnG9HdDRu7D7ku9qRCHnMbZVTlZX+nBEiZ2Ig KcvzeZGKJnLrZiBJ3RN/JNsE7cDAxjC9XkwJD5hc= 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 v6 3/4] ARM: dts: tegra: Fix unit_address_vs_reg and avoid_unnecessary_addr_size DTC warnings Date: Wed, 23 May 2018 11:56:45 +0200 Message-Id: <1527069406-6359-3-git-send-email-krzk@kernel.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527069406-6359-1-git-send-email-krzk@kernel.org> References: <1527069406-6359-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 Reviewed-by: Stefan Agner --- Changes since v5: 1. Add Stefan's reviewed-by tag. 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 9465fc592b7b..d1a2c0a253c8 100644 --- a/arch/arm/boot/dts/tegra30-apalis.dtsi +++ b/arch/arm/boot/dts/tegra30-apalis.dtsi @@ -589,8 +589,6 @@ /* STMPE811 touch screen controller */ stmpe811@41 { compatible = "st,stmpe811"; - #address-cells = <1>; - #size-cells = <0>; reg = <0x41>; interrupts = ; interrupt-parent = <&gpio>; @@ -599,7 +597,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 1434d50438f9..b0d40ac8ac6e 100644 --- a/arch/arm/boot/dts/tegra30-beaver.dts +++ b/arch/arm/boot/dts/tegra30-beaver.dts @@ -1790,9 +1790,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 9bf3327665d3..526ed71cf7a3 100644 --- a/arch/arm/boot/dts/tegra30-colibri.dtsi +++ b/arch/arm/boot/dts/tegra30-colibri.dtsi @@ -351,8 +351,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