All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms+renesas@verge.net.au>
To: linux-renesas-soc@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
	Magnus Damm <magnus.damm@gmail.com>,
	Simon Horman <horms+renesas@verge.net.au>
Subject: [PATCH 18/37] ARM: dts: r8a7792: move timer node out of bus
Date: Fri, 22 Dec 2017 11:29:56 +0100	[thread overview]
Message-ID: <3da25909eadbc5ae8dcdec77b19dd1c893d64813.1513938145.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1513938145.git.horms+renesas@verge.net.au>

The timer node does not have any register properties and thus shouldn't be
placed on the bus.

This problem is flagged by the compiler as follows:
$ make dtbs W=1
...
  DTC     arch/arm/boot/dts/r8a7792-wheat.dtb
arch/arm/boot/dts/r8a7792-blanche.dtb: Warning (simple_bus_reg): Node /soc/timer missing or empty reg/ranges property
arch/arm/boot/dts/r8a7792-wheat.dtb: Warning (simple_bus_reg): Node /soc/timer missing or empty reg/ranges property

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/boot/dts/r8a7792.dtsi | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7792.dtsi b/arch/arm/boot/dts/r8a7792.dtsi
index b0013e5fcf47..fa3f848dc368 100644
--- a/arch/arm/boot/dts/r8a7792.dtsi
+++ b/arch/arm/boot/dts/r8a7792.dtsi
@@ -137,18 +137,6 @@
 			resets = <&cpg 407>;
 		};
 
-		timer {
-			compatible = "arm,armv7-timer";
-			interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
-				      IRQ_TYPE_LEVEL_LOW)>,
-				     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) |
-				      IRQ_TYPE_LEVEL_LOW)>,
-				     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) |
-				      IRQ_TYPE_LEVEL_LOW)>,
-				     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) |
-				      IRQ_TYPE_LEVEL_LOW)>;
-		};
-
 		rst: reset-controller@e6160000 {
 			compatible = "renesas,r8a7792-rst";
 			reg = <0 0xe6160000 0 0x0100>;
@@ -856,4 +844,12 @@
 			#power-domain-cells = <0>;
 		};
 	};
+
+	timer {
+		compatible = "arm,armv7-timer";
+		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
+				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
+				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
+				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
+	};
 };
-- 
2.11.0

WARNING: multiple messages have this Message-ID (diff)
From: horms+renesas@verge.net.au (Simon Horman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 18/37] ARM: dts: r8a7792: move timer node out of bus
Date: Fri, 22 Dec 2017 11:29:56 +0100	[thread overview]
Message-ID: <3da25909eadbc5ae8dcdec77b19dd1c893d64813.1513938145.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1513938145.git.horms+renesas@verge.net.au>

The timer node does not have any register properties and thus shouldn't be
placed on the bus.

This problem is flagged by the compiler as follows:
$ make dtbs W=1
...
  DTC     arch/arm/boot/dts/r8a7792-wheat.dtb
arch/arm/boot/dts/r8a7792-blanche.dtb: Warning (simple_bus_reg): Node /soc/timer missing or empty reg/ranges property
arch/arm/boot/dts/r8a7792-wheat.dtb: Warning (simple_bus_reg): Node /soc/timer missing or empty reg/ranges property

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/boot/dts/r8a7792.dtsi | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7792.dtsi b/arch/arm/boot/dts/r8a7792.dtsi
index b0013e5fcf47..fa3f848dc368 100644
--- a/arch/arm/boot/dts/r8a7792.dtsi
+++ b/arch/arm/boot/dts/r8a7792.dtsi
@@ -137,18 +137,6 @@
 			resets = <&cpg 407>;
 		};
 
-		timer {
-			compatible = "arm,armv7-timer";
-			interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
-				      IRQ_TYPE_LEVEL_LOW)>,
-				     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) |
-				      IRQ_TYPE_LEVEL_LOW)>,
-				     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) |
-				      IRQ_TYPE_LEVEL_LOW)>,
-				     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) |
-				      IRQ_TYPE_LEVEL_LOW)>;
-		};
-
 		rst: reset-controller at e6160000 {
 			compatible = "renesas,r8a7792-rst";
 			reg = <0 0xe6160000 0 0x0100>;
@@ -856,4 +844,12 @@
 			#power-domain-cells = <0>;
 		};
 	};
+
+	timer {
+		compatible = "arm,armv7-timer";
+		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
+				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
+				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
+				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
+	};
 };
-- 
2.11.0

  parent reply	other threads:[~2017-12-22 10:30 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-22 10:30 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.16 Simon Horman
2017-12-22 10:30 ` Simon Horman
2017-12-22 10:29 ` [PATCH 01/37] ARM: dts: r8a7745: Add APMU node and second CPU core Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 02/37] ARM: dts: r8a7743: Add audio clocks Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 03/37] ARM: dts: r8a7743: Add audio DMAC support Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 04/37] ARM: dts: r8a7743: Add sound support Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 05/37] ARM: dts: r8a7790: Correct critical CPU temperature Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 06/37] ARM: dts: r8a7791: " Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 07/37] ARM: dts: r8a7793: " Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 08/37] ARM: dts: r8a7743: Add PWM SoC support Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 09/37] ARM: dts: r8a7743: Add TPU support Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 10/37] ARM: dts: r8a7743: Add thermal device to DT Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 11/37] ARM: dts: r8a7745: Add PWM SoC support Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 12/37] ARM: dts: r8a7745: Add TPU support Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 13/37] ARM: dts: r8a7743: Add CMT SoC specific support Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 14/37] ARM: dts: r8a7745: " Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 15/37] ARM: dts: r8a7745: sort root sub-nodes alphabetically Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 16/37] ARM: dts: r8a7745: move timer node out of bus Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 17/37] ARM: dts: r8a7792: sort root sub-nodes alphabetically Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` Simon Horman [this message]
2017-12-22 10:29   ` [PATCH 18/37] ARM: dts: r8a7792: move timer node out of bus Simon Horman
2017-12-22 10:29 ` [PATCH 19/37] ARM: dts: iwg20d-q7-common: Enable SGTL5000 audio codec Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 20/37] ARM: dts: iwg20d-q7-common: Sound PIO support Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 21/37] ARM: dts: iwg20d-q7-common: Sound DMA support on DTS Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:30 ` [PATCH 22/37] ARM: dts: iwg20d-q7-common: Sound DMA support via BUSIF " Simon Horman
2017-12-22 10:30   ` Simon Horman
2017-12-22 10:30 ` [PATCH 23/37] ARM: dts: iwg20d-q7-common: Sound DMA support via SRC " Simon Horman
2017-12-22 10:30   ` Simon Horman
2017-12-22 10:30 ` [PATCH 24/37] ARM: dts: iwg20d-q7-common: Sound DMA support via DVC " Simon Horman
2017-12-22 10:30   ` Simon Horman
2017-12-22 10:30 ` [PATCH 25/37] ARM: dts: r8a7743: sort root sub-nodes alphabetically Simon Horman
2017-12-22 10:30   ` Simon Horman
2017-12-22 10:30 ` [PATCH 26/37] ARM: dts: r8a7743: move timer and thermal-zones nodes out of bus Simon Horman
2017-12-22 10:30   ` Simon Horman
2017-12-22 10:30 ` [PATCH 27/37] ARM: dts: r8a7740: Correct TPU register block size Simon Horman
2017-12-22 10:30   ` Simon Horman
2017-12-22 10:30 ` [PATCH 28/37] ARM: dts: r8a7745: Add audio clocks Simon Horman
2017-12-22 10:30   ` Simon Horman
2017-12-22 10:30 ` [PATCH 29/37] ARM: dts: r8a7745: Add audio DMAC support Simon Horman
2017-12-22 10:30   ` Simon Horman
2017-12-22 10:30 ` [PATCH 30/37] ARM: dts: r8a7745: Add sound support Simon Horman
2017-12-22 10:30   ` Simon Horman
2017-12-22 10:30 ` [PATCH 31/37] ARM: dts: iwg22d-sodimm: Enable SGTL5000 audio codec Simon Horman
2017-12-22 10:30   ` Simon Horman
2017-12-22 10:30 ` [PATCH 32/37] ARM: dts: iwg22d-sodimm: Sound PIO support Simon Horman
2017-12-22 10:30   ` Simon Horman
2017-12-22 10:30 ` [PATCH 33/37] ARM: dts: iwg22d-sodimm: Sound DMA support on DTS Simon Horman
2017-12-22 10:30   ` Simon Horman
2017-12-22 10:30 ` [PATCH 34/37] ARM: dts: iwg22d-sodimm: Sound DMA support via BUSIF " Simon Horman
2017-12-22 10:30   ` Simon Horman
2017-12-22 10:30 ` [PATCH 35/37] ARM: dts: iwg22d-sodimm: Sound DMA support via SRC " Simon Horman
2017-12-22 10:30   ` Simon Horman
2017-12-22 10:30 ` [PATCH 36/37] ARM: dts: iwg22d-sodimm: Sound DMA support via DVC " Simon Horman
2017-12-22 10:30   ` Simon Horman
2017-12-22 10:30 ` [PATCH 37/37] ARM: dts: r8a7745: Add missing clock for secondary CA7 CPU core Simon Horman
2017-12-22 10:30   ` Simon Horman
2018-01-05  6:51 ` [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.16 Olof Johansson
2018-01-05  6:51   ` Olof Johansson

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=3da25909eadbc5ae8dcdec77b19dd1c893d64813.1513938145.git.horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.