Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3161202imm; Thu, 17 May 2018 04:31:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqj/S6IN1FNvtDgrO6UZwoFO2yMGzAHTKV+2WOd2yA+7Wl2cJCkRbWWxUAKDwX2anq3F+QT X-Received: by 2002:a17:902:bb93:: with SMTP id m19-v6mr4827452pls.74.1526556686487; Thu, 17 May 2018 04:31:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526556686; cv=none; d=google.com; s=arc-20160816; b=uzvfPQZte68+bKKOFrLzXIMZigh2r4hLmf+3AarkqrRJdkvTaaPnVHXDh2IDF/F+gv rjwk7mpRH3FLWRV+H4YBTI6MFBrDVtaSjvPPE25K4ZJaSz4RwJk2UpcwnNjvDGHSptvH FfkNB3tRK6qUY2kDzMsJxZx/9S248AdBEDg/5efqE5u0zpUNM9OqcAE0b0oFqffqf3Gy fVrc6Ha/k5fVKrQGl/1MB8jjZGdhDy39+rpzxd/iDpwjpJYfuvr4JHBs7YHQmJJ2yG87 m/RwwxRxSZEGOIkqwYSPjvSEWa57qT6X/JE3k+QcKL1dW9+Xws/tUGt+OQEaasRQ4BWF IauQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:arc-authentication-results; bh=qE5Mc7bRnTWBWuRx8Kd0c2QRQl07ulZuNUh/1fFnB+g=; b=UFc1H/Z8aq0NeaV2Drr73xxSEhxO34olNk1XPxrfU8ey2pUW1ZIH4z2gchMFdnJmoT keHvqXsCpBP0d3Z2xSJnu7pZY55qQYf3FJM0MhAI9k4KViaJQfGqjA7zrk/EViicKwdj cfBiSSUuzB5vlW6afQpic8asSbAWPpXc+yoLB5dnbP1hnWw/46Mfxo+P1BVtfXAT6rPo LzC9e2pmKrlBcnOKVQk3Q5hR34RxT3tWCWQYOZAnPgRhR0uwQQZkh5jfCfT6hjQL/c7H 1Ml7Tm05Zt5e3H5MfRL1wwqI2CwdevRZRYlSSA4tssbC4sSHQt/aTVFdcHCk3VqnJdEZ fulQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=JcsmWxei; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l187-v6si3607836pgl.485.2018.05.17.04.31.10; Thu, 17 May 2018 04:31:26 -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=@agner.ch header.s=dkim header.b=JcsmWxei; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751478AbeEQLaw (ORCPT + 99 others); Thu, 17 May 2018 07:30:52 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:46670 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751233AbeEQLau (ORCPT ); Thu, 17 May 2018 07:30:50 -0400 Received: from webmail.kmu-office.ch (unknown [IPv6:2a02:418:6a02::a3]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 6DA245C045C; Thu, 17 May 2018 13:30:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1526556648; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qE5Mc7bRnTWBWuRx8Kd0c2QRQl07ulZuNUh/1fFnB+g=; b=JcsmWxeicv0Ls8Yh0tLpuoHZTE+LQiZftmySEuWvdK4lHXhyKZVuAY0ocZx3ZmXPpXRSxb PEem6nFophP4wSfw0gHFcK2j0h2VALNsRRskflw49ORoKyE+sKthPHrAxijjw0HwOp13Sd X7cympBZ++3pdbJWb+NmsBgIOtN+Q6M= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Thu, 17 May 2018 13:30:48 +0200 From: Stefan Agner To: Krzysztof Kozlowski Cc: Rob Herring , Mark Rutland , Thierry Reding , Jonathan Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Marcel Ziswiler , Lucas Stach Subject: Re: [PATCH v5 2/3] ARM: dts: tegra: Fix unit_address_vs_reg and avoid_unnecessary_addr_size DTC warnings In-Reply-To: <1526543103-21668-2-git-send-email-krzk@kernel.org> References: <1526543103-21668-1-git-send-email-krzk@kernel.org> <1526543103-21668-2-git-send-email-krzk@kernel.org> Message-ID: <6c8e0e10662c29b49b45e37d031a712b@agner.ch> X-Sender: stefan@agner.ch User-Agent: Roundcube Webmail/1.3.4 X-Spamd-Result: default: False [-3.10 / 15.00]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_RCPT(0.00)[dt]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_SEVEN(0.00)[10]; FROM_EQ_ENVFROM(0.00)[]; DKIM_SIGNED(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; ASN(0.00)[asn:29691, ipnet:2a02:418::/29, country:CH]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-3.00)[100.00%]; ARC_NA(0.00)[] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17.05.2018 09:45, Krzysztof Kozlowski wrote: > 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 Looks good! Reviewed-by: Stefan Agner > > --- > > 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>;