* [PATCH] ARM: dts: add missing cpu #address-cell values
@ 2013-06-10 14:52 Arnd Bergmann
2013-06-10 15:19 ` Lorenzo Pieralisi
2013-06-10 15:21 ` Nicolas Ferre
0 siblings, 2 replies; 3+ messages in thread
From: Arnd Bergmann @ 2013-06-10 14:52 UTC (permalink / raw)
To: linux-arm-kernel
A recent series has added CPU numbers to a lot of dts files,
but unfortunately in a few cases the #address-cells
and #size-cells values are missing, which causes build warnings.
This adds the missing ones for sunxi and sama5 that I found
through build testing.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
---
I've applied this on top of the next/dt branch that has the original
patches.
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index abdf1c8..f57ffbc 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -38,6 +38,8 @@
ssc1 = &ssc1;
};
cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
cpu at 0 {
device_type = "cpu";
compatible = "arm,cortex-a5";
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index 39a8f61..06ef8b6 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
@@ -16,6 +16,8 @@
interrupt-parent = <&intc>;
cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
cpu at 0 {
device_type = "cpu";
compatible = "arm,cortex-a8";
diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi
index 00a2637d..d285254 100644
--- a/arch/arm/boot/dts/sun5i-a13.dtsi
+++ b/arch/arm/boot/dts/sun5i-a13.dtsi
@@ -17,6 +17,8 @@
interrupt-parent = <&intc>;
cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
cpu at 0 {
device_type = "cpu";
compatible = "arm,cortex-a8";
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARM: dts: add missing cpu #address-cell values
2013-06-10 14:52 [PATCH] ARM: dts: add missing cpu #address-cell values Arnd Bergmann
@ 2013-06-10 15:19 ` Lorenzo Pieralisi
2013-06-10 15:21 ` Nicolas Ferre
1 sibling, 0 replies; 3+ messages in thread
From: Lorenzo Pieralisi @ 2013-06-10 15:19 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Jun 10, 2013 at 03:52:34PM +0100, Arnd Bergmann wrote:
> A recent series has added CPU numbers to a lot of dts files,
> but unfortunately in a few cases the #address-cells
> and #size-cells values are missing, which causes build warnings.
> This adds the missing ones for sunxi and sama5 that I found
> through build testing.
Gah, my bad, apologies, I missed the #address/#size cells updates to new
dts that were merged the last merge window after rebasing, really sorry about
that.
Thanks !
Lorenzo
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
> ---
> I've applied this on top of the next/dt branch that has the original
> patches.
>
> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
> index abdf1c8..f57ffbc 100644
> --- a/arch/arm/boot/dts/sama5d3.dtsi
> +++ b/arch/arm/boot/dts/sama5d3.dtsi
> @@ -38,6 +38,8 @@
> ssc1 = &ssc1;
> };
> cpus {
> + #address-cells = <1>;
> + #size-cells = <0>;
> cpu at 0 {
> device_type = "cpu";
> compatible = "arm,cortex-a5";
> diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
> index 39a8f61..06ef8b6 100644
> --- a/arch/arm/boot/dts/sun4i-a10.dtsi
> +++ b/arch/arm/boot/dts/sun4i-a10.dtsi
> @@ -16,6 +16,8 @@
> interrupt-parent = <&intc>;
>
> cpus {
> + #address-cells = <1>;
> + #size-cells = <0>;
> cpu at 0 {
> device_type = "cpu";
> compatible = "arm,cortex-a8";
> diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi
> index 00a2637d..d285254 100644
> --- a/arch/arm/boot/dts/sun5i-a13.dtsi
> +++ b/arch/arm/boot/dts/sun5i-a13.dtsi
> @@ -17,6 +17,8 @@
> interrupt-parent = <&intc>;
>
> cpus {
> + #address-cells = <1>;
> + #size-cells = <0>;
> cpu at 0 {
> device_type = "cpu";
> compatible = "arm,cortex-a8";
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ARM: dts: add missing cpu #address-cell values
2013-06-10 14:52 [PATCH] ARM: dts: add missing cpu #address-cell values Arnd Bergmann
2013-06-10 15:19 ` Lorenzo Pieralisi
@ 2013-06-10 15:21 ` Nicolas Ferre
1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Ferre @ 2013-06-10 15:21 UTC (permalink / raw)
To: linux-arm-kernel
On 10/06/2013 16:52, Arnd Bergmann :
> A recent series has added CPU numbers to a lot of dts files,
> but unfortunately in a few cases the #address-cells
> and #size-cells values are missing, which causes build warnings.
> This adds the missing ones for sunxi and sama5 that I found
> through build testing.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
For SAMA5D3:
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Thanks Arnd.
Best regards,
> ---
> I've applied this on top of the next/dt branch that has the original
> patches.
>
> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
> index abdf1c8..f57ffbc 100644
> --- a/arch/arm/boot/dts/sama5d3.dtsi
> +++ b/arch/arm/boot/dts/sama5d3.dtsi
> @@ -38,6 +38,8 @@
> ssc1 = &ssc1;
> };
> cpus {
> + #address-cells = <1>;
> + #size-cells = <0>;
> cpu at 0 {
> device_type = "cpu";
> compatible = "arm,cortex-a5";
> diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
> index 39a8f61..06ef8b6 100644
> --- a/arch/arm/boot/dts/sun4i-a10.dtsi
> +++ b/arch/arm/boot/dts/sun4i-a10.dtsi
> @@ -16,6 +16,8 @@
> interrupt-parent = <&intc>;
>
> cpus {
> + #address-cells = <1>;
> + #size-cells = <0>;
> cpu at 0 {
> device_type = "cpu";
> compatible = "arm,cortex-a8";
> diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi
> index 00a2637d..d285254 100644
> --- a/arch/arm/boot/dts/sun5i-a13.dtsi
> +++ b/arch/arm/boot/dts/sun5i-a13.dtsi
> @@ -17,6 +17,8 @@
> interrupt-parent = <&intc>;
>
> cpus {
> + #address-cells = <1>;
> + #size-cells = <0>;
> cpu at 0 {
> device_type = "cpu";
> compatible = "arm,cortex-a8";
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
>
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-06-10 15:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-10 14:52 [PATCH] ARM: dts: add missing cpu #address-cell values Arnd Bergmann
2013-06-10 15:19 ` Lorenzo Pieralisi
2013-06-10 15:21 ` Nicolas Ferre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox