From patchwork Tue Sep 6 15:53:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 9317435 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 7B307607D3 for ; Tue, 6 Sep 2016 15:59:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6826328E19 for ; Tue, 6 Sep 2016 15:59:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C6BE28E1B; Tue, 6 Sep 2016 15:59:12 +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=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2A2BD28E19 for ; Tue, 6 Sep 2016 15:59:11 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhIkR-00082F-Et; Tue, 06 Sep 2016 15:57:19 +0000 Received: from mail-sn1nam02on0088.outbound.protection.outlook.com ([104.47.36.88] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhIhE-0004dX-MM for linux-arm-kernel@lists.infradead.org; Tue, 06 Sep 2016 15:54:03 +0000 Received: from BN3PR0301CA0005.namprd03.prod.outlook.com (10.160.180.143) by MWHPR03MB2446.namprd03.prod.outlook.com (10.169.200.140) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9; Tue, 6 Sep 2016 15:53:38 +0000 Received: from BN1AFFO11FD014.protection.gbl (2a01:111:f400:7c10::175) by BN3PR0301CA0005.outlook.office365.com (2a01:111:e400:4000::15) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9 via Frontend Transport; Tue, 6 Sep 2016 15:53:38 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD014.mail.protection.outlook.com (10.58.52.74) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.587.6 via Frontend Transport; Tue, 6 Sep 2016 15:53:38 +0000 Received: from fabio-Latitude-E6410.am.freescale.net (fabio-Latitude-E6410.am.freescale.net [10.29.244.99]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u86FrQ4a031722; Tue, 6 Sep 2016 08:53:36 -0700 From: Fabio Estevam To: Subject: [PATCH 8/9] ARM: dts: imx27: Fix memory node build warnings with W=1 Date: Tue, 6 Sep 2016 12:53:15 -0300 Message-ID: <1473177196-29371-9-git-send-email-fabio.estevam@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1473177196-29371-1-git-send-email-fabio.estevam@nxp.com> References: <1473177196-29371-1-git-send-email-fabio.estevam@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131176508184681833; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(19580395003)(19580405001)(85426001)(87936001)(33646002)(50466002)(189998001)(50986999)(76176999)(5003940100001)(36756003)(86362001)(575784001)(48376002)(106466001)(229853001)(2351001)(97736004)(626004)(68736007)(8936002)(50226002)(8676002)(81156014)(81166006)(5660300001)(586003)(110136002)(11100500001)(4326007)(2906002)(77096005)(104016004)(7846002)(305945005)(47776003)(92566002)(356003)(8666005)(2950100001)(105606002)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2446; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD014; 1:5sIn9K7mGkcZ/gQhinkdTNYxtD4hNXXKjls4tcFplK2JY+fujydXgIl/crOEgl7Idt4ub1riC0m3BsHDR69VVQLrvG1Vj7LEXK63jgj2hpj4hnP5pSs3pzmFuBxzR3NYEcZzpZlzsWdxO0MnOPvP69eoPptK1cewj0NBzthrmPfGKPFJwBMvcsNml4AxuET9yv9xaLfgJCoS11VlKj/YV7fJjfsvXtH24o6EpzzX4jHoosn1OA8g6AfQV3PuI9ejvrOb54DVtCYf+pdB+H5TRZtOrU93fpExlzhNwBBuv9OqkVEuXhI1R1/WAFZxpZ0GshsxphTuXGdlq5jaKm7/hVZMB0LN3954zi1xiqrPkMgOkVngWbLuXkI88bXTwLdCb/8n4JdkjAaD+bOBz3LBm6jMpn5Vj0XyPrmzUL/DgYY4mmVLGm7oiXdIFgbS3KsZN82dAb2NEYxI2Vj8cGNOskZelQB2bQ4xGzFJz+4VsjdEgkJ9tgtVO5WPyYtU8yKB5JJ9kcKfNohY7+Sbz7l/twhTIcHlPtK6dB+Gx9y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KYAjuz/VmS2AGIYXU+pdny7U34z1/l6aa+cwpU3Paap8sqxANU6n2+KLHv2twpGTB5bVZdejHLwvhkjqKy5hXJGY= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:MWHPR03MB2446; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2446; 31:TarmFLAIUR1e/GfovN01E7RykBuj4afH4pPb3CMRy9Ly4Hyi9yvBbMWVx+BUO6+yfGSdDZW/e32Q7eSru9rAjx2cg6ixvRTs/08hWU1QT76T+x74n1M1CsponywdD79y6RkB5KTQH5dVVo/VRP0b5wqKXALKwWRbr686xbeOCayVxi1x6W5kkLBN7fRWT2RjIk2dIS1120wWRcCsv5ez50ScOGcsiFUD8wsqoa1X5c0=; 4:1+d7KoILz80uucPMfRHnJlaYsXczmK/no45C5j/JZapdSkXj9mWBj90ndBYS0OJkJ1kwHv2Kxji2AgQbFGo1+woGSuGYDxU8nOmFSqN6dpj9U/LI32daL4tbE0fp5BQSMRL3kAka1jhHdZ4tV5PkGIHCvoejLW9qg/JIn3RhhElcp50ewt2H7jUQrGQdlLeDN7L64tR+KF8YRcIIH4i9LhJTJQ2eeJ6q+sXV+iyMTTl7WfXp19Bz4447OUrSKqVapGyloIBsDpAH2Y41TbWWsnwL/VP3v3V5WqOynBlRNam4chC9ekG9dwmZ1ZFAYhsmDemzKQmh+r94oQlONy9/BsbpGLoT0TJmI3wockUFQ3j0Z+iTxK8qv19ZlN5a3LTUujQIISNXGqI7bQS9JCr6ThphUCHPz2FnpZr5tJVOeekti8zQ7TzswmAANSljzRwmwTiJCZrt1L27uRuBf9t8I8ogdhgW/1M/YM0TXuY5M25KB2vYluuQq4oedpxpKzZSyTCy/NIDjdXucAZCZk8aFRtSURYHXaA/lXT53V+6NuE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13015025)(13017025)(13023025)(13024025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:MWHPR03MB2446; BCL:0; PCL:0; RULEID:(400006); SRVR:MWHPR03MB2446; X-Forefront-PRVS: 0057EE387C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB2446; 23:LadJHlQgxgWCjKWoaNNB88EVgIWJwpxDo+bXqa+mQ?= =?us-ascii?Q?RaAteZIN4vCxHvLzrTYi9a6ieZLsNppS3bwyqtJdxY/+T0stJJDlSMUL9agz?= =?us-ascii?Q?jAVpxa6DHJ+OwWkRJTtGYMaTEy3D7iGfTz3QMPYerkmo8FVp2weFxvoMStjG?= =?us-ascii?Q?re55H3f/1QADRFvJgyLlmUigp4crx2uAqwz80R+pqK/BC0UEpG7vtrTjEvSq?= =?us-ascii?Q?iVtgM9tRBm/aU+NDPBFr4BfbfsvCdGldw5FupYwZorB464WR3o7VlX/NXkeo?= =?us-ascii?Q?QdUXo6Z95O8ggZTvETki2APZ4nHK4WzbnVH00H37UELtONNOoxLzW+XyWd8r?= =?us-ascii?Q?sANTPPa/scJJ9IbJyujL7njfX98wP+nZkSS+A9arutvSVtYSHBYHwmZfiDGl?= =?us-ascii?Q?7EqMf/xjjhRtt5arBQVX449nX8S2V1UL51Q2af8CgyMCxsB66iGbul6hH95j?= =?us-ascii?Q?H3PsHqvpsVT1Zyo548PIjmKTajeg9wEZ0wYpRsHk+66i6Q0KTQJVd84J0kwk?= =?us-ascii?Q?o7oy/jHFi1BmGHphY5uqx9QtUbGquYG61X3flo7ruaIlrRr8i6GmvdXr4R2A?= =?us-ascii?Q?f1oIWvOGcISy/X8MoYPEBSZoHrOj9tSUyy94U4acNkAvUYJrJZ9vIJUZfsKi?= =?us-ascii?Q?ii4V0Bo8xy3bxxNIsfSwWmrVJs6dgAa46azExvoSV3+DLJkKxfxKAx0dZYVU?= =?us-ascii?Q?Y7C3KKblKYd/5EUjnut2TkgqjbcUoh65Jg7lkGDoy5L5fMBOHl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DPGjsEzD8fEF234nDXQOrVwk=; 24:976qme3Nt8kmjDHMtm+z5j4x334SEqYU6qB53dDFu60C30gPiyklOVn2zofftBnz+4Qy106ZHXUfMIvXh4DZkYX7+7cDD/eoM20XntrKDMY=; 7:WJF2Ch9ZnIefAWbH9TG7aZevEIT7DaNGI05CMjd15N1bD83yBGtDwhG6f6vqBjmdeNZbQ/5lpWdaShFsCdCWfbgSwR6dsG/sQQeAYOEJuZHs9H5I3vkEL5BKgLnENud4UxkEymKiLAyQu7Q7MtdgxrIefB3K3dsEZPZZ5Q33L6F/ZGYZXvs2Xb4BRom65OmS+9OQMgGniXALu5mKbgaozgvKsAbyT+vYSSwlK9UtI6XF6WEu07GEuouf1pLWVBbH SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2016 15:53:38.1717 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR03MB2446 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160906_085401_169772_EB530FC1 X-CRM114-Status: GOOD ( 11.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org 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 Fix the following build warnings with W=1: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name While at it, also pass the 'device_type' property as recommended by the ePAPR specification. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx27-apf27.dts | 3 ++- arch/arm/boot/dts/imx27-eukrea-cpuimx27.dtsi | 3 ++- arch/arm/boot/dts/imx27-pdk.dts | 3 ++- arch/arm/boot/dts/imx27-phytec-phycard-s-som.dtsi | 3 ++- arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/imx27-apf27.dts b/arch/arm/boot/dts/imx27-apf27.dts index 73aae4f..357eb55 100644 --- a/arch/arm/boot/dts/imx27-apf27.dts +++ b/arch/arm/boot/dts/imx27-apf27.dts @@ -19,7 +19,8 @@ model = "Armadeus Systems APF27 module"; compatible = "armadeus,imx27-apf27", "fsl,imx27"; - memory { + memory@a0000000 { + device_type = "memory"; reg = <0xa0000000 0x04000000>; }; diff --git a/arch/arm/boot/dts/imx27-eukrea-cpuimx27.dtsi b/arch/arm/boot/dts/imx27-eukrea-cpuimx27.dtsi index 2cf896c..ecdf5e4 100644 --- a/arch/arm/boot/dts/imx27-eukrea-cpuimx27.dtsi +++ b/arch/arm/boot/dts/imx27-eukrea-cpuimx27.dtsi @@ -16,7 +16,8 @@ model = "Eukrea CPUIMX27"; compatible = "eukrea,cpuimx27", "fsl,imx27"; - memory { + memory@a0000000 { + device_type = "memory"; reg = <0xa0000000 0x04000000>; }; diff --git a/arch/arm/boot/dts/imx27-pdk.dts b/arch/arm/boot/dts/imx27-pdk.dts index d0ef496..0bc8a08 100644 --- a/arch/arm/boot/dts/imx27-pdk.dts +++ b/arch/arm/boot/dts/imx27-pdk.dts @@ -16,7 +16,8 @@ model = "Freescale i.MX27 Product Development Kit"; compatible = "fsl,imx27-pdk", "fsl,imx27"; - memory { + memory@a0000000 { + device_type = "memory"; reg = <0xa0000000 0x08000000>; }; diff --git a/arch/arm/boot/dts/imx27-phytec-phycard-s-som.dtsi b/arch/arm/boot/dts/imx27-phytec-phycard-s-som.dtsi index 1b62480..d3c3bca 100644 --- a/arch/arm/boot/dts/imx27-phytec-phycard-s-som.dtsi +++ b/arch/arm/boot/dts/imx27-phytec-phycard-s-som.dtsi @@ -17,7 +17,8 @@ model = "Phytec pca100"; compatible = "phytec,imx27-pca100", "fsl,imx27"; - memory { + memory@a0000000 { + device_type = "memory"; reg = <0xa0000000 0x08000000>; /* 128MB */ }; }; diff --git a/arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi b/arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi index b4e955e..1a73122 100644 --- a/arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi +++ b/arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi @@ -16,7 +16,8 @@ model = "Phytec pcm038"; compatible = "phytec,imx27-pcm038", "fsl,imx27"; - memory { + memory@a0000000 { + device_type = "memory"; reg = <0xa0000000 0x08000000>; };