* [PATCH] ARM: mvebu: fix ordering in Armada 370 .dtsi
@ 2014-11-14 19:36 Uwe Kleine-König
[not found] ` <1415993776-3469-1-git-send-email-u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Uwe Kleine-König @ 2014-11-14 19:36 UTC (permalink / raw)
To: Jason Cooper, Andrew Lunn, Gregory Clement, Sebastian Hesselbarth
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA, kernel-bIcnvbaLZ9MEGnE8C9+IrQ
Signed-off-by: Uwe Kleine-König <u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
---
arch/arm/boot/dts/armada-370.dtsi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi
index 6b3c23b1e138..7513410f7b89 100644
--- a/arch/arm/boot/dts/armada-370.dtsi
+++ b/arch/arm/boot/dts/armada-370.dtsi
@@ -106,11 +106,6 @@
reg = <0x11100 0x20>;
};
- system-controller@18200 {
- compatible = "marvell,armada-370-xp-system-controller";
- reg = <0x18200 0x100>;
- };
-
pinctrl {
compatible = "marvell,mv88f6710-pinctrl";
reg = <0x18000 0x38>;
@@ -205,6 +200,11 @@
interrupts = <91>;
};
+ system-controller@18200 {
+ compatible = "marvell,armada-370-xp-system-controller";
+ reg = <0x18200 0x100>;
+ };
+
gateclk: clock-gating-control@18220 {
compatible = "marvell,armada-370-gating-clock";
reg = <0x18220 0x4>;
--
2.1.3
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] ARM: mvebu: fix ordering in Armada 370 .dtsi
[not found] ` <1415993776-3469-1-git-send-email-u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2014-11-14 20:22 ` Andrew Lunn
[not found] ` <20141114202200.GI2001-g2DYL2Zd6BY@public.gmane.org>
2014-11-14 20:43 ` [PATCH v2] " Uwe Kleine-König
1 sibling, 1 reply; 6+ messages in thread
From: Andrew Lunn @ 2014-11-14 20:22 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Jason Cooper, Andrew Lunn, Gregory Clement, Sebastian Hesselbarth,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA, kernel-bIcnvbaLZ9MEGnE8C9+IrQ
On Fri, Nov 14, 2014 at 08:36:16PM +0100, Uwe Kleine-König wrote:
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
It is normal to have something in the changelog, even if it is the
same as the subject said differently.
Here you could say something like:
Commit a095b1c78a35f05755 "ARM: mvebu: sort DT nodes by address"
missed placing the system-controller in the correct order.
> ---
> arch/arm/boot/dts/armada-370.dtsi | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi
> index 6b3c23b1e138..7513410f7b89 100644
> --- a/arch/arm/boot/dts/armada-370.dtsi
> +++ b/arch/arm/boot/dts/armada-370.dtsi
> @@ -106,11 +106,6 @@
> reg = <0x11100 0x20>;
> };
>
> - system-controller@18200 {
> - compatible = "marvell,armada-370-xp-system-controller";
> - reg = <0x18200 0x100>;
> - };
> -
> pinctrl {
> compatible = "marvell,mv88f6710-pinctrl";
> reg = <0x18000 0x38>;
> @@ -205,6 +200,11 @@
> interrupts = <91>;
> };
>
> + system-controller@18200 {
> + compatible = "marvell,armada-370-xp-system-controller";
> + reg = <0x18200 0x100>;
> + };
> +
> gateclk: clock-gating-control@18220 {
> compatible = "marvell,armada-370-gating-clock";
> reg = <0x18220 0x4>;
Humm.
Now we have things in the right order, we see that the
system-controller and the clock-gating-controller overlap.
I know the HW engineers have gone a bit crazy around here, so maybe we
have no choice?
Andrew
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2] ARM: mvebu: fix ordering in Armada 370 .dtsi
[not found] ` <1415993776-3469-1-git-send-email-u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-14 20:22 ` Andrew Lunn
@ 2014-11-14 20:43 ` Uwe Kleine-König
[not found] ` <20141114204333.GS27002-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
1 sibling, 1 reply; 6+ messages in thread
From: Uwe Kleine-König @ 2014-11-14 20:43 UTC (permalink / raw)
To: Jason Cooper, Andrew Lunn, Gregory Clement, Sebastian Hesselbarth
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, kernel-bIcnvbaLZ9MEGnE8C9+IrQ,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Commit a095b1c78a35 ("ARM: mvebu: sort DT nodes by address")
missed placing the system-controller in the correct order.
Fixes: a095b1c78a35 ("ARM: mvebu: sort DT nodes by address")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
---
Hello Andrew,
I guess your question concerning overlapping ranges doesn't stop this
patch from being useful, does it?
Also thanks for the suggested wording which I nearly took as is.
Best regards
Uwe
arch/arm/boot/dts/armada-370.dtsi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi
index 6b3c23b1e138..7513410f7b89 100644
--- a/arch/arm/boot/dts/armada-370.dtsi
+++ b/arch/arm/boot/dts/armada-370.dtsi
@@ -106,11 +106,6 @@
reg = <0x11100 0x20>;
};
- system-controller@18200 {
- compatible = "marvell,armada-370-xp-system-controller";
- reg = <0x18200 0x100>;
- };
-
pinctrl {
compatible = "marvell,mv88f6710-pinctrl";
reg = <0x18000 0x38>;
@@ -205,6 +200,11 @@
interrupts = <91>;
};
+ system-controller@18200 {
+ compatible = "marvell,armada-370-xp-system-controller";
+ reg = <0x18200 0x100>;
+ };
+
gateclk: clock-gating-control@18220 {
compatible = "marvell,armada-370-gating-clock";
reg = <0x18220 0x4>;
--
2.1.3
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v2] ARM: mvebu: fix ordering in Armada 370 .dtsi
[not found] ` <20141114204333.GS27002-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2014-11-14 20:50 ` Andrew Lunn
2014-11-22 3:37 ` Jason Cooper
1 sibling, 0 replies; 6+ messages in thread
From: Andrew Lunn @ 2014-11-14 20:50 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Jason Cooper, Andrew Lunn, Gregory Clement, Sebastian Hesselbarth,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
kernel-bIcnvbaLZ9MEGnE8C9+IrQ
On Fri, Nov 14, 2014 at 09:43:33PM +0100, Uwe Kleine-König wrote:
> Commit a095b1c78a35 ("ARM: mvebu: sort DT nodes by address")
> missed placing the system-controller in the correct order.
>
> Fixes: a095b1c78a35 ("ARM: mvebu: sort DT nodes by address")
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> ---
> Hello Andrew,
>
> I guess your question concerning overlapping ranges doesn't stop this
> patch from being useful, does it?
Not at all.
Acked-by: Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>
Andrew
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] ARM: mvebu: fix ordering in Armada 370 .dtsi
[not found] ` <20141114202200.GI2001-g2DYL2Zd6BY@public.gmane.org>
@ 2014-11-17 9:49 ` Thomas Petazzoni
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2014-11-17 9:49 UTC (permalink / raw)
To: Andrew Lunn
Cc: Uwe Kleine-König, Jason Cooper,
devicetree-u79uwXL29TY76Z2rM5mHXA, kernel-bIcnvbaLZ9MEGnE8C9+IrQ,
Gregory Clement,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
Sebastian Hesselbarth
Dear Andrew Lunn,
On Fri, 14 Nov 2014 21:22:00 +0100, Andrew Lunn wrote:
> Humm.
>
> Now we have things in the right order, we see that the
> system-controller and the clock-gating-controller overlap.
>
> I know the HW engineers have gone a bit crazy around here, so maybe we
> have no choice?
Not nice indeed. All those "system-level" registers that do not belong
to clearly identified hardware blocks are really a mess. Maybe it's
time to use the 'syscon' infrastructure to deal with those registers?
Unfortunately, due to the major pain caused by DT backward
compatibility, switching completely and properly to syscon is probably
going to be difficult if we don't want to break old Device Tree files.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2] ARM: mvebu: fix ordering in Armada 370 .dtsi
[not found] ` <20141114204333.GS27002-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-14 20:50 ` Andrew Lunn
@ 2014-11-22 3:37 ` Jason Cooper
1 sibling, 0 replies; 6+ messages in thread
From: Jason Cooper @ 2014-11-22 3:37 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Andrew Lunn, Gregory Clement, Sebastian Hesselbarth,
devicetree-u79uwXL29TY76Z2rM5mHXA, kernel-bIcnvbaLZ9MEGnE8C9+IrQ,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
On Fri, Nov 14, 2014 at 09:43:33PM +0100, Uwe Kleine-König wrote:
> Commit a095b1c78a35 ("ARM: mvebu: sort DT nodes by address")
> missed placing the system-controller in the correct order.
>
> Fixes: a095b1c78a35 ("ARM: mvebu: sort DT nodes by address")
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> ---
> Hello Andrew,
>
> I guess your question concerning overlapping ranges doesn't stop this
> patch from being useful, does it?
>
> Also thanks for the suggested wording which I nearly took as is.
>
> Best regards
> Uwe
>
> arch/arm/boot/dts/armada-370.dtsi | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
Applied to mvebu/dt with Andrew's Ack.
thx,
Jason.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-11-22 3:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-14 19:36 [PATCH] ARM: mvebu: fix ordering in Armada 370 .dtsi Uwe Kleine-König
[not found] ` <1415993776-3469-1-git-send-email-u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-14 20:22 ` Andrew Lunn
[not found] ` <20141114202200.GI2001-g2DYL2Zd6BY@public.gmane.org>
2014-11-17 9:49 ` Thomas Petazzoni
2014-11-14 20:43 ` [PATCH v2] " Uwe Kleine-König
[not found] ` <20141114204333.GS27002-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-14 20:50 ` Andrew Lunn
2014-11-22 3:37 ` Jason Cooper
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).