Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755113AbdLOLUH (ORCPT ); Fri, 15 Dec 2017 06:20:07 -0500 Received: from mail-ua0-f193.google.com ([209.85.217.193]:44527 "EHLO mail-ua0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753429AbdLOLUE (ORCPT ); Fri, 15 Dec 2017 06:20:04 -0500 X-Google-Smtp-Source: ACJfBossMqZQ1nfxPz7aEurkhOZvVhU1m6n2+6NcEziLUW1UHMFqmvYWSxyX7zxgC+qTKdBfG1KXofOF2kcW4uJLPUM= MIME-Version: 1.0 In-Reply-To: References: <20171214165350.27850-1-malat@debian.org> From: Mathieu Malaterre Date: Fri, 15 Dec 2017 12:19:42 +0100 X-Google-Sender-Auth: YUmrQz10UVQUyglJD4y1VtabOLg Message-ID: Subject: Re: [PATCH] arm: dts: Remove leading 0x and 0s from bindings notation To: Krzysztof Kozlowski Cc: Rob Herring , =?UTF-8?Q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Mark Rutland , Russell King , Jesper Nilsson , Lars Persson , Niklas Cassel , Nicolas Ferre , Alexandre Belloni , Ray Jui , Scott Branden , Jon Mason , bcm-kernel-feedback-list@broadcom.com, Florian Fainelli , Sekhar Nori , Kevin Hilman , Kukjin Kim , Shawn Guo , Sascha Hauer , Fabio Estevam , Santosh Shilimkar , Dinh Nguyen , Viresh Kumar , Shiraz Hashim , Jun Nie , Baoyou Xie , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@axis.com, linux-samsung-soc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3342 Lines: 68 On Fri, Dec 15, 2017 at 9:59 AM, Krzysztof Kozlowski wrote: > On Thu, Dec 14, 2017 at 5:53 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 -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/arm/boot/dts/am3517.dtsi | 4 +-- >> arch/arm/boot/dts/arm-realview-eb.dtsi | 18 +++++++------- >> arch/arm/boot/dts/arm-realview-pb1176.dts | 18 +++++++------- >> arch/arm/boot/dts/arm-realview-pb11mp.dts | 18 +++++++------- >> arch/arm/boot/dts/arm-realview-pbx.dtsi | 18 +++++++------- >> arch/arm/boot/dts/artpec6.dtsi | 2 +- >> arch/arm/boot/dts/at91sam9261.dtsi | 2 +- >> arch/arm/boot/dts/at91sam9261ek.dts | 2 +- >> arch/arm/boot/dts/at91sam9263.dtsi | 2 +- >> arch/arm/boot/dts/at91sam9263ek.dts | 2 +- >> arch/arm/boot/dts/at91sam9g25ek.dts | 2 +- >> arch/arm/boot/dts/at91sam9g45.dtsi | 2 +- >> arch/arm/boot/dts/at91sam9m10g45ek.dts | 2 +- >> arch/arm/boot/dts/atlas7.dtsi | 12 ++++----- >> arch/arm/boot/dts/bcm11351.dtsi | 2 +- >> arch/arm/boot/dts/bcm21664.dtsi | 2 +- >> arch/arm/boot/dts/bcm283x.dtsi | 2 +- >> arch/arm/boot/dts/da850-lcdk.dts | 4 +-- >> arch/arm/boot/dts/dm8148-evm.dts | 8 +++--- >> arch/arm/boot/dts/dm8168-evm.dts | 8 +++--- >> arch/arm/boot/dts/dra62x-j5eco-evm.dts | 8 +++--- >> arch/arm/boot/dts/exynos5420.dtsi | 36 +++++++++++++-------------- >> arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 2 +- >> arch/arm/boot/dts/imx7d.dtsi | 2 +- >> arch/arm/boot/dts/keystone-k2e-netcp.dtsi | 2 +- >> arch/arm/boot/dts/keystone-k2hk-netcp.dtsi | 2 +- >> arch/arm/boot/dts/keystone-k2l-netcp.dtsi | 2 +- >> arch/arm/boot/dts/omap3-cm-t3x.dtsi | 8 +++--- >> arch/arm/boot/dts/omap3-evm-37xx.dts | 8 +++--- >> arch/arm/boot/dts/omap3-lilly-a83x.dtsi | 8 +++--- >> arch/arm/boot/dts/s3c2416.dtsi | 2 +- > > For Exynos and S3C: > Acked-by: Krzysztof Kozlowski As discussed with Krzysztof, I've split the ARM patch into subarch. Please drop this one. Thanks