Received: by 10.192.165.148 with SMTP id m20csp5114082imm; Tue, 1 May 2018 09:16:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpboM59LLSAQVPuAvZC+udaH8jOefyIlWNQz5FTJSoT3dyI68f/QuBdnY/4gzWGMxcMIYwu X-Received: by 2002:a17:902:aa94:: with SMTP id d20-v6mr17279769plr.323.1525191386546; Tue, 01 May 2018 09:16:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525191386; cv=none; d=google.com; s=arc-20160816; b=zJLMe6QnrHu3HY6mT9HWWjIskHP/K+uzLNXZnwtXCKraTf9RZrJzaIC1ORuZik/A8R 7Bve5fjhGefK6fC5Ex/75MiOrt4M+gK9avYcwPGRZ3ben6Ne3xAsuylOqqGHXwmWVX6w Rn3LKS2SFSNclTpLgYHa6ylvr+3Rpza3tuM0u/6lQwhKoZRlcgktngz95ZB/j0ZxAT08 1533YiFMl0YldW13+T0ks4jvYQJL0/DwEITVHYo23hqmKpCq4v0d072lX2/b/LbM8Z8s 6opOVxw3RyADOFm04ayxPWvtXy9/wYhZQ5jU/UrVO+z6kHtRU/Fg/r9V4Je3LPl2AB8F awdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=91HSt4gWwnrvC9Opw91X5ylqGnxvf+hW2vwSX/7T8z4=; b=m0/dwf5/cSQnqYkn8qKetcWmBSYcdnB9cEd5E5JQy3G97kMs25gTWAYGE/s/JesxQi 8yQ+dH2oWVA7qf8Y0Tmi0OSPTnlz3Zhl67o5Ph/JWfoaIharZC+rJMCJpciJXWZGHZXo suStEVVFDbmX3UZEpmIA2+gO1vkTUgy4gKdNlkiZcpmfPgS3FyFQHz67DGDM/U4s/sas Jm1CyK3Fcn6KtK157DK7PFQYKHfc1WROxmrDFPJVqkRznosqHTi9KfuEfFAL6SA7WPUY fnoGEKEG370ebz/IJ2fEXFAFILZaTfTHvZuMwa0C2rsqoHOPwURhdAyIUnhgJFhlfDHH V+1Q== ARC-Authentication-Results: i=1; mx.google.com; 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 k11-v6si9362361pls.368.2018.05.01.09.16.11; Tue, 01 May 2018 09:16: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; 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 S1756022AbeEAQPx (ORCPT + 99 others); Tue, 1 May 2018 12:15:53 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:52957 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754798AbeEAQPv (ORCPT ); Tue, 1 May 2018 12:15:51 -0400 Received: by mail-wm0-f68.google.com with SMTP id m70so18050346wma.2; Tue, 01 May 2018 09:15:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=91HSt4gWwnrvC9Opw91X5ylqGnxvf+hW2vwSX/7T8z4=; b=Anly+7KK5c6dxkf2NzTWrh1rEII+MoOmYJMi/I9jmOb302GyssHWHu2X8XY3XrxGPz Pjw1xOpMG8CfeUqUerhXe7G8oBqO9FqAlVUAsJolYFVA/knmGcUQzJhKvC4n1VaFsR53 glIa3pGNX/oF2Lic+5n/rOhpzURewSz0tCwlTkRCbBP1vPIgV3hUiFYqM+2y8buUTv06 YubECj9jLPr9sJn+nLU7gXo7ZwROopnjiKyCyt2IWV249TQDMStKX0qjLgASAArVNmFN AkZcTtVykswQTw4fTl6znGmXs1pg4TqvQDneU1Of/oKyMsPWyXWcCf9KzwhNWXTLBQsd WiOw== X-Gm-Message-State: ALQs6tAvkH2QiygXLByoh4C9LBExPy5auJkTFRF8rDr6L/02Qua9M2aX d+FvUc0+cz0NO0RdF1FTO4j26sPm X-Received: by 2002:a50:e705:: with SMTP id a5-v6mr21796574edn.109.1525191349414; Tue, 01 May 2018 09:15:49 -0700 (PDT) Received: from kozik-lap (adsl-84-226-183-37.adslplus.ch. [84.226.183.37]) by smtp.googlemail.com with ESMTPSA id i22-v6sm4630188eds.28.2018.05.01.09.15.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 May 2018 09:15:48 -0700 (PDT) Date: Tue, 1 May 2018 18:15:46 +0200 From: Krzysztof Kozlowski To: Mathieu Malaterre Cc: Rob Herring , Mark Rutland , Russell King , Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 04/25] arm: exynos/s3c: dts: Remove leading 0x and 0s from bindings notation Message-ID: <20180501161546.6w3fkenk7q6s4kqe@kozik-lap> References: <20171215124630.30082-1-malat@debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 18, 2017 at 11:17:24AM +0100, Mathieu Malaterre wrote: > On Mon, Dec 18, 2017 at 10:40 AM, Krzysztof Kozlowski wrote: > > On Fri, Dec 15, 2017 at 1:46 PM, Mathieu Malaterre wrote: > >> Improve the DTS files by removing all the leading "0x" and zeros to fix the > >> following dtc warnings: > >> > >> Warning (unit_address_format): Node /XXX unit name should not have leading "0x" > >> > >> and > >> > >> Warning (unit_address_format): Node /XXX unit name should not have leading 0s > >> > >> Converted using the following command: > >> > >> find . -type f \( -iname *.dts -o -iname *.dtsi \) -exec sed -i -e "s/@\([0-9a-fA-FxX\.;:#]+\)\s*{/@\L\1 {/g" -e "s/@0x\(.*\) {/@\1 {/g" -e "s/@0+\(.*\) {/@\1 {/g" {} +^C > >> > >> For simplicity, two sed expressions were used to solve each warnings separately. > >> > >> To make the regex expression more robust a few other issues were resolved, > >> namely setting unit-address to lower case, and adding a whitespace before the > >> the opening curly brace: > >> > >> https://elinux.org/Device_Tree_Linux#Linux_conventions > >> > >> This will solve as a side effect warning: > >> > >> Warning (simple_bus_reg): Node /XXX@ simple-bus unit address format error, expected "" > >> > >> This is a follow up to commit 4c9847b7375a ("dt-bindings: Remove leading 0x from bindings notation") > >> > >> Reported-by: David Daney > >> Suggested-by: Rob Herring > >> Acked-by: Krzysztof Kozlowski > > > > Ack was for different patchset, touching only three files... > > So sorry, when I read your email: > > https://lkml.org/lkml/2017/12/15/152 > > I assumed you meant for all the Exynos* and S3C* DTS files, but I did > not check carefully which files were touched originally. > > >> Signed-off-by: Mathieu Malaterre > >> --- > >> arch/arm/boot/dts/exynos3250.dtsi | 34 ++++++------ > >> arch/arm/boot/dts/exynos4.dtsi | 56 +++++++++---------- > >> arch/arm/boot/dts/exynos4210.dtsi | 8 +-- > >> arch/arm/boot/dts/exynos4412-pinctrl.dtsi | 2 +- > >> arch/arm/boot/dts/exynos4412.dtsi | 22 ++++---- > >> arch/arm/boot/dts/exynos5.dtsi | 22 ++++---- > >> arch/arm/boot/dts/exynos5250.dtsi | 64 +++++++++++----------- > >> arch/arm/boot/dts/exynos5260.dtsi | 26 ++++----- > >> arch/arm/boot/dts/exynos5420.dtsi | 78 +++++++++++++-------------- > >> arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 2 +- > >> arch/arm/boot/dts/exynos5440.dtsi | 14 ++--- > >> arch/arm/boot/dts/s3c2416.dtsi | 8 +-- > >> 12 files changed, 168 insertions(+), 168 deletions(-) > >> > >> diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi > >> index 2bd3872221a1..8d47571b3984 100644 > >> --- a/arch/arm/boot/dts/exynos3250.dtsi > >> +++ b/arch/arm/boot/dts/exynos3250.dtsi > >> @@ -164,31 +164,31 @@ > >> syscon = <&pmu_system_controller>; > >> }; > >> > >> - pd_cam: cam-power-domain@10023C00 { > >> + pd_cam: cam-power-domain@10023c00 { > > > > This is not related to this patch and it was not present in the > > version I acked. I also already fixed this here: > > https://patchwork.kernel.org/patch/10113323/ > > > > There is no changelog explaining the difference in patches. Original > > patch was okay, why changing it? > > Accept my sincere apologizes I really messed this series. I discover > my original ARM patch did not apply lower case to all unit-address > equally, so I added at last minute a sed expression to make all > unit-address lower case. > > I guess you can just drop this one for now. Hi Mathieu, Do you plan to resend this in its original form (removing 0)? Best regards, Krzysztof