From patchwork Fri Dec 15 19:19:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Malaterre X-Patchwork-Id: 10115899 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 5EE1260327 for ; Fri, 15 Dec 2017 19:20:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A6432A03A for ; Fri, 15 Dec 2017 19:20:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B9F72A043; Fri, 15 Dec 2017 19:20:27 +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 7B2EC2A03A for ; Fri, 15 Dec 2017 19:20:25 +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=IOjCag9OOuzJ9i4JA1b2utluh2vHrKMhENRNpodYwRw=; b=Kz8P4Cz5UdLpq1YlPWhBd1zs87 LnabNDe6h1HTKql2jTVfCIOcxOYYlUVhmQImq2A9t6fraCzztz4id21Z5BSnmpMC9utTUFZom9f5m tB4hrUlwub2E+ZZYbyTgrY3JA1+CoVINTdaMudjUu3x5F7tP4KFDohkEuQhS9ybkqxkgXEL/k+xs3 6vlvCGy72TQRVII/UaD5SxuA8DklOm0+lcrih2Hr6v6+umh2Z0C8t+gGmf/zq7jMEqkIT45skNhAM gGjaCJmWBirtM626XqDmIM3WautNptWsdSp57K98cEqYITsbdjC6Vz2heWSaXsRwlY4dk1kAckO8M DtjAE40g==; 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 1ePvWw-0001LY-HM; Fri, 15 Dec 2017 19:20:22 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ePvWk-0008Jt-VO for linux-arm-kernel@lists.infradead.org; Fri, 15 Dec 2017 19:20:20 +0000 Received: by mail-wr0-x241.google.com with SMTP id z34so8889833wrz.10 for ; Fri, 15 Dec 2017 11:19:45 -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=YjnTB20x/p5PqkN+PfJmToJKa5QVc8wjDpOVUZ7VaDE=; b=emUZ6FD4tD07Q1TmlpJz842SSNddhk1ieRSspRF5N5T4JDrcalPblu65Vz/oyhZcJ7 8YyFXAsyIih397OPp1xCIT41j3Fky806pVYn6zEMmRQpVVbiC+RImkZ9KbT9BqqrOrp1 ak1ugrGgUV+f95lLvTU/tWJjeT5Hln8MzfXJwYau3baN4QiUT8DcC/Q8Cwkk6TUyUgxh 7MlgLHqA6TZkuz0mWJCLTY6PSBCbddYHWg+8JMPOeSKr8iamgeWqbvf89vn0Ko6nYaEg AQ3jfu69EwusDF2R++uExyDtViVlpAtQrngVjZB3a0rEB12UijSmY5BZyYiPUVWx7CPH Z2qA== 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=YjnTB20x/p5PqkN+PfJmToJKa5QVc8wjDpOVUZ7VaDE=; b=SvwCC0kXdGSXrMY5K7DaiCT6a+sTeoXi3X6pM5eTTCpsZXscdd21ZWRbIn+1Urf3FC /DKNJLc3tLatDFZ7u0wltJKInWj3NmQrA1wYV2Ic4tydbJofpKF44T3pLo4Zm3VjBl8/ OZ3qVbwy/GfUFepNaGs7bqxuSrBj9OTO4T3ZvNgSFOTzqdM4U1okS+io6GmGBrOZbdJU NC5y0MP5Y9LL0qVWwgXRezbrLDofzVXOr5kCgHc819O99kT2+AicHmeSE2+lKeSrlowl GCugC1dBZd3/obIwNI1cd+F6C8VAUQoExLkV3vNQs428ry3ix24QnWnfOJSvnbsOavie 6Rbw== X-Gm-Message-State: AKGB3mL+VgBLWmho8dajd8t6IwwhGePLaYFCEaFk0bbvq0W8Ejn8725e PYxYxN9DpLHzrXYMx8E4qaUpeiZFJE8= X-Google-Smtp-Source: ACJfBouPan4KbR28tzM5g1yAJuEx3jEcojclePTJJoX+5Gy7d4nCYvjBrAZwnymD9H0NmzyPrCTcKw== X-Received: by 10.223.169.135 with SMTP id b7mr9967329wrd.171.1513365581413; Fri, 15 Dec 2017 11:19:41 -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 p15sm1049693wrf.50.2017.12.15.11.19.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Dec 2017 11:19:40 -0800 (PST) Received: by macbookpro.malat.net (Postfix, from userid 1000) id 5CAA810C171D; Fri, 15 Dec 2017 20:19:39 +0100 (CET) From: Mathieu Malaterre To: Rob Herring Subject: [PATCH v3] arm: imx: dts: Use lower case for bindings notation Date: Fri, 15 Dec 2017 20:19:30 +0100 Message-Id: <20171215191930.11410-1-malat@debian.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171215124631.30132-1-malat@debian.org> References: <20171215124631.30132-1-malat@debian.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171215_112012_895810_D7D4968F X-CRM114-Status: GOOD ( 12.09 ) 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 , devicetree@vger.kernel.org, Mathieu Malaterre , Fabio Estevam , Russell King , linux-kernel@vger.kernel.org, Sascha Hauer , Fabio Estevam , Shawn Guo , linux-arm-kernel@lists.infradead.org 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: Fabio Estevam --- v2: Remove invalid patch for imx7s.dtsi, remove duplicate patch for imx7d.dtsi v3: Clarify the commit message arch/arm/boot/dts/imx6q-display5.dtsi | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/boot/dts/imx6q-display5.dtsi b/arch/arm/boot/dts/imx6q-display5.dtsi index 4084de43d4d9..09085fde3341 100644 --- a/arch/arm/boot/dts/imx6q-display5.dtsi +++ b/arch/arm/boot/dts/imx6q-display5.dtsi @@ -255,7 +255,7 @@ pinctrl-0 = <&pinctrl_i2c1>; status = "okay"; - codec: tfa9879@6C { + codec: tfa9879@6c { #sound-dai-cells = <0>; compatible = "nxp,tfa9879"; reg = <0x6C>;