From patchwork Fri Dec 15 17:07:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Malaterre X-Patchwork-Id: 10115599 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B961C602C2 for ; Fri, 15 Dec 2017 17:08:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A2ED229BE1 for ; Fri, 15 Dec 2017 17:08:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 96C352A0BC; Fri, 15 Dec 2017 17:08:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C9AB129BE1 for ; Fri, 15 Dec 2017 17:08:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=30FJw8aoXrye5F+nndBD0rbZ0PicCn9MgXRZIj1gZnc=; b=OSrSCM9sAIqbfqTsTMmHXis0Yv O1jSDK2L3qGIQzf3sGmahLDWirvWiYOC9VhcDqcA/FG7lvRakkPfg2cvjlGCfThww5/cYLiFTx4v0 6dqEi2G1iK5BgKmESbbEr8ouTceuM/qR6dS3+MKITG25+TdESFWYlhqWq6vQw3JCKMYHLoB1Oosy0 WbDuA7Le4RZd7U9O6c1QAzaxtPWXKVFC3Lng+9ektrMjQQ3Di31mU2vTkI7hauFkQwpLm/hVhWoD5 buKMziCBd8Ca0+mQZSB+aYJ54AE7DJu5yf2IJtmwKpEhte/LIZQm9WBYh7EU466vbpe2VBqQ3feUG qlV+N8aA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ePtSu-0007JR-4o; Fri, 15 Dec 2017 17:08:04 +0000 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ePtSk-0007Fc-GD for linux-arm-kernel@lists.infradead.org; Fri, 15 Dec 2017 17:08:02 +0000 Received: by mail-wr0-x243.google.com with SMTP id z34so8604952wrz.10 for ; Fri, 15 Dec 2017 09:07:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=r1PPABWOUgg7whViHn4BCIs4P6cvvWJTckJ/RQ/1Ko8=; b=ZlpeDdjCWRCB/262H+FvirhajSqyYrpfzQIG2GuWESR3BfQkmcU4VhuMYsnX7cZ3YA cjjB6TQ+S98tm+8Flob+h/gst9iNi0rQSqyfr0OGOsU7brXR8Z2LxKwxoch8qSiMqYvt GsybYdswlq/kjPA7qR3buo/t0VGOXnTsDERtMuJhdZoDSF9X3av35euCHz+pyMecw46P YDWAsImyfMeuhjs3u/Us6uTBxMOOaBNqw9DhDau1FEUhPFIlwy0E4b3w978sKeaZAkoN CjS0eTufJWMtgTnBpVQKLktOGN9+a6BEZVGY55p5fqOOfuuWxf5F69SeBKcXmz85DaXI tLIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=r1PPABWOUgg7whViHn4BCIs4P6cvvWJTckJ/RQ/1Ko8=; b=JVXRWAG5pNxPR6mESDCuqokVS/CdpoxWgj+mm2pqQoJWtie3KRf9zQyLl4VRPQIitd 3D7Q1JDtiaxL45+8WrEKcEjdVEBFlNDtQ9Ufo7ZPZcsjPvumwGJYgQy0AcHwduTBZtL2 I7flVk2tOYlCfGmD6UutCjsSmMgBycXQArSBoJ9Ma3ZdJtoDD5fnHyFp3v5Ju+YF9QbA xp6YODUXb7RzT04pT1XCO0DFgqp85NKxDl6DUyT7ytiuPN0sn0BDIAciALKo++3+HSkM DeMaZMiE00vPc6BH14uvty7SS3XWZ3fUzOQ3jsOssx1SbwTYdc+YTXmJJW9AA6YbFpfv qVnw== X-Gm-Message-State: AKGB3mITDY1H5wDRt4KTgIAK+Uuky+dY0wn/K2ssvbYuj+9u8gPwqjSH weT3qW1hQrMXVjBgmpWmIHU= X-Google-Smtp-Source: ACJfBotf7bCfncLmfH5QUBZXO0JcHPKcVBGvVD9HwAKZ5avSvUnVuwtPQtKZJsyxexz+hg7O9BBkjw== X-Received: by 10.223.133.4 with SMTP id 4mr10621579wrh.65.1513357641732; Fri, 15 Dec 2017 09:07:21 -0800 (PST) Received: from macbookpro.malat.net (bru31-1-78-225-226-121.fbx.proxad.net. [78.225.226.121]) by smtp.gmail.com with ESMTPSA id 127sm12443661wmk.14.2017.12.15.09.07.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Dec 2017 09:07:21 -0800 (PST) Received: by macbookpro.malat.net (Postfix, from userid 1000) id AAB2810C171D; Fri, 15 Dec 2017 18:07:15 +0100 (CET) From: Mathieu Malaterre To: Rob Herring Subject: [PATCH v2] arm: kirkwood: dts: Use lower case for bindings notation Date: Fri, 15 Dec 2017 18:07:11 +0100 Message-Id: <20171215170711.8212-1-malat@debian.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171215124653.30902-1-malat@debian.org> References: <20171215124653.30902-1-malat@debian.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171215_090754_822374_5B1F63BE X-CRM114-Status: GOOD ( 10.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Andrew Lunn , Jason Cooper , devicetree@vger.kernel.org, Mathieu Malaterre , Russell King , linux-kernel@vger.kernel.org, Gregory Clement , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Improve the DTS files using lower case to fix the following dtc warnings: Warning (simple_bus_reg): Node /XXX@ simple-bus unit address format error, expected "" 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 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 Reviewed-by: Andrew Lunn --- v2: Fix the original template message since it was completely misleading for kirkwood subarch. arch/arm/boot/dts/kirkwood-linksys-viper.dts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/kirkwood-linksys-viper.dts b/arch/arm/boot/dts/kirkwood-linksys-viper.dts index df7851820507..f21a50dd9869 100644 --- a/arch/arm/boot/dts/kirkwood-linksys-viper.dts +++ b/arch/arm/boot/dts/kirkwood-linksys-viper.dts @@ -157,7 +157,7 @@ reg = <0x80000 0x20000>; }; - partition@A0000 { + partition@a0000 { label = "s_env"; reg = <0xA0000 0x20000>; }; @@ -167,17 +167,17 @@ reg = <0x200000 0x2A0000>; }; - partition@4A0000 { + partition@4a0000 { label = "rootfs"; reg = <0x4A0000 0x1760000>; }; - partition@1C00000 { + partition@1c00000 { label = "alt_kernel"; reg = <0x1C00000 0x2A0000>; }; - partition@1EA0000 { + partition@1ea0000 { label = "alt_rootfs"; reg = <0x1EA0000 0x1760000>; }; @@ -187,7 +187,7 @@ reg = <0x3600000 0x4A00000>; }; - partition@C0000 { + partition@c0000 { label = "unused"; reg = <0xC0000 0x140000>; };