Message ID | 20171215124644.30484-1-malat@debian.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 0863260231 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 15 Dec 2017 12:51:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA6FD29F45 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 15 Dec 2017 12:51:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DF91029F46; Fri, 15 Dec 2017 12:51:18 +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=ham 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 5CE3B29F28 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 15 Dec 2017 12:51:18 +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: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:In-Reply-To: References:List-Owner; bh=O5lZb8S8RhP1JhqKKtNshEAJDOe4aAD0nW/WxB3UKuM=; b=eln q61u/JFmPuDMP97yQLeH2lwE3ParRVeD4FCtth/PyVHbZdXKjZjNt+GGsH5EN95I5VFCls/JZNvez wkyBQIZYoHpdfg+a4P0ksQVYV+dzlK8JqkBaLOIWm5ofxv6L00Qk8lGL8tammtJJx0Zs6o05hTkC/ WchBmdLhW5Ms2OrGojjncQsv07qBImNAbMYGIsZQD6OkHXE3lDCtA10WjlcitKqxSNrWy/yVG78GC dpk7RfWvtu3ZPfQqaUUghBTkHewvgWzCssChrDSkU2hHTM2fkPha3fFMVU1LujFL8NpsKWa4nkJAd Z83COd8vNP9V09u3LJQwIvwNwi72NXA==; 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 1ePpSP-0004nR-50; Fri, 15 Dec 2017 12:51:17 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ePpOL-0007oB-Cy for linux-arm-kernel@lists.infradead.org; Fri, 15 Dec 2017 12:47:09 +0000 Received: by mail-wr0-x242.google.com with SMTP id v34so2055987wrb.0 for <linux-arm-kernel@lists.infradead.org>; Fri, 15 Dec 2017 04:46:49 -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; bh=im2oJVdncqZjyFpoF5xaRCdKUGoJHSthV6XUSrwZS24=; b=CnrMOKUFCxK774RksUBQ+PwKzH7yCpeXhOBEwOV0Q8Z1mMQlpBi6F6MhMlGrPycKvL z4no7sKl/3hCmvH7F3mnmmba9sw8WTNMAMxvE4loYE0imwX2vWs4azNEsrmJ4m7DfOhV lA0f9fsJ+qqlcbT9U6lcdaJ06bhV4TubTHLCm/fZ4gt7zma+csusYJC4+JovIU2X3hkK bmGzEnl3NU2NfZ8BpS3j9ThQIZgok7xcYQzjmHX0MHp8ssf2iKVplXqc/xK1UcNHSOpM Y2nDOp6HF5IfYEet/pHtRFcIkBx4YoaynmGwqhSUO5vsYxq1R74+1UrulBwU8Lw8i77N tIHg== 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; bh=im2oJVdncqZjyFpoF5xaRCdKUGoJHSthV6XUSrwZS24=; b=f2QGhNQJNUC8Y/8CQtkvyzhkIMSWM500mhKRzhjB2m2UaQXGp/PswYmAmD772Y4FVt bLUM+IK8JLCUrxWVbo5WI1kjli3g0bC3xgmM49Tybc+XqGacbOcrzTFDlfTqq1mBCH8q LHf77I34lFsruYxtyPhwFRg7wjOS67AXOQeBKeXWlRobcd904LCG6DsvbwS7ZOy9z8O1 Ewk+VX2qDyS6I90LpJYe/IREJFzX0fWRQqCuKAcyTwnENOklppEwAoDKbe9w5ff+5M4M qDqTjHZaIrSZ3zV+GZc2tPNTCfWWWTfz4+meV5vOUyowcbMw60c3RzGi5K67GMsKyQBX WUgQ== X-Gm-Message-State: AKGB3mJvYLhCiSq80FvkVT59eYTor7zRpi+k0B3WEBi4ij59WVJnno5m 3jO+Gc3UU50A9m4VVGnZ+HM= X-Google-Smtp-Source: ACJfBotD1JAuwKsAExt5ehf/qw3r9CWrDGOoKKXxhWmHAIqBpQsxcvPpOct7F82eCDK/zNukC6Ua5Q== X-Received: by 10.223.184.42 with SMTP id h39mr9446856wrf.38.1513342008287; Fri, 15 Dec 2017 04:46:48 -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 m201sm6585833wma.13.2017.12.15.04.46.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Dec 2017 04:46:47 -0800 (PST) Received: by macbookpro.malat.net (Postfix, from userid 1000) id 2470110C310E; Fri, 15 Dec 2017 13:46:45 +0100 (CET) From: Mathieu Malaterre <malat@debian.org> To: Rob Herring <robh+dt@kernel.org> Subject: [PATCH 12/25] arm: socfpga: dts: Remove leading 0x and 0s from bindings notation Date: Fri, 15 Dec 2017 13:46:44 +0100 Message-Id: <20171215124644.30484-1-malat@debian.org> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171215_044705_786585_74C1B5C4 X-CRM114-Status: GOOD ( 10.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Mark Rutland <mark.rutland@arm.com>, devicetree@vger.kernel.org, Mathieu Malaterre <malat@debian.org>, Russell King <linux@armlinux.org.uk>, linux-kernel@vger.kernel.org, Dinh Nguyen <dinguyen@kernel.org>, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi index 7e24dc8e82d4..36f87eb389b1 100644 --- a/arch/arm/boot/dts/socfpga.dtsi +++ b/arch/arm/boot/dts/socfpga.dtsi @@ -724,7 +724,7 @@ arm,prefetch-offset = <7>; }; - l3regs@0xff800000 { + l3regs@ff800000 { compatible = "altr,l3regs", "syscon"; reg = <0xff800000 0x1000>; };
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@<UPPER> simple-bus unit address format error, expected "<lower>" This is a follow up to commit 4c9847b7375a ("dt-bindings: Remove leading 0x from bindings notation") Reported-by: David Daney <ddaney@caviumnetworks.com> Suggested-by: Rob Herring <robh@kernel.org> Signed-off-by: Mathieu Malaterre <malat@debian.org> --- arch/arm/boot/dts/socfpga.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)