Received: by 10.223.185.116 with SMTP id b49csp3600411wrg; Tue, 13 Feb 2018 04:58:35 -0800 (PST) X-Google-Smtp-Source: AH8x22761XDtUSKu4E3emQAAEs5PXtWEO/PNq11Xdcb8O/Jnak9Jnj61zW1Rg0wzng+v3QfQeI8g X-Received: by 2002:a17:902:243:: with SMTP id 61-v6mr1057279plc.202.1518526715779; Tue, 13 Feb 2018 04:58:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518526715; cv=none; d=google.com; s=arc-20160816; b=c9mtGDQHVX7WKTf4RyPZ+9xB0U//noi7x/FdgVCqjlKyNy6rcE4IMKamnahPV/iP9C 4/wP4o/dH98L1Yu+NH+Gx7EJPSu+VgjpF63OKfmSP+mcg/oBv9h9rJWQg3s0N2OT3/qT eLykQ8cCwhCYVAuz1IsEUAVzXJyvxw8nNFOsYTCjZMDpRWGlsq2eCVNZLC4OY1Wj0uN2 Ha5Lm81Y2+X3wRMxyfR8xrInv10ZfgDpOGkY9ozGYrZEeIoXPy/IO1l6enAWSK8D1uxb ueG8V+hKahf3Iqv2AhGuroEsiqGUaapH4dLdX7Si+0LGWjtqIXmsQJSYL8cl9Ovi3FY1 pAtg== 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=8Ou4LrwZngEVONz6iCUrUdvvefNnX9PZkE/WJAAh9CI=; b=uOXl2UUv3X089Wy2O255SWNIph028zYtg7yYBNYh8L6yXH99VQ/fHY/d+dtUU1dAXJ AN/yUajEuFKeoYU2bZ/7s/E+JE475OOaT/NWLVN1BzxdD7AKi6T9vkB74A3q7jX9yLJy Fv0ZDnSse+z39vnoHtHdghFy5Q/BTbLrCnq29MjhiQYtful0fKoS06IWchx/L/nLld1D d1yfNphQHWiDntkJKbPyHSveVQkL3/a0aF1k3yTOJY8xX+TEXexane2Uj0N6665eNJoV ohqlpKxVf1eIyPGteuuHAbjahwNWnmhwW3tDFXpp3EBgrvZd9+mNWpUh4O8R7O0rT+n6 CE8Q== 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 h125si1200104pgc.602.2018.02.13.04.58.20; Tue, 13 Feb 2018 04:58:35 -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 S935248AbeBMMyq (ORCPT + 99 others); Tue, 13 Feb 2018 07:54:46 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:46695 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S935087AbeBMMyn (ORCPT ); Tue, 13 Feb 2018 07:54:43 -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 w1DCrmgP024613; Tue, 13 Feb 2018 13:53:54 +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 2g1yw6w898-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 13 Feb 2018 13:53:54 +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 9847531; Tue, 13 Feb 2018 12:53:53 +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 8378D29CB; Tue, 13 Feb 2018 12:53:53 +0000 (GMT) Received: from localhost (10.75.127.49) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 13 Feb 2018 13:53:53 +0100 From: To: , , , , , CC: Subject: [PATCH v3 03/11] ARM: dts: STi: Add fake reg property for sti-display-subsystem Date: Tue, 13 Feb 2018 13:53:29 +0100 Message-ID: <1518526417-11919-4-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.49] X-ClientProxiedBy: SFHDAG3NODE2.st.com (10.75.127.8) 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 sti-display-subsystem sub-nodes (sti-compositor, sti-tvout sti-hdmi, sti-hda and sti-hqvdp) are SoC's IP, we add a fake reg property. This allows to fix the following warning when compiling dtb with W=1 option: arch/arm/boot/dts/stih410-b2120.dtb: Warning (unit_address_vs_reg): Node /soc/sti-display-subsystem/sti-hda@8d02000 has a unit name, but no reg property Signed-off-by: Patrice Chotard --- v3: _ none v2: _ add a fake reg property to node without reg property arch/arm/boot/dts/stih407.dtsi | 4 ++-- arch/arm/boot/dts/stih410-b2120.dts | 2 +- arch/arm/boot/dts/stih410.dtsi | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/stih407.dtsi b/arch/arm/boot/dts/stih407.dtsi index 11fdecd9312e..4f01777082f5 100644 --- a/arch/arm/boot/dts/stih407.dtsi +++ b/arch/arm/boot/dts/stih407.dtsi @@ -11,11 +11,11 @@ #include / { soc { - sti-display-subsystem { + sti-display-subsystem@0 { compatible = "st,sti-display-subsystem"; #address-cells = <1>; #size-cells = <1>; - + reg = <0 0>; assigned-clocks = <&clk_s_d2_quadfs 0>, <&clk_s_d2_quadfs 1>, <&clk_s_c0_pll1 0>, diff --git a/arch/arm/boot/dts/stih410-b2120.dts b/arch/arm/boot/dts/stih410-b2120.dts index 37a42afa0dd1..23199b1b0991 100644 --- a/arch/arm/boot/dts/stih410-b2120.dts +++ b/arch/arm/boot/dts/stih410-b2120.dts @@ -61,7 +61,7 @@ status = "okay"; }; - sti-display-subsystem { + sti-display-subsystem@0 { sti-hda@8d02000 { status = "okay"; }; diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi index e4b7e3ddc9ee..d9f964702933 100644 --- a/arch/arm/boot/dts/stih410.dtsi +++ b/arch/arm/boot/dts/stih410.dtsi @@ -102,11 +102,12 @@ status = "disabled"; }; - sti-display-subsystem { + sti-display-subsystem@0 { compatible = "st,sti-display-subsystem"; #address-cells = <1>; #size-cells = <1>; + reg = <0 0>; assigned-clocks = <&clk_s_d2_quadfs 0>, <&clk_s_d2_quadfs 1>, <&clk_s_c0_pll1 0>, -- 1.9.1