From: <patrice.chotard@st.com>
To: <robh+dt@kernel.org>, <mark.rutland@arm.com>,
<linux@armlinux.org.uk>, <linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>
Cc: <patrice.chotard@st.com>
Subject: [PATCH v2 10/12] ARM: dts: STi: Add fake reg property for clocks
Date: Mon, 12 Feb 2018 15:43:08 +0100 [thread overview]
Message-ID: <1518446590-16800-11-git-send-email-patrice.chotard@st.com> (raw)
In-Reply-To: <1518446590-16800-1-git-send-email-patrice.chotard@st.com>
From: Patrice Chotard <patrice.chotard@st.com>
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 <patrice.chotard@st.com>
---
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>;
};
--
1.9.1
next prev parent reply other threads:[~2018-02-12 14:46 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-12 14:42 [PATCH v2 00/12] ARM: dts: STi: Fix DT dtc warnings patrice.chotard
2018-02-12 14:42 ` [PATCH v2 01/12] ARM: dts: STi: Fix bindings notation patrice.chotard
2018-02-12 15:19 ` Rob Herring
2018-02-12 14:43 ` [PATCH v2 02/12] ARM: dts: STi: Move leds node outside soc node patrice.chotard
2018-02-12 14:43 ` [PATCH v2 03/12] ARM: dts: STi: Add fake reg property for sti-display-subsystem patrice.chotard
2018-02-12 14:43 ` [PATCH v2 04/12] ARM: dts: STi: Add fake reg property for miphy28lp_phy patrice.chotard
2018-02-12 14:43 ` [PATCH v2 05/12] ARM: dts: STi: Add fake reg property for irq-syscfg patrice.chotard
2018-02-12 14:43 ` [PATCH v2 06/12] ARM: dts: STi: Add fake reg property for remote processors patrice.chotard
2018-02-12 14:43 ` [PATCH v2 07/12] ARM: dts: STi: Add fake reg for restart, powerdown and picophy/softreset patrice.chotard
2018-02-12 14:43 ` [PATCH v2 08/12] ARM: dts: STi: Add fake reg property for usb2_picophyX nodes patrice.chotard
2018-02-12 14:43 ` [PATCH v2 09/12] ARM: dts: STi: Add fake reg property for sound related nodes patrice.chotard
2018-02-12 15:40 ` Rob Herring
2018-02-13 12:54 ` Patrice CHOTARD
2018-02-12 14:43 ` patrice.chotard [this message]
2018-02-12 15:22 ` [PATCH v2 10/12] ARM: dts: STi: Add fake reg property for clocks Rob Herring
2018-02-13 12:58 ` Patrice CHOTARD
2018-02-12 14:43 ` [PATCH v2 11/12] ARM: dts: STi: Move clk_sysin clock ouside soc node patrice.chotard
2018-02-12 14:43 ` [PATCH v2 12/12] ARM: dts: STi: Remove unused clk_ext2f_a9 clock patrice.chotard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1518446590-16800-11-git-send-email-patrice.chotard@st.com \
--to=patrice.chotard@st.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®