Received: by 10.223.185.116 with SMTP id b49csp2263856wrg; Mon, 12 Feb 2018 07:03:39 -0800 (PST) X-Google-Smtp-Source: AH8x2278mvs4oa/Mh+zbNB8LpOygOOQ8eaXA01rBbwBfXLOXwxBHX3GBJj/s6zHjU3SNfYKrK6La X-Received: by 2002:a17:902:a5c5:: with SMTP id t5-v6mr11167416plq.160.1518447819207; Mon, 12 Feb 2018 07:03:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518447819; cv=none; d=google.com; s=arc-20160816; b=qdm++nWTzp1XPj22Ke0rIQfJSxuT8N0Ub4YTTX++9qphf9i89fb7x3wfGuvu8WS0T5 ZdtHnhFLSn2V/qm+VMmrExKVGIEnK2TzWDajjiTIdyTijn0W16D70mHNBHTEJQ4l2/iI 2IwvrDxWKYVbHl93mBYxLDV7PL/OeVUNJh3UVymnEjTCGX6zj0eS7Jugw+Wv+V8uBfPv UbHufdo9glWL6HmdkOwhl5aawX5HZTtXDiPBZ4N3K6KohSCig+bR1unRVxT8yOrVPwcR 90SFGZ31AHp0nYWJV7GiFwouBWtZxMzPbYf4exFQd/uXO7WZ8sL5+4NxanFMPIi2Nl6n DzkQ== 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=JDV349JQZGU5S3NYnygnijEe1WIQZFiKnaW78tHfUyI=; b=ZAmIV7A+uFZjuY1cjuxMDo5wWsknDnkL4VDmTv48yjilJnKLDGKqaLxNHpkzPZJzlv c/5YF9z9Bf7k2XJdEbaXl4FQRPA2D0fvtsgM551ZReSRPPX5YvgI1HWHhE3hAmtVeXJy +U536ki9Of1PGVqk0eAySp0I+b53gKEK/XI74K4yxOVHkz+9RbciODuJKEYfBaNqmQkw W25YyZVIr2kaJhF17ejOX+316EfiZV3TL2rMpgke95qb+ZS4DiGj5IZhkzgcD9rRspfV B1CCmeNQhagcovjOIXfylvn9IdJlP6HSW4aaYhJyDu0LfNL5fAqisT6XoTJtvaqWG7UV vUgQ== 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 c16si71240pgv.741.2018.02.12.07.03.14; Mon, 12 Feb 2018 07:03:39 -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 S1754369AbeBLOoF (ORCPT + 99 others); Mon, 12 Feb 2018 09:44:05 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:31405 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754354AbeBLOoA (ORCPT ); Mon, 12 Feb 2018 09:44:00 -0500 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w1CEdQlp004930; Mon, 12 Feb 2018 15:43:24 +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 2g1qcvhk6w-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 12 Feb 2018 15:43:24 +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 EB2D634; Mon, 12 Feb 2018 14:43:23 +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 D4C0F4EAA; Mon, 12 Feb 2018 14:43:23 +0000 (GMT) Received: from localhost (10.75.127.47) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 12 Feb 2018 15:43:23 +0100 From: To: , , , , , CC: Subject: [PATCH v2 11/12] ARM: dts: STi: Move clk_sysin clock ouside soc node Date: Mon, 12 Feb 2018 15:43:09 +0100 Message-ID: <1518446590-16800-12-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.47] X-ClientProxiedBy: SFHDAG6NODE2.st.com (10.75.127.17) 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 clk_sysin node describes the external oscillator, there is no reason to put it into soc node. This allows to fix the following warnings when compiling dtb with W=1 option : arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg): Node /clocks/clk-sysin missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg): Node /clocks/clk-sysin missing or empty reg/ranges property arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg): Node /clocks/clk-sysin missing or empty reg/ranges property Signed-off-by: Patrice Chotard --- v2: _ move clk_sys_in outside soc node arch/arm/boot/dts/stih407-clock.dtsi | 18 +++++++++--------- arch/arm/boot/dts/stih410-clock.dtsi | 20 ++++++++++---------- arch/arm/boot/dts/stih418-clock.dtsi | 20 ++++++++++---------- 3 files changed, 29 insertions(+), 29 deletions(-) diff --git a/arch/arm/boot/dts/stih407-clock.dtsi b/arch/arm/boot/dts/stih407-clock.dtsi index 1bba47e06ebe..f4e21e2234c9 100644 --- a/arch/arm/boot/dts/stih407-clock.dtsi +++ b/arch/arm/boot/dts/stih407-clock.dtsi @@ -7,21 +7,21 @@ */ #include / { + /* + * Fixed 30MHz oscillator inputs to SoC + */ + clk_sysin: clk-sysin { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <30000000>; + }; + clocks { #address-cells = <1>; #size-cells = <1>; ranges; /* - * Fixed 30MHz oscillator inputs to SoC - */ - clk_sysin: clk-sysin { - #clock-cells = <0>; - compatible = "fixed-clock"; - clock-frequency = <30000000>; - }; - - /* * ARM Peripheral clock for timers */ arm_periph_clk: clk-m-a9-periphs@0 { diff --git a/arch/arm/boot/dts/stih410-clock.dtsi b/arch/arm/boot/dts/stih410-clock.dtsi index 41fb1a910d49..9481f8769e8a 100644 --- a/arch/arm/boot/dts/stih410-clock.dtsi +++ b/arch/arm/boot/dts/stih410-clock.dtsi @@ -7,6 +7,16 @@ */ #include / { + /* + * Fixed 30MHz oscillator inputs to SoC + */ + clk_sysin: clk-sysin { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <30000000>; + clock-output-names = "CLK_SYSIN"; + }; + clocks { #address-cells = <1>; #size-cells = <1>; @@ -15,16 +25,6 @@ compatible = "st,stih410-clk", "simple-bus"; /* - * Fixed 30MHz oscillator inputs to SoC - */ - clk_sysin: clk-sysin { - #clock-cells = <0>; - compatible = "fixed-clock"; - clock-frequency = <30000000>; - clock-output-names = "CLK_SYSIN"; - }; - - /* * ARM Peripheral clock for timers */ arm_periph_clk: clk-m-a9-periphs@0 { diff --git a/arch/arm/boot/dts/stih418-clock.dtsi b/arch/arm/boot/dts/stih418-clock.dtsi index 50413eabe73a..9e3790198f51 100644 --- a/arch/arm/boot/dts/stih418-clock.dtsi +++ b/arch/arm/boot/dts/stih418-clock.dtsi @@ -7,6 +7,16 @@ */ #include / { + /* + * Fixed 30MHz oscillator inputs to SoC + */ + clk_sysin: clk-sysin { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <30000000>; + clock-output-names = "CLK_SYSIN"; + }; + clocks { #address-cells = <1>; #size-cells = <1>; @@ -15,16 +25,6 @@ compatible = "st,stih418-clk", "simple-bus"; /* - * Fixed 30MHz oscillator inputs to SoC - */ - clk_sysin: clk-sysin { - #clock-cells = <0>; - compatible = "fixed-clock"; - clock-frequency = <30000000>; - clock-output-names = "CLK_SYSIN"; - }; - - /* * ARM Peripheral clock for timers */ arm_periph_clk: clk-m-a9-periphs@0 { -- 1.9.1