Received: by 10.223.185.116 with SMTP id b49csp2265824wrg; Mon, 12 Feb 2018 07:05:05 -0800 (PST) X-Google-Smtp-Source: AH8x226kbbm+LMTAat54bru3zjTXUciBz1BVNkNrREAJkoaeLRKQPB/FMt07Yp5jGtb35wFrL3cX X-Received: by 10.98.223.194 with SMTP id d63mr12024600pfl.17.1518447905397; 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=nj244pgdhy315uNN5B+2M2d/yZizCLBC6z5O3ePxp358QEDzJv04bEEYrbeCMqH6cH nyoQ2tLjABBbkdT1bNeQEc7SgYQX25Bu32vcPFPwmC+Wg7Y2tflTsVSGm54nApzk1r6I TjCNrb4Rh/viI6+WdfV6beGSRlT5wyuYrGhdpRwBDFas5Qv9dax2xlaOzN/tsCEB9bWn xQCXLpDaPini+sTg5PsVmKKKPmYn6OqKyoLn1/qpDM2iZR24J3tZ9KJG4g2JDmG4zKMn SPCqcl+wQ+EzR6n+j3UOXCspqBrJq50ZZ5F3ynXKij0FHvFLsOCLg17/nJ7kI09rtCEt XBQA== 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=uq420zYOnMfvrO2wtzLs9rzG1j1biw+a4pG+whAdwMA=; b=QHNiP/UjOj4SUdaNNhNwxapwSJXWPdO3sXZfymw53Yl8Oi3iqICM4e+HE2tvkOPfza KUmRz5AJ5T0A3JWX4SyT3/4F7poZyS+D+eMPxAkbcoHDlgOjwPMRFo4Xd/HM3uqW/qsE uZkXOreRXsy4MXbl+/UdDoGs5SIx2KZQMb600KBy1170MAweINosidkDDdWi5iBUOZH1 R8dBnx9zbegMWYcz2v7EoiTNrq9gPcNyicpR7BFQvOoMLK9bwStIRH/QCGM+BuwQG4hi ShJF9ThWp8tKZzkzc8XRtsMQfPpYyCquAV2/Ms9bVZcb6dknPHlPyjDLP75S08jXW05V MKjQ== 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 bj8-v6si587414plb.238.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 S935964AbeBLOn5 (ORCPT + 99 others); Mon, 12 Feb 2018 09:43:57 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:57495 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754321AbeBLOny (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 w1CEcj4j004808; Mon, 12 Feb 2018 15:43:18 +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 2g1yw6r9tg-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 12 Feb 2018 15:43:18 +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 749B038; Mon, 12 Feb 2018 14:43:17 +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 5A9E55477; Mon, 12 Feb 2018 14:43:17 +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; Mon, 12 Feb 2018 15:43:16 +0100 From: To: , , , , , CC: Subject: [PATCH v2 03/12] ARM: dts: STi: Add fake reg property for sti-display-subsystem Date: Mon, 12 Feb 2018 15:43:01 +0100 Message-ID: <1518446590-16800-4-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.49] X-ClientProxiedBy: SFHDAG2NODE1.st.com (10.75.127.4) 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 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 --- 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