Received: by 10.223.185.116 with SMTP id b49csp3601575wrg; Tue, 13 Feb 2018 04:59:56 -0800 (PST) X-Google-Smtp-Source: AH8x224BEKSXqZTiVcHz1nhbTgvHx+FLxljAJhr1EwX5sdPVdFkQfLyt1akMaJgCC3XA6amZYZXi X-Received: by 10.98.199.9 with SMTP id w9mr1156457pfg.97.1518526796379; Tue, 13 Feb 2018 04:59:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518526796; cv=none; d=google.com; s=arc-20160816; b=TN3SWQA/cS1o3w3HbugGTJIf3mn2znMxutVlHJGKCFoooI6Fh9NGjuKm07+nOTBZXe /ZJtxT2M+9OaPeOsCT4HeQhj1B1PwNW7ZwAeFJ/2cjyLkZcVgrgK+/HEJH4JrCZMrAV5 hktU9FeJ81JI8cj7xt6D5OOl0Etoilj7W0vOvxYTMjyPhqOQXoFOcVQDTAYLzprfs0wp NRmxBrRPL0HJ7jXOX18jh9C3hSBUxbK6PqAZDaPRTGacHGGiES/A4TEkOw+sGxa7Sjkt uEOdDyT5qRiqGAsMdntc1Oju65LPn29b9uKgxAkKZPZHdeJcY6WEwWn1xpCVa2qNmqVI Zulg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=hfBk2qAAd1mbS//Qgii9tQOW/lblCp8ahxIwZQ4mMcQ=; b=xmE/3FVRT1gVqchXWZoRdW5VBsyg2xgxP4L5zIDcK+HjfZEGbkCEB4oV6Zqc1ny7LO PWBZTYyFT1ergzch0dV7MwwXc+OUAID7Hako3gO7F2zaabZKiC2iXGoiTf+lghqpkoZ/ qfOzCejDlcz2W6XonY4mipuEvGBptOzHTvCjfdd5fHLV0IOaBQphtZpidWkgdjMJABVd 1BNwIYMeqZgsuBPCyGoA0rLz6dkuvjc5+onKWeUV0+flX3McKmgcwJN2mlkITtXxHJM9 cPD9bnZOb+l4ZHhUa+CvCu6tJJhbLL/RU3zIF9l+GWHl8HmJ47dH12N9DbEjHknvqkWu nSTA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j198si2020727pgc.703.2018.02.13.04.59.41; Tue, 13 Feb 2018 04:59:56 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935385AbeBMM5o (ORCPT + 99 others); Tue, 13 Feb 2018 07:57:44 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:46699 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S935218AbeBMMyo (ORCPT ); Tue, 13 Feb 2018 07:54:44 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w1DCrmgS024613; Tue, 13 Feb 2018 13:53:58 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2g1yw6w89f-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 13 Feb 2018 13:53:58 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 4933E38; Tue, 13 Feb 2018 12:53:56 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1F66529CB; Tue, 13 Feb 2018 12:53:56 +0000 (GMT) Received: from localhost (10.75.127.47) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 13 Feb 2018 13:53:55 +0100 From: To: , , , , , CC: Subject: [PATCH v3 06/11] ARM: dts: STi: Add fake reg property for remote processors Date: Tue, 13 Feb 2018 13:53:32 +0100 Message-ID: <1518526417-11919-7-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1518526417-11919-1-git-send-email-patrice.chotard@st.com> References: <1518526417-11919-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG6NODE2.st.com (10.75.127.17) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-13_07:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Patrice Chotard As st231-gp0, st231-delta are part of SoC, we add a fake reg property instead of moving all these nodes outside soc node. This allows to fix the following warning when compiling dtb with W=1 option: arch/arm/boot/dts/stih407-b2120.dtb: Warning (simple_bus_reg): Node /soc/st231-gp0 missing or empty reg/ranges property arch/arm/boot/dts/stih407-b2120.dtb: Warning (simple_bus_reg): Node /soc/st231-delta missing or empty reg/ranges property arch/arm/boot/dts/stih407-b2120.dtb: Warning (simple_bus_reg): Node /soc/delta0 missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg): Node /soc/st231-gp0 missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg): Node /soc/st231-delta missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg): Node /soc/delta0 missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg): Node /soc/st231-gp0 missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg): Node /soc/st231-delta missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg): Node /soc/delta0 missing or empty reg/ranges property arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg): Node /soc/st231-gp0 missing or empty reg/ranges property arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg): Node /soc/st231-delta missing or empty reg/ranges property arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg): Node /soc/delta0 missing or empty reg/ranges property Signed-off-by: Patrice Chotard --- v3: _ none v2: _ add a fake reg property to node without reg property arch/arm/boot/dts/stih407-family.dtsi | 9 ++++++--- arch/arm/boot/dts/stih410.dtsi | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index c8dc659fd14e..5a0bad07da9e 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -805,8 +805,9 @@ status = "okay"; }; - st231_gp0: st231-gp0 { + st231_gp0: st231-gp0@0 { compatible = "st,st231-rproc"; + reg = <0 0>; memory-region = <&gp0_reserved>; resets = <&softreset STIH407_ST231_GP0_SOFTRESET>; reset-names = "sw_reset"; @@ -818,8 +819,9 @@ mboxes = <&mailbox0 0 2>, <&mailbox2 0 1>, <&mailbox0 0 3>, <&mailbox2 0 0>; }; - st231_delta: st231-delta { + st231_delta: st231-delta@0 { compatible = "st,st231-rproc"; + reg = <0 0>; memory-region = <&delta_reserved>; resets = <&softreset STIH407_ST231_DMU_SOFTRESET>; reset-names = "sw_reset"; @@ -982,8 +984,9 @@ status = "disabled"; }; - delta0 { + delta0@0 { compatible = "st,st-delta"; + reg = <0 0>; clock-names = "delta", "delta-st231", "delta-flash-promip"; diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi index d9f964702933..815df2f7c103 100644 --- a/arch/arm/boot/dts/stih410.dtsi +++ b/arch/arm/boot/dts/stih410.dtsi @@ -274,7 +274,7 @@ interrupts = ; }; - delta0 { + delta0@0 { compatible = "st,st-delta"; clock-names = "delta", "delta-st231", -- 1.9.1