linux-aspeed.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: dts: aspeed: Fix SCU IRQ controller node addresses
@ 2020-02-04 22:49 Eddie James
  2020-02-04 22:49 ` [PATCH 1/2] ARM: dts: aspeed: ast2500: Fix SCU IRQ controller node address Eddie James
  2020-02-04 22:49 ` [PATCH 2/2] ARM: dts: aspeed: ast2600: Fix SCU IRQ controller node addresses Eddie James
  0 siblings, 2 replies; 4+ messages in thread
From: Eddie James @ 2020-02-04 22:49 UTC (permalink / raw)
  To: linux-aspeed

Warnings were introduced due to unit address on nodes that had no reg property.
Drop the unit addresses from the nodes.

Eddie James (2):
  ARM: dts: aspeed: ast2500: Fix SCU IRQ controller node address
  ARM: dts: aspeed: ast2600: Fix SCU IRQ controller node addresses

 arch/arm/boot/dts/aspeed-g5.dtsi | 2 +-
 arch/arm/boot/dts/aspeed-g6.dtsi | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.24.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] ARM: dts: aspeed: ast2500: Fix SCU IRQ controller node address
  2020-02-04 22:49 [PATCH 0/2] ARM: dts: aspeed: Fix SCU IRQ controller node addresses Eddie James
@ 2020-02-04 22:49 ` Eddie James
  2020-02-10  2:28   ` Joel Stanley
  2020-02-04 22:49 ` [PATCH 2/2] ARM: dts: aspeed: ast2600: Fix SCU IRQ controller node addresses Eddie James
  1 sibling, 1 reply; 4+ messages in thread
From: Eddie James @ 2020-02-04 22:49 UTC (permalink / raw)
  To: linux-aspeed

The node was defined with a unit address but had no reg property,
resulting in a warning. The address is unecessary, so drop it.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
---
 arch/arm/boot/dts/aspeed-g5.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
index 569f9d74c696..aeee18fc1e7e 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -222,7 +222,7 @@ syscon: syscon at 1e6e2000 {
 				#clock-cells = <1>;
 				#reset-cells = <1>;
 
-				scu_ic: interrupt-controller at 18 {
+				scu_ic: interrupt-controller {
 					#interrupt-cells = <1>;
 					compatible = "aspeed,ast2500-scu-ic";
 					interrupts = <21>;
-- 
2.24.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: dts: aspeed: ast2600: Fix SCU IRQ controller node addresses
  2020-02-04 22:49 [PATCH 0/2] ARM: dts: aspeed: Fix SCU IRQ controller node addresses Eddie James
  2020-02-04 22:49 ` [PATCH 1/2] ARM: dts: aspeed: ast2500: Fix SCU IRQ controller node address Eddie James
@ 2020-02-04 22:49 ` Eddie James
  1 sibling, 0 replies; 4+ messages in thread
From: Eddie James @ 2020-02-04 22:49 UTC (permalink / raw)
  To: linux-aspeed

The nodes were defined with a unit address but had no reg property,
resulting in a warning. The address is unecessary, so drop it.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
---
 arch/arm/boot/dts/aspeed-g6.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi
index 82a3cd10cc2b..6f6a2d0217dc 100644
--- a/arch/arm/boot/dts/aspeed-g6.dtsi
+++ b/arch/arm/boot/dts/aspeed-g6.dtsi
@@ -269,14 +269,14 @@ smp-memram at 180 {
 					reg = <0x180 0x40>;
 				};
 
-				scu_ic0: interrupt-controller at 0 {
+				scu_ic0: interrupt-controller {
 					#interrupt-cells = <1>;
 					compatible = "aspeed,ast2600-scu-ic0";
 					interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
 					interrupt-controller;
 				};
 
-				scu_ic1: interrupt-controller at 1 {
+				scu_ic1: interrupt-controller {
 					#interrupt-cells = <1>;
 					compatible = "aspeed,ast2600-scu-ic1";
 					interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
-- 
2.24.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 1/2] ARM: dts: aspeed: ast2500: Fix SCU IRQ controller node address
  2020-02-04 22:49 ` [PATCH 1/2] ARM: dts: aspeed: ast2500: Fix SCU IRQ controller node address Eddie James
@ 2020-02-10  2:28   ` Joel Stanley
  0 siblings, 0 replies; 4+ messages in thread
From: Joel Stanley @ 2020-02-10  2:28 UTC (permalink / raw)
  To: linux-aspeed

On Tue, 4 Feb 2020 at 22:49, Eddie James <eajames@linux.ibm.com> wrote:
>
> The node was defined with a unit address but had no reg property,
> resulting in a warning. The address is unecessary, so drop it.

Please add a reg property instead of removing the unit address.

The hardware still lives at that address, even if your driver doesn't
currently use that information.

Cheers,

Joel

>
> Signed-off-by: Eddie James <eajames@linux.ibm.com>
> ---
>  arch/arm/boot/dts/aspeed-g5.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
> index 569f9d74c696..aeee18fc1e7e 100644
> --- a/arch/arm/boot/dts/aspeed-g5.dtsi
> +++ b/arch/arm/boot/dts/aspeed-g5.dtsi
> @@ -222,7 +222,7 @@ syscon: syscon at 1e6e2000 {
>                                 #clock-cells = <1>;
>                                 #reset-cells = <1>;
>
> -                               scu_ic: interrupt-controller at 18 {
> +                               scu_ic: interrupt-controller {
>                                         #interrupt-cells = <1>;
>                                         compatible = "aspeed,ast2500-scu-ic";
>                                         interrupts = <21>;
> --
> 2.24.0
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-02-10  2:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-04 22:49 [PATCH 0/2] ARM: dts: aspeed: Fix SCU IRQ controller node addresses Eddie James
2020-02-04 22:49 ` [PATCH 1/2] ARM: dts: aspeed: ast2500: Fix SCU IRQ controller node address Eddie James
2020-02-10  2:28   ` Joel Stanley
2020-02-04 22:49 ` [PATCH 2/2] ARM: dts: aspeed: ast2600: Fix SCU IRQ controller node addresses Eddie James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).