From patchwork Mon Feb 12 14:43:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 10213277 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8266760236 for ; Mon, 12 Feb 2018 15:16:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 715EA28C75 for ; Mon, 12 Feb 2018 15:16:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6539B28C9A; Mon, 12 Feb 2018 15:16:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 79D0A28C75 for ; Mon, 12 Feb 2018 15:16:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DEWEszvEGC4+T4B5ZilmVkFeq7FnDswcnfz7C3G/t4I=; b=s+W8MtgrC/Xm8GqgdMoN3Se3b 03ugbiqvyhfOQMildbfIO3dgMd7jkirtMCIF2QLoET3pdeH54QKuHdRWw/z8F9QtiSYqpQNZWJCXP sMqztjm/5dqG4llFxjLA5sUcuOyj3ubt3Dxe/M4bWMM3iQpdTzLXpPETW0k9pWuXgy3CGNeA+C0Wt iZ2fIRBauKulN/j+EwuVxQkfm91bsbqmnJRNrJLuklSwkqhAdErSiww7h5mOw8D8+LimN1+fJ5pF/ SXlyLJsA1yYAJyTwX1qskMw0bEUvrwh+5lbA3cxnZDzYfRSApO/8rH6ks97op6xVJHYu8tUZjkwOt 6svraRWeg==; Received: from [198.137.202.133] (helo=bombadil.infradead.org) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elFpj-000264-Pu for patchwork-linux-arm@patchwork.kernel.org; Mon, 12 Feb 2018 15:15:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DEWEszvEGC4+T4B5ZilmVkFeq7FnDswcnfz7C3G/t4I=; b=SsvjC3MEU/bGuJ /nBALBTdzT+kh8b4s5mu6Be2rvJfig66MOCEErhONJBXdlKCpSo1Jgi1wwtq0W/6MALk9R6tbsLzs 5hi1wLl6N8ZBOS3J4e2RQW0iN5hfQRqAl0ETYAppmRsMKMnHQuQh8+BZJSxZtBOtMn5OlmG8N3A7+ qLgZvyP8tdGlDke82gIS+EP4SECIwSEjIE8+cj3fseyzp+uwqvJvmqXp5Uc1Y7wtwcHlaWkCyamwJ X/7F0nOGQzdcQ6I9Tpw3W6yHJBaXQ85DRSidKACumiPDdeCV5Y2YSdug+3/dYsqQS0JbL9NA6sOuR TqNIZdOsx07xMkKVb9/Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1elFMG-0003lu-UO; Mon, 12 Feb 2018 14:45:28 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elFKf-0007U8-DQ for linux-arm-kernel@lists.infradead.org; Mon, 12 Feb 2018 14:43:53 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w1CEdKrv030184; Mon, 12 Feb 2018 15:43:23 +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 2g22ryqrnh-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 12 Feb 2018 15:43:23 +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 375C738; 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 1B0045477; 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:22 +0100 From: To: , , , , , Subject: [PATCH v2 10/12] ARM: dts: STi: Add fake reg property for clocks Date: Mon, 12 Feb 2018 15:43:08 +0100 Message-ID: <1518446590-16800-11-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 X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG4NODE2.st.com (10.75.127.11) 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 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: patrice.chotard@st.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Patrice Chotard For all clock's element inside SoC, add a fake reg property, 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-m-a9-periphs missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg): Node /clocks/clk-m-a9-ext2f-div2s missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg): Node /clocks/clk-tmdsout-hdmi missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg): Node /clocks/clk-m-a9-periphs missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg): Node /clocks/clk-m-a9-ext2f-div2s missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2260.dtb: Warning (simple_bus_reg): Node /clocks/clk-tmdsout-hdmi missing or empty reg/ranges property arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg): Node /clocks/clk-m-a9-periphs missing or empty reg/ranges property arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg): Node /clocks/clk-m-a9-ext2f-div2s missing or empty reg/ranges property arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg): Node /clocks/clk-tmdsout-hdmi 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-clock.dtsi | 9 ++++++--- arch/arm/boot/dts/stih410-clock.dtsi | 9 ++++++--- arch/arm/boot/dts/stih418-clock.dtsi | 9 ++++++--- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/stih407-clock.dtsi b/arch/arm/boot/dts/stih407-clock.dtsi index b882dcf3a649..1bba47e06ebe 100644 --- a/arch/arm/boot/dts/stih407-clock.dtsi +++ b/arch/arm/boot/dts/stih407-clock.dtsi @@ -24,9 +24,10 @@ /* * ARM Peripheral clock for timers */ - arm_periph_clk: clk-m-a9-periphs { + arm_periph_clk: clk-m-a9-periphs@0 { #clock-cells = <0>; compatible = "fixed-factor-clock"; + reg = <0 0>; clocks = <&clk_m_a9>; clock-div = <2>; @@ -67,9 +68,10 @@ /* * ARM Peripheral clock for timers */ - clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s { + clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s@0 { #clock-cells = <0>; compatible = "fixed-factor-clock"; + reg = <0 0>; clocks = <&clk_s_c0_flexgen 13>; @@ -254,9 +256,10 @@ "clk-s-d2-fs0-ch3"; }; - clk_tmdsout_hdmi: clk-tmdsout-hdmi { + clk_tmdsout_hdmi: clk-tmdsout-hdmi@0 { #clock-cells = <0>; compatible = "fixed-clock"; + reg = <0 0>; clock-frequency = <0>; }; diff --git a/arch/arm/boot/dts/stih410-clock.dtsi b/arch/arm/boot/dts/stih410-clock.dtsi index 4df1b2187aa2..41fb1a910d49 100644 --- a/arch/arm/boot/dts/stih410-clock.dtsi +++ b/arch/arm/boot/dts/stih410-clock.dtsi @@ -27,9 +27,10 @@ /* * ARM Peripheral clock for timers */ - arm_periph_clk: clk-m-a9-periphs { + arm_periph_clk: clk-m-a9-periphs@0 { #clock-cells = <0>; compatible = "fixed-factor-clock"; + reg = <0 0>; clocks = <&clk_m_a9>; clock-div = <2>; clock-mult = <1>; @@ -69,9 +70,10 @@ /* * ARM Peripheral clock for timers */ - clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s { + clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s@0 { #clock-cells = <0>; compatible = "fixed-factor-clock"; + reg = <0 0>; clocks = <&clk_s_c0_flexgen 13>; @@ -266,9 +268,10 @@ "clk-s-d2-fs0-ch3"; }; - clk_tmdsout_hdmi: clk-tmdsout-hdmi { + clk_tmdsout_hdmi: clk-tmdsout-hdmi@0 { #clock-cells = <0>; compatible = "fixed-clock"; + reg = <0 0>; clock-frequency = <0>; }; diff --git a/arch/arm/boot/dts/stih418-clock.dtsi b/arch/arm/boot/dts/stih418-clock.dtsi index e68bf28bd038..50413eabe73a 100644 --- a/arch/arm/boot/dts/stih418-clock.dtsi +++ b/arch/arm/boot/dts/stih418-clock.dtsi @@ -27,9 +27,10 @@ /* * ARM Peripheral clock for timers */ - arm_periph_clk: clk-m-a9-periphs { + arm_periph_clk: clk-m-a9-periphs@0 { #clock-cells = <0>; compatible = "fixed-factor-clock"; + reg = <0 0>; clocks = <&clk_m_a9>; clock-div = <2>; clock-mult = <1>; @@ -69,9 +70,10 @@ /* * ARM Peripheral clock for timers */ - clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s { + clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s@0 { #clock-cells = <0>; compatible = "fixed-factor-clock"; + reg = <0 0>; clocks = <&clk_s_c0_flexgen 13>; @@ -259,9 +261,10 @@ "clk-s-d2-fs0-ch3"; }; - clk_tmdsout_hdmi: clk-tmdsout-hdmi { + clk_tmdsout_hdmi: clk-tmdsout-hdmi@0 { #clock-cells = <0>; compatible = "fixed-clock"; + reg = <0 0>; clock-frequency = <0>; };