Received: by 10.223.185.116 with SMTP id b49csp2265822wrg; Mon, 12 Feb 2018 07:05:05 -0800 (PST) X-Google-Smtp-Source: AH8x225LACRjo7fw1bLo44S+f38rRmO+9w2T9ttRg6ODSbPmk9Y9KLivQnKGmYcswDt9X/tIZOrk X-Received: by 2002:a17:902:7581:: with SMTP id j1-v6mr10568868pll.86.1518447905401; Mon, 12 Feb 2018 07:05:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518447905; cv=none; d=google.com; s=arc-20160816; b=YSwkKibskd8RdsGp4Rzf1LCmEWQDr+zp1nxcza4LY5XM0pDtq3F0vgkNE4EhRBhMzy +nYu9lPWdKJP5nO9ODrQ1DTfUYe1MB/n4XU9Y7181e2hA7BDZ7WqPrY0htlZmIGsA6yK 1n0FGrKvlvLZi4yYKludUPFN754FdCjw6kbuYfB5O70MATSOReO3EsvnzYsZtAEhX0xZ 5zhNBr/q4iR3S5AqNDOkkHitVcMeVQWJEG1Mey0AyslLm7TUPOre60hdWPD2bN7BwakF lFJwo79chb/zQxfG5yt/vemBLLL4vsZxaMfwbUi8nChULWfavhYwQZJnozM9YW0Lk/pe ySsw== 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=Ue+NIGKc5uvSFzPd5idSrDl9J82HZnZlJXK90GGLP6E=; b=dE+CNyl676inhN1yYfsZHCkz5KyzKye/B0pm7AIg5RQXiqXycpUHvAh91EVO4Q/Yd9 SJr1BMtrnSwSOezhy46adxQ+2H6xLWlTLgvRY+3McOKVDSACJ78bpu3u/2464MpVdxlH 7hngS0c68rQnlYoVpRL5iBwEEHYLDsSAppNo9RK0rfqoUYZdBtEmL/4J+XYVGKErYYvR drGIq6brKy1ZJxtw+SzhMKQf0NFcrSb4gO/6s1yrz9+uiXOWur1z9W7fBKSVizH2nFKP kjS0VzOx4jPr+m74sPrG0KfUx138NKjP11EQjntwUqkOc672YOg3MwfUMZ5I7mrr/STp PogA== 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 e33-v6si2582464pld.628.2018.02.12.07.04.48; Mon, 12 Feb 2018 07:05:05 -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 S935576AbeBLOqq (ORCPT + 99 others); Mon, 12 Feb 2018 09:46:46 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:57497 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754349AbeBLOny (ORCPT ); Mon, 12 Feb 2018 09:43:54 -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 w1CEciFE004798; Mon, 12 Feb 2018 15:43:19 +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 2g1yw6r9th-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 12 Feb 2018 15:43:19 +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 9A81031; Mon, 12 Feb 2018 14:43:18 +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 843114EAA; Mon, 12 Feb 2018 14:43:18 +0000 (GMT) Received: from localhost (10.75.127.46) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 12 Feb 2018 15:43:17 +0100 From: To: , , , , , CC: Subject: [PATCH v2 04/12] ARM: dts: STi: Add fake reg property for miphy28lp_phy Date: Mon, 12 Feb 2018 15:43:02 +0100 Message-ID: <1518446590-16800-5-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1518446590-16800-1-git-send-email-patrice.chotard@st.com> References: <1518446590-16800-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG3NODE3.st.com (10.75.127.9) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-12_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 Add fake reg property to miphy28lp_phy. 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/miphy28lp missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg): Node /soc/miphy28lp missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg): Node /soc/miphy28lp missing or empty reg/ranges property arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg): Node /soc/miphy28lp missing or empty reg/ranges property Signed-off-by: Patrice Chotard --- v2: _ add a fake reg property to node without reg property arch/arm/boot/dts/stih407-family.dtsi | 3 ++- arch/arm/boot/dts/stih410-b2260.dts | 2 +- arch/arm/boot/dts/stih418-b2199.dts | 2 +- arch/arm/boot/dts/stihxxx-b2120.dtsi | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 1608c70f05a9..e279cd07ba67 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -389,12 +389,13 @@ reset-names = "global", "port"; }; - miphy28lp_phy: miphy28lp { + miphy28lp_phy: miphy28lp@0 { compatible = "st,miphy28lp-phy"; st,syscfg = <&syscfg_core>; #address-cells = <1>; #size-cells = <1>; ranges; + reg = <0 0>; phy_port0: port@9b22000 { reg = <0x9b22000 0xff>, diff --git a/arch/arm/boot/dts/stih410-b2260.dts b/arch/arm/boot/dts/stih410-b2260.dts index 69c2abcaeda8..cea5c840ca9f 100644 --- a/arch/arm/boot/dts/stih410-b2260.dts +++ b/arch/arm/boot/dts/stih410-b2260.dts @@ -200,7 +200,7 @@ }; }; - miphy28lp_phy: miphy28lp { + miphy28lp_phy: miphy28lp@0 { phy_port1: port@9b2a000 { st,osc-force-ext; diff --git a/arch/arm/boot/dts/stih418-b2199.dts b/arch/arm/boot/dts/stih418-b2199.dts index 1ce38ce79952..be0bbb05c5ec 100644 --- a/arch/arm/boot/dts/stih418-b2199.dts +++ b/arch/arm/boot/dts/stih418-b2199.dts @@ -88,7 +88,7 @@ non-removable; }; - miphy28lp_phy: miphy28lp { + miphy28lp_phy: miphy28lp@0 { phy_port0: port@9b22000 { st,osc-rdy; diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi index 1fd3a2b5b938..66c1c6a5eb76 100644 --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi @@ -80,7 +80,7 @@ st,i2c-min-sda-pulse-width-us = <5>; }; - miphy28lp_phy: miphy28lp { + miphy28lp_phy: miphy28lp@0 { phy_port0: port@9b22000 { st,osc-rdy; -- 1.9.1