From patchwork Thu Sep 21 17:21:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 113918 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp2282010qgf; Thu, 21 Sep 2017 10:27:18 -0700 (PDT) X-Received: by 10.99.149.28 with SMTP id p28mr6464846pgd.386.1506014838362; Thu, 21 Sep 2017 10:27:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506014838; cv=none; d=google.com; s=arc-20160816; b=rZuN0pNY5fswnqkyB7Is/N7++NvCqI7kV9ts9IGN/C/eEC/h6feWY1djFWQZwEL+dC jpU5xCDdBjH4rUf32tkAVd/GI7eL0scDZdAnvMr0tnL3pByme1DyMkveUOp8UIKoky5H U0wySGhbML9Zr560E0ISLHqIVRQJFmblQJM0ga+8RUsm4YAMB4ZuUTqTofb5J9A85VOU ahj4lhEtspDi4xrwAYNcOKUF4j7hjt05/owQqJILC+WfKZveAxhy0bd1nqYnwLipAeSs Qq6vyJaf4jJcXzOl+hch/K7tRiuplm7ydtmEuh5W0lIH9+thVeJG1HJEh4R1bTQVPNPB oqOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=22M20z5youTaxHOnjtwBBLatnzjXF0Y5dibv/e845Gw=; b=lDZTZe20wUfmsugXde8yxBZRUT5hLsxRJiXNLCZ5XgVzaKNVaS+De2wLvjuQGfH36w amXiZT7uL73inFhj9mvmkde79qetOWkLHBAQADYwF45FckAI4J9X4oeq24DC0g2QxqOw pcFNYHqBtcrphYvnz3naKDyKSfCWW0dRc3Be6f+CqaJ/7s6/z4oZ/fm+JBc8T1XCBVDU IsI34avVzcva76ZwdhQgL7EH3VOanfSO15oImbnDWfPJNzjWPWDrKjjxBfyk0eyS02D1 phlO23siVbT0FpnE5HyxmqxhuRswPCWj6CVGEWSGagmLyCtcDpqjyHUn6nRkeHWt4RsN MSQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hVfpzbVP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 73si1306422pgg.602.2017.09.21.10.27.17; Thu, 21 Sep 2017 10:27:18 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hVfpzbVP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752849AbdIUR1P (ORCPT + 26 others); Thu, 21 Sep 2017 13:27:15 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:35212 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752848AbdIURYX (ORCPT ); Thu, 21 Sep 2017 13:24:23 -0400 Received: by mail-wr0-f193.google.com with SMTP id n64so3490865wrb.2; Thu, 21 Sep 2017 10:24:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=22M20z5youTaxHOnjtwBBLatnzjXF0Y5dibv/e845Gw=; b=hVfpzbVPniqtEO5sjTucO8ytCdax3Ocx06w2TePvFB/r9lDmzll2TqEkEqdqdJFL0s p/7FLjZn2KL77AX8wNUNzLXATfNekgWbyoKhiedRjrJLrUrywx1XgF57135qJL9LFnzB OeutsaTensQY73jp60JxPN0luYM05lpBmBo74FcDfMmJXvFp1jRuM144TIt58XLA2psM 9tB3Jc5iqDIola3SpgTMgPiBytV1Zv7qizCTwYuQIi03HOgUPvPbUdR9XcsQfDxZ8425 ZfBiTI/fLEiBnUuiR//KHivq5lUKj+WS2wboIJVCDOmrSGguLcznvfsfvAWlPT7JaNgy ZXrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=22M20z5youTaxHOnjtwBBLatnzjXF0Y5dibv/e845Gw=; b=stha+cTXRmKgzyr6h3Xmp2dJ3+r/sxFLF8FU+G+fUwH6PH6mRMKhkmo1mkuPOhdoxe j58xrpjsM81nI+NDjQIcFi8u4sFXbDD1c4HpTK0xhZexpULoOf5tYHzqBCat3bY1ogAM NEPSjDDdC1Rov4FmoM1jkFmXl265E2wrJk9Z8PKC/GZVPWRPdXG4p8ZXhIrNoUqvYmUO ba0iGX58D5RlM01WFeW/6fl2zAPszOhfVSPmWuZllxVEN/YD6lAAj7RPW+eYoqPGV229 ldolSVS+rD7wX5bF+dlFHqE4WNTjLuH/eDQ7wQ5McC9Y5XegWbk4tM6MWH2QFo6H34fJ jtXw== X-Gm-Message-State: AHPjjUh210C5SaiADsbSXsruESLS6wnHiXUu1lKnr2FLGcnYptPyPAMc QOh/VL354BRLYx+73Y1JTTI= X-Google-Smtp-Source: AOwi7QDefAyyD0+a48FYCnkQq6BRmUrlNbR9lpATrGqHFsEwxYcpH2REDEWAboSd+24yL6Ei9kgY6A== X-Received: by 10.223.134.25 with SMTP id 25mr2717781wrv.186.1506014661656; Thu, 21 Sep 2017 10:24:21 -0700 (PDT) Received: from Red.local (LFbn-MAR-1-580-96.w90-118.abo.wanadoo.fr. [90.118.159.96]) by smtp.googlemail.com with ESMTPSA id b89sm2788580wrd.42.2017.09.21.10.24.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 10:24:21 -0700 (PDT) From: Corentin Labbe To: robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, maxime.ripard@free-electrons.com, wens@csie.org, catalin.marinas@arm.com, will.deacon@arm.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH 01/12] ARM: dts: sunxi: h3/h5: Fix simple-bus unit address format error Date: Thu, 21 Sep 2017 19:21:40 +0200 Message-Id: <20170921172151.29779-2-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170921172151.29779-1-clabbe.montjoie@gmail.com> References: <20170921172151.29779-1-clabbe.montjoie@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch remove leading 0 of unit address and so remove lots of warning when building DT with W=1. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 72 +++++++++++++++++++------------------- 1 file changed, 36 insertions(+), 36 deletions(-) -- 2.13.5 diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi index a8e9b8f378ba..59ddac9f65a7 100644 --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi @@ -91,7 +91,7 @@ reg = <0x01c00000 0x1000>; }; - dma: dma-controller@01c02000 { + dma: dma-controller@1c02000 { compatible = "allwinner,sun8i-h3-dma"; reg = <0x01c02000 0x1000>; interrupts = ; @@ -100,7 +100,7 @@ #dma-cells = <1>; }; - mmc0: mmc@01c0f000 { + mmc0: mmc@1c0f000 { /* compatible and clocks are in per SoC .dtsi file */ reg = <0x01c0f000 0x1000>; resets = <&ccu RST_BUS_MMC0>; @@ -111,7 +111,7 @@ #size-cells = <0>; }; - mmc1: mmc@01c10000 { + mmc1: mmc@1c10000 { /* compatible and clocks are in per SoC .dtsi file */ reg = <0x01c10000 0x1000>; resets = <&ccu RST_BUS_MMC1>; @@ -122,7 +122,7 @@ #size-cells = <0>; }; - mmc2: mmc@01c11000 { + mmc2: mmc@1c11000 { /* compatible and clocks are in per SoC .dtsi file */ reg = <0x01c11000 0x1000>; resets = <&ccu RST_BUS_MMC2>; @@ -133,7 +133,7 @@ #size-cells = <0>; }; - usb_otg: usb@01c19000 { + usb_otg: usb@1c19000 { compatible = "allwinner,sun8i-h3-musb"; reg = <0x01c19000 0x400>; clocks = <&ccu CLK_BUS_OTG>; @@ -158,7 +158,7 @@ status = "disabled"; }; - usbphy: phy@01c19400 { + usbphy: phy@1c19400 { compatible = "allwinner,sun8i-h3-usb-phy"; reg = <0x01c19400 0x2c>, <0x01c1a800 0x4>, @@ -190,7 +190,7 @@ #phy-cells = <1>; }; - ehci0: usb@01c1a000 { + ehci0: usb@1c1a000 { compatible = "allwinner,sun8i-h3-ehci", "generic-ehci"; reg = <0x01c1a000 0x100>; interrupts = ; @@ -199,7 +199,7 @@ status = "disabled"; }; - ohci0: usb@01c1a400 { + ohci0: usb@1c1a400 { compatible = "allwinner,sun8i-h3-ohci", "generic-ohci"; reg = <0x01c1a400 0x100>; interrupts = ; @@ -209,7 +209,7 @@ status = "disabled"; }; - ehci1: usb@01c1b000 { + ehci1: usb@1c1b000 { compatible = "allwinner,sun8i-h3-ehci", "generic-ehci"; reg = <0x01c1b000 0x100>; interrupts = ; @@ -220,7 +220,7 @@ status = "disabled"; }; - ohci1: usb@01c1b400 { + ohci1: usb@1c1b400 { compatible = "allwinner,sun8i-h3-ohci", "generic-ohci"; reg = <0x01c1b400 0x100>; interrupts = ; @@ -232,7 +232,7 @@ status = "disabled"; }; - ehci2: usb@01c1c000 { + ehci2: usb@1c1c000 { compatible = "allwinner,sun8i-h3-ehci", "generic-ehci"; reg = <0x01c1c000 0x100>; interrupts = ; @@ -243,7 +243,7 @@ status = "disabled"; }; - ohci2: usb@01c1c400 { + ohci2: usb@1c1c400 { compatible = "allwinner,sun8i-h3-ohci", "generic-ohci"; reg = <0x01c1c400 0x100>; interrupts = ; @@ -255,7 +255,7 @@ status = "disabled"; }; - ehci3: usb@01c1d000 { + ehci3: usb@1c1d000 { compatible = "allwinner,sun8i-h3-ehci", "generic-ehci"; reg = <0x01c1d000 0x100>; interrupts = ; @@ -266,7 +266,7 @@ status = "disabled"; }; - ohci3: usb@01c1d400 { + ohci3: usb@1c1d400 { compatible = "allwinner,sun8i-h3-ohci", "generic-ohci"; reg = <0x01c1d400 0x100>; interrupts = ; @@ -278,7 +278,7 @@ status = "disabled"; }; - ccu: clock@01c20000 { + ccu: clock@1c20000 { /* compatible is in per SoC .dtsi file */ reg = <0x01c20000 0x400>; clocks = <&osc24M>, <&osc32k>; @@ -287,7 +287,7 @@ #reset-cells = <1>; }; - pio: pinctrl@01c20800 { + pio: pinctrl@1c20800 { /* compatible is in per SoC .dtsi file */ reg = <0x01c20800 0x400>; interrupts = , @@ -400,7 +400,7 @@ }; }; - timer@01c20c00 { + timer@1c20c00 { compatible = "allwinner,sun4i-a10-timer"; reg = <0x01c20c00 0xa0>; interrupts = , @@ -453,7 +453,7 @@ }; }; - spi0: spi@01c68000 { + spi0: spi@1c68000 { compatible = "allwinner,sun8i-h3-spi"; reg = <0x01c68000 0x1000>; interrupts = ; @@ -469,7 +469,7 @@ #size-cells = <0>; }; - spi1: spi@01c69000 { + spi1: spi@1c69000 { compatible = "allwinner,sun8i-h3-spi"; reg = <0x01c69000 0x1000>; interrupts = ; @@ -485,13 +485,13 @@ #size-cells = <0>; }; - wdt0: watchdog@01c20ca0 { + wdt0: watchdog@1c20ca0 { compatible = "allwinner,sun6i-a31-wdt"; reg = <0x01c20ca0 0x20>; interrupts = ; }; - spdif: spdif@01c21000 { + spdif: spdif@1c21000 { #sound-dai-cells = <0>; compatible = "allwinner,sun8i-h3-spdif"; reg = <0x01c21000 0x400>; @@ -504,7 +504,7 @@ status = "disabled"; }; - pwm: pwm@01c21400 { + pwm: pwm@1c21400 { compatible = "allwinner,sun8i-h3-pwm"; reg = <0x01c21400 0x8>; clocks = <&osc24M>; @@ -512,7 +512,7 @@ status = "disabled"; }; - i2s0: i2s@01c22000 { + i2s0: i2s@1c22000 { #sound-dai-cells = <0>; compatible = "allwinner,sun8i-h3-i2s"; reg = <0x01c22000 0x400>; @@ -525,7 +525,7 @@ status = "disabled"; }; - i2s1: i2s@01c22400 { + i2s1: i2s@1c22400 { #sound-dai-cells = <0>; compatible = "allwinner,sun8i-h3-i2s"; reg = <0x01c22400 0x400>; @@ -538,7 +538,7 @@ status = "disabled"; }; - codec: codec@01c22c00 { + codec: codec@1c22c00 { #sound-dai-cells = <0>; compatible = "allwinner,sun8i-h3-codec"; reg = <0x01c22c00 0x400>; @@ -552,7 +552,7 @@ status = "disabled"; }; - uart0: serial@01c28000 { + uart0: serial@1c28000 { compatible = "snps,dw-apb-uart"; reg = <0x01c28000 0x400>; interrupts = ; @@ -565,7 +565,7 @@ status = "disabled"; }; - uart1: serial@01c28400 { + uart1: serial@1c28400 { compatible = "snps,dw-apb-uart"; reg = <0x01c28400 0x400>; interrupts = ; @@ -578,7 +578,7 @@ status = "disabled"; }; - uart2: serial@01c28800 { + uart2: serial@1c28800 { compatible = "snps,dw-apb-uart"; reg = <0x01c28800 0x400>; interrupts = ; @@ -591,7 +591,7 @@ status = "disabled"; }; - uart3: serial@01c28c00 { + uart3: serial@1c28c00 { compatible = "snps,dw-apb-uart"; reg = <0x01c28c00 0x400>; interrupts = ; @@ -604,7 +604,7 @@ status = "disabled"; }; - i2c0: i2c@01c2ac00 { + i2c0: i2c@1c2ac00 { compatible = "allwinner,sun6i-a31-i2c"; reg = <0x01c2ac00 0x400>; interrupts = ; @@ -617,7 +617,7 @@ #size-cells = <0>; }; - i2c1: i2c@01c2b000 { + i2c1: i2c@1c2b000 { compatible = "allwinner,sun6i-a31-i2c"; reg = <0x01c2b000 0x400>; interrupts = ; @@ -643,7 +643,7 @@ #size-cells = <0>; }; - gic: interrupt-controller@01c81000 { + gic: interrupt-controller@1c81000 { compatible = "arm,gic-400"; reg = <0x01c81000 0x1000>, <0x01c82000 0x2000>, @@ -654,7 +654,7 @@ interrupts = ; }; - rtc: rtc@01f00000 { + rtc: rtc@1f00000 { compatible = "allwinner,sun6i-a31-rtc"; reg = <0x01f00000 0x54>; interrupts = , @@ -671,12 +671,12 @@ #reset-cells = <1>; }; - codec_analog: codec-analog@01f015c0 { + codec_analog: codec-analog@1f015c0 { compatible = "allwinner,sun8i-h3-codec-analog"; reg = <0x01f015c0 0x4>; }; - ir: ir@01f02000 { + ir: ir@1f02000 { compatible = "allwinner,sun5i-a13-ir"; clocks = <&r_ccu CLK_APB0_IR>, <&r_ccu CLK_IR>; clock-names = "apb", "ir"; @@ -686,7 +686,7 @@ status = "disabled"; }; - r_pio: pinctrl@01f02c00 { + r_pio: pinctrl@1f02c00 { compatible = "allwinner,sun8i-h3-r-pinctrl"; reg = <0x01f02c00 0x400>; interrupts = ;