Received: by 10.223.185.116 with SMTP id b49csp3600402wrg; Tue, 13 Feb 2018 04:58:34 -0800 (PST) X-Google-Smtp-Source: AH8x226gkbRj+x12AROuOJ0ls2PrjGrbPfv4bH8NwrlQwYetr8Y+e7IHob3VK+9ZV8xKfaoxbAhk X-Received: by 10.98.141.66 with SMTP id z63mr1158035pfd.165.1518526714582; Tue, 13 Feb 2018 04:58:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518526714; cv=none; d=google.com; s=arc-20160816; b=MhQVQqKI6ac79UNeebuKx6EyqhPIbC7c91osGEktnJGsDs/miIjLqsalf/heQahiLl FH1CS/9EeyQmXq1Q6kHphIHkoccy5LIUxTsXrV7OUGugIBCJLfJijlPj9YK24vN7eWcP Sc6x84TsB3UzXjfzaUTK/3by7fqmbD1xjF+PUUs4k20fp1JOlBqZGpiGFKBbLSyIene0 uS5sjmAdb89+YbBNFMpFa4R2iaNkQPNzkE/gqV/87RWs0Qf5sz7IDwnimMEtfWRydOpy HFRhZoaeGPo+8rTK4HFn2rwj0Q9sGg7KEmrUWLtEIa6sBoiIDkFOcgLQfY1e797+hU3m lJmg== 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=TXJYSpuoJ7tTd2qyZ7NYwnBehPkxyxmMXLe6dRXxUk8=; b=Y/XrW9paq0sY2MEYBxabQLh90llelUW3k9nHPFRW6+QTFyLgtY0CTjcKRVpz3FlYN9 vtERCH8uiYzrZNgwuRpPhAqLR6/dkY8POsb5KclKIr+yLG8E8R87YE2N5DxxuvMNhIvL ojgBHoCsGGFEGfqpy0p29f7Vs/9iXYDgTrN2f2wRuVa1WvijjV3PyFjm/ek6CH5JVSCt wPnRVxRqKMoXLV8NH96YxOVU+E9RATdUx69hCbu2vpECSnE32nNBVgh2PcQEsEwQ3RbO P7rfM7psX7LWho3LrSoS4g2POxO+70BGQzYYRfT1YUm4sjpf0e0nz7LXe4HKOpS8bidY 04dg== 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 x6-v6si5591794plo.104.2018.02.13.04.58.20; Tue, 13 Feb 2018 04:58:34 -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 S935274AbeBMMyr (ORCPT + 99 others); Tue, 13 Feb 2018 07:54:47 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:46691 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S935153AbeBMMyh (ORCPT ); Tue, 13 Feb 2018 07:54:37 -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 w1DCrmgT024613; 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 2g1yw6w89h-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 9FB3B3D; 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 D08C729CF; Tue, 13 Feb 2018 12:53:56 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 13 Feb 2018 13:53:56 +0100 From: To: , , , , , CC: Subject: [PATCH v3 07/11] ARM: dts: STi: Add fake reg for restart, powerdown and picophy/softreset Date: Tue, 13 Feb 2018 13:53:33 +0100 Message-ID: <1518526417-11919-8-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.44] X-ClientProxiedBy: SFHDAG1NODE1.st.com (10.75.127.1) 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 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 --- v3: _ none 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