Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp695468imm; Tue, 15 May 2018 07:52:03 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoDpREmh0xW3SsF9aBkjFAVJYiRyFZPZyMyGBJ+3jS4eLqoEzlbm84eoq7w2LcG1dFi6xMG X-Received: by 2002:a62:f80c:: with SMTP id d12-v6mr15539880pfh.159.1526395923305; Tue, 15 May 2018 07:52:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526395923; cv=none; d=google.com; s=arc-20160816; b=XtuQDxhy9VW0gPo+rJX8SpngvMoyE1fqFSkhQOryI21FUf/TioIaLccGV4TospZFNh wb/Ry6IKc3rRyj5rt4Ycof56JS8ltCRunFiKYT8cMBVSP6bNChhC3A31SngGXhzZq7OA Y8OcGVchIpy547fyFru0DIQdqJXFlqmDpFc3XQEkO6x6bpNiij1epq3uJxHQbkwruLfz Dmx/cuJc8lecxUCOfNcZ/Yc6ZpIPTFFzGWDuvmtzIJYGusHKCk/COZeXfR+wrh6aPiwX XQdxbbRnMoDdRiwgxbO0ms5QnegDD5gwGg7SR8aJigv9RzzjtDQar4RLxUu8g/UQddpy CnYQ== 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=gsP7W1/YL4niQpemaEbVp3R26X03FyBXhWRK6o/mcPo=; b=WTCsX+9hz0qbUS4vxYMTXEsKMYRLN/fSJJvC8b0bfbIQn7UVUdOdfWoTOoZtYQa9Fy P580eEFXgEBAyiXk3EuZ9ThApspUFX7TsoFNLEYDfkUuZPcKtxlltFZ7vcXPLGyDCFlm ImBf3lpE3Ptw9D0DSxdEjSuuDFqKV6k9fPRZrO0RNnsoSpkGl+g85K4S8op/Kf00lmCJ lNDqdnGDLI6tEe1Cvovu+43Tj/2DMWm5GCXd1FAOhJmXbBtpX47RQ/HDIyou0Pai1qmb EO8DPm3dlhe17LWl2l9p86ZGuyG3QBLZhET65HDn57Y9DV1a/w1TSyqfLsWlh/u4flcQ L5Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iNwwERlu; 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 s88-v6si189277pfe.290.2018.05.15.07.51.48; Tue, 15 May 2018 07:52:03 -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=iNwwERlu; 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 S1753919AbeEOOpL (ORCPT + 99 others); Tue, 15 May 2018 10:45:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:53644 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754023AbeEOOlk (ORCPT ); Tue, 15 May 2018 10:41:40 -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 A9EE321747; Tue, 15 May 2018 14:41:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526395299; bh=/M0ML8DAZL/LfysZ8g8iWv/ezUPQk3N4fptVX+/LQLA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iNwwERlu/nqkJLRU98n1QbnDeziAOZu/WNx9Kf4WFj52J3om6KFV15UFMmELd7Oxq BGeIjkEItwShb6Nbn4fkWJwf2cCOcgNrR6iQzC+SvSTb/roDO9i2QXfRDi7iktUJo1 bJlZ12j2kVkor7N1Cw9lKH/Kz+nMSivEXVBnJCUU= 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 v4 2/3] ARM: dts: tegra: Fix unit_address_vs_reg and avoid_unnecessary_addr_size DTC warnings Date: Tue, 15 May 2018 16:41:24 +0200 Message-Id: <1526395285-19006-3-git-send-email-krzk@kernel.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1526395285-19006-1-git-send-email-krzk@kernel.org> References: <1526395285-19006-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 --- 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