Received: by 10.223.185.116 with SMTP id b49csp3774558wrg; Tue, 13 Feb 2018 07:34:38 -0800 (PST) X-Google-Smtp-Source: AH8x224bvI6NK9W4eQPvdmNBFD2vkcOFEQHHMFTzL9JP5dMCQa+GxooxnTaEy3emecUf/Ppl3oad X-Received: by 10.98.133.140 with SMTP id m12mr1609326pfk.226.1518536078485; Tue, 13 Feb 2018 07:34:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518536078; cv=none; d=google.com; s=arc-20160816; b=fwCt5Rwnf2CQpdAxRdMJoSP9rRBmwGwigG+Rw0JPBVZ2asUfebCS0UYE4JKiSeOLFC sjJI2oWAQMpYTV7qMBfLzVLJuvtkRmUVu+cAfWBXZAA4yXSqFMWThuXs3RVqjEilVDcm Nha9shfA0geXTODEm6gRzrdOiz2a3o7eOJSElp30SxOXvTLou9d4WPbsMHY0eJ5FA2bo J1gmkysNWGlbRcoGwc1PxkRbJus8IY8TQY7B5vS5mWduijwx+8hL7juVTaQBChw151xJ KTcCZYIOy6g4Eo7Rv+lynHRaAQ8wWGY7WQ8OyiR2xVw2mdhF+nGlYmk6iCUWzEdSwtuQ D01g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=ZH3fNA/WTnTvElPFo4ERre75inuGTs/o4IWqOwL8mYo=; b=Kzrz65J9F17Ha8VURKs8Css9WrY/hXfU+Q3nr7OGsf0V5eLpE8Ac4nwEt3WKMYqQI1 WoanGP6rT8AvxIq18ca3T9lkMh/2663An0bSnTZIu96LLbEV/9CkS7VrFe1VM7S2YLDy x9olRzl/YwqK49hgFxuIrt7VVrFJ3ByeIF3ajEXaV8NeLeaJlyesXe1Ko/zXy9wPXtiR fhtJ5MfadZ+7hFAhTmoclVX9XdVLRLsq52/idIlEWs9AtZRGpWn/mTXHzygv+KlwrvVW vdah+yEIuNlfok05puao+jD44ktx6E7cdrpp3XajxV9MOJfEnmSGneN3OC33DAFruXwU 0tZg== 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 p22si6236264pff.208.2018.02.13.07.34.23; Tue, 13 Feb 2018 07:34:38 -0800 (PST) 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 S933694AbeBMPdU (ORCPT + 99 others); Tue, 13 Feb 2018 10:33:20 -0500 Received: from mail.kernel.org ([198.145.29.99]:39478 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933451AbeBMPdR (ORCPT ); Tue, 13 Feb 2018 10:33:17 -0500 Received: from mail-qt0-f180.google.com (mail-qt0-f180.google.com [209.85.216.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8525A217C5; Tue, 13 Feb 2018 15:33:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8525A217C5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh+dt@kernel.org Received: by mail-qt0-f180.google.com with SMTP id a9so4019265qtj.8; Tue, 13 Feb 2018 07:33:16 -0800 (PST) X-Gm-Message-State: APf1xPDnXpiypw05eEdyIajRdr/nvy1hdv0ZT4vFXvC6TqqgUmZIyqh/ U0gt5FfMLlgMSY8v9AslIM55/gbIkXyJR1OaNA== X-Received: by 10.200.22.170 with SMTP id r39mr2340638qtj.190.1518535995667; Tue, 13 Feb 2018 07:33:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.245.147 with HTTP; Tue, 13 Feb 2018 07:32:55 -0800 (PST) In-Reply-To: <20171214165352.27902-1-malat@debian.org> References: <20171214165352.27902-1-malat@debian.org> From: Rob Herring Date: Tue, 13 Feb 2018 09:32:55 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] arm64: dts: Remove leading 0x and 0s from bindings notation To: Mathieu Malaterre , ARM-SoC Maintainers Cc: Wei Xu , Mark Rutland , Catalin Marinas , Will Deacon , Matthias Brugger , Andy Gross , David Brown , Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , linux-mediatek@lists.infradead.org, linux-arm-msm , "open list:ARM/QUALCOMM SUPPORT" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 14, 2017 at 10:53 AM, 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 -E -i -e "s/@0x([0-9a-fA-F\.]+)\s?\{/@\L\1 \{/g" -e "s/@0+([0-9a-fA-F\.]+)\s?\{/@\L\1 \{/g" {} + > > 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 is a follow up to commit 4c9847b7375a ("dt-bindings: Remove leading 0x from bindings notation") > > Reported-by: David Daney > Suggested-by: Rob Herring > Signed-off-by: Mathieu Malaterre > --- > arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 2 +- > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 2 +- > arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 6 +++--- > arch/arm64/boot/dts/qcom/msm8996.dtsi | 6 +++--- > 4 files changed, 8 insertions(+), 8 deletions(-) Arnd, Olof, Looks like this got missed. Can you pick up for 4.16. There's some arm32 ones too, but most of them need to be respun to mention upper to lower case fixes. Rob