Received: by 10.223.185.116 with SMTP id b49csp2264834wrg; Mon, 12 Feb 2018 07:04:23 -0800 (PST) X-Google-Smtp-Source: AH8x227Xfk63BoXgFjzWKsPS8TOPUrmE3pNYBzSzo8Vk/bU6cEwrB0Hp/2TeYicrBQNeiklM2wEU X-Received: by 10.98.9.138 with SMTP id 10mr1568007pfj.122.1518447863229; Mon, 12 Feb 2018 07:04:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518447863; cv=none; d=google.com; s=arc-20160816; b=LaLKth1pau2Nwm763Lc0XpI2r26XaQnjjTYBYeW1m5BU56G5R87X0pPUJuDz2CVsQt dtbwaljFBAN3j8YIcq99evmZLsOozm1G2tFG47uH7QUlX2SZNJUR58NjVriMXsLskBGz MII8MuITVOF5fst366XNtQIPvFtkXI1D+7AEDX61vhmdoCbhY4dCd/Kd2bGcK/8sJmTO iQA2KqBK5AiZHFjM1J0CDOHWZa2TX2HZeYO7YWhLjt94Agsjm6om64j5mfAqxFWtZn6r m696XZWsNKaJfUNLRyqHzUjdBDPBruzytIBn8mVqOrNSv9mTC0FU/Z92ZhJmRi5YZJf5 ChHA== 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=w1n5HcJ742I/CdeRG/kw4MpWL0U2HSU4Wv1g5amMe+U=; b=CaTH/Efb47fkNEYRuxPExg92rh+jSIFiP9hfGBoMoZkNw3ZV6kHfiKqJsMdBwv4LqK K9vncPyLXGZfLL4x3IYpOPQ/k6yBnmzyBNyjZgU1VGqoRoMZYYlPdMJs0Gm+9C8GJ5zv UysQpg8xMPiHxd/25+ecCiWw0bxsf1Xulo8HVRRtWWcMgvHATuq7OcL0dY0C2+B76Wul GDqtsFtujZcHM6NqAD8AiJHuE5sU75LGBVBPZ3nHwap3sFWBJIiy/zUoTIU97bcxqAdF Nj3ZPt49sfMiDnck678l30cVBP9v7qphiBTWgo4fJ0/JKUz/oeVzXH5Z3TEOoE1lfdM0 oM/A== 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 l4-v6si644170pln.121.2018.02.12.07.04.09; Mon, 12 Feb 2018 07:04:23 -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 S1754440AbeBLOo6 (ORCPT + 99 others); Mon, 12 Feb 2018 09:44:58 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:40231 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933843AbeBLOn4 (ORCPT ); Mon, 12 Feb 2018 09:43:56 -0500 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w1CEd0mf022497; Mon, 12 Feb 2018 15:43:21 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2g1q31smpg-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 12 Feb 2018 15:43:21 +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 E790834; Mon, 12 Feb 2018 14:43:20 +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 CF77B4EAA; Mon, 12 Feb 2018 14:43:20 +0000 (GMT) Received: from localhost (10.75.127.48) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 12 Feb 2018 15:43:20 +0100 From: To: , , , , , CC: Subject: [PATCH v2 07/12] ARM: dts: STi: Add fake reg for restart, powerdown and picophy/softreset Date: Mon, 12 Feb 2018 15:43:05 +0100 Message-ID: <1518446590-16800-8-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.48] X-ClientProxiedBy: SFHDAG4NODE3.st.com (10.75.127.12) 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 for restart, powerdown, picophyreset and softreset. 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/restart missing or empty reg/ranges property arch/arm/boot/dts/stih407-b2120.dtb: Warning (simple_bus_reg): Node /soc/powerdown-controller missing or empty reg/ranges property arch/arm/boot/dts/stih407-b2120.dtb: Warning (simple_bus_reg): Node /soc/softreset-controller missing or empty reg/ranges property arch/arm/boot/dts/stih407-b2120.dtb: Warning (simple_bus_reg): Node /soc/picophyreset-controller missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg): Node /soc/restart missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg): Node /soc/powerdown-controller missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg): Node /soc/softreset-controller missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg): Node /soc/picophyreset-controller missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg): Node /soc/restart missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg): Node /soc/powerdown-controller missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg): Node /soc/softreset-controller missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg): Node /soc/picophyreset-controller missing or empty reg/ranges property arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg): Node /soc/restart missing or empty reg/ranges property arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg): Node /soc/powerdown-controller missing or empty reg/ranges property arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg): Node /soc/softreset-controller missing or empty reg/ranges property arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg): Node /soc/picophyreset-controller 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 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 5a0bad07da9e..00a3838236d1 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -125,24 +125,28 @@ ranges; compatible = "simple-bus"; - restart { + restart: restart-controller@0 { compatible = "st,stih407-restart"; + reg = <0 0>; st,syscfg = <&syscfg_sbc_reg>; status = "okay"; }; - powerdown: powerdown-controller { + powerdown: powerdown-controller@0 { compatible = "st,stih407-powerdown"; + reg = <0 0>; #reset-cells = <1>; }; - softreset: softreset-controller { + softreset: softreset-controller@0 { compatible = "st,stih407-softreset"; + reg = <0 0>; #reset-cells = <1>; }; - picophyreset: picophyreset-controller { + picophyreset: picophyreset-controller@0 { compatible = "st,stih407-picophyreset"; + reg = <0 0>; #reset-cells = <1>; }; -- 1.9.1