* [PATCH 0/2] ARM: dts: bcm283x: Fix DTC warnings
@ 2018-02-24 14:15 Stefan Wahren
[not found] ` <1519481722-22738-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Stefan Wahren @ 2018-02-24 14:15 UTC (permalink / raw)
To: Rob Herring, Mark Rutland, Eric Anholt
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
This patch series fixes some DTC warnings, which are only visible with W=1.
Stefan Wahren (2):
ARM: dts: bcm283x: Fix unit address of local_intc
ARM: dts: bcm283x: Move arm-pmu out of soc node
arch/arm/boot/dts/bcm2835.dtsi | 6 +++---
arch/arm/boot/dts/bcm2836.dtsi | 12 ++++++------
arch/arm/boot/dts/bcm2837.dtsi | 2 +-
3 files changed, 10 insertions(+), 10 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] ARM: dts: bcm283x: Fix unit address of local_intc
[not found] ` <1519481722-22738-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
@ 2018-02-24 14:15 ` Stefan Wahren
2018-02-24 14:15 ` [PATCH 2/2] ARM: dts: bcm283x: Move arm-pmu out of soc node Stefan Wahren
2018-02-28 0:42 ` [PATCH 0/2] ARM: dts: bcm283x: Fix DTC warnings Florian Fainelli
2 siblings, 0 replies; 7+ messages in thread
From: Stefan Wahren @ 2018-02-24 14:15 UTC (permalink / raw)
To: Rob Herring, Mark Rutland, Eric Anholt
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
This patch fixes the following DTC warning (requires W=1):
Node /soc/local_intc simple-bus unit address format error, expected "40000000"
Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
---
arch/arm/boot/dts/bcm2836.dtsi | 2 +-
arch/arm/boot/dts/bcm2837.dtsi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/bcm2836.dtsi b/arch/arm/boot/dts/bcm2836.dtsi
index 1dfd764..e47f2e9 100644
--- a/arch/arm/boot/dts/bcm2836.dtsi
+++ b/arch/arm/boot/dts/bcm2836.dtsi
@@ -9,7 +9,7 @@
<0x40000000 0x40000000 0x00001000>;
dma-ranges = <0xc0000000 0x00000000 0x3f000000>;
- local_intc: local_intc {
+ local_intc: local_intc@40000000 {
compatible = "brcm,bcm2836-l1-intc";
reg = <0x40000000 0x100>;
interrupt-controller;
diff --git a/arch/arm/boot/dts/bcm2837.dtsi b/arch/arm/boot/dts/bcm2837.dtsi
index efa7d33..7704bb0 100644
--- a/arch/arm/boot/dts/bcm2837.dtsi
+++ b/arch/arm/boot/dts/bcm2837.dtsi
@@ -8,7 +8,7 @@
<0x40000000 0x40000000 0x00001000>;
dma-ranges = <0xc0000000 0x00000000 0x3f000000>;
- local_intc: local_intc {
+ local_intc: local_intc@40000000 {
compatible = "brcm,bcm2836-l1-intc";
reg = <0x40000000 0x100>;
interrupt-controller;
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] ARM: dts: bcm283x: Move arm-pmu out of soc node
[not found] ` <1519481722-22738-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2018-02-24 14:15 ` [PATCH 1/2] ARM: dts: bcm283x: Fix unit address of local_intc Stefan Wahren
@ 2018-02-24 14:15 ` Stefan Wahren
[not found] ` <1519481722-22738-3-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2018-02-28 0:42 ` [PATCH 0/2] ARM: dts: bcm283x: Fix DTC warnings Florian Fainelli
2 siblings, 1 reply; 7+ messages in thread
From: Stefan Wahren @ 2018-02-24 14:15 UTC (permalink / raw)
To: Rob Herring, Mark Rutland, Eric Anholt
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
The ARM PMU doesn't have a reg address, so fix the following DTC warning
(requires W=1):
Node /soc/arm-pmu missing or empty reg/ranges property
Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
---
arch/arm/boot/dts/bcm2835.dtsi | 6 +++---
arch/arm/boot/dts/bcm2836.dtsi | 10 +++++-----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi
index 0e3d2a5..a5c3824 100644
--- a/arch/arm/boot/dts/bcm2835.dtsi
+++ b/arch/arm/boot/dts/bcm2835.dtsi
@@ -18,10 +18,10 @@
soc {
ranges = <0x7e000000 0x20000000 0x02000000>;
dma-ranges = <0x40000000 0x00000000 0x20000000>;
+ };
- arm-pmu {
- compatible = "arm,arm1176-pmu";
- };
+ arm-pmu {
+ compatible = "arm,arm1176-pmu";
};
};
diff --git a/arch/arm/boot/dts/bcm2836.dtsi b/arch/arm/boot/dts/bcm2836.dtsi
index e47f2e9..c933e84 100644
--- a/arch/arm/boot/dts/bcm2836.dtsi
+++ b/arch/arm/boot/dts/bcm2836.dtsi
@@ -16,12 +16,12 @@
#interrupt-cells = <2>;
interrupt-parent = <&local_intc>;
};
+ };
- arm-pmu {
- compatible = "arm,cortex-a7-pmu";
- interrupt-parent = <&local_intc>;
- interrupts = <9 IRQ_TYPE_LEVEL_HIGH>;
- };
+ arm-pmu {
+ compatible = "arm,cortex-a7-pmu";
+ interrupt-parent = <&local_intc>;
+ interrupts = <9 IRQ_TYPE_LEVEL_HIGH>;
};
timer {
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] ARM: dts: bcm283x: Move arm-pmu out of soc node
[not found] ` <1519481722-22738-3-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
@ 2018-02-26 18:26 ` Eric Anholt
[not found] ` <87fu5nppxo.fsf-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Eric Anholt @ 2018-02-26 18:26 UTC (permalink / raw)
To: Stefan Wahren, Rob Herring, Mark Rutland
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
[-- Attachment #1.1: Type: text/plain, Size: 458 bytes --]
Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org> writes:
> The ARM PMU doesn't have a reg address, so fix the following DTC warning
> (requires W=1):
> Node /soc/arm-pmu missing or empty reg/ranges property
>
> Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
These seem good to me, I justed wanted to be sure: Does the PMU still
probe when the node is at this level of the hierarchy? If it does, then
these get my r-b.
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
[-- Attachment #2: Type: text/plain, Size: 206 bytes --]
_______________________________________________
linux-rpi-kernel mailing list
linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
http://lists.infradead.org/mailman/listinfo/linux-rpi-kernel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] ARM: dts: bcm283x: Move arm-pmu out of soc node
[not found] ` <87fu5nppxo.fsf-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>
@ 2018-02-26 19:09 ` Stefan Wahren
[not found] ` <216513579.120636.1519672190175-7tX72C7vayboQLBSYMtkGA@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Stefan Wahren @ 2018-02-26 19:09 UTC (permalink / raw)
To: Rob Herring, Eric Anholt, Mark Rutland
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
> Eric Anholt <eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org> hat am 26. Februar 2018 um 19:26 geschrieben:
>
>
> Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org> writes:
>
> > The ARM PMU doesn't have a reg address, so fix the following DTC warning
> > (requires W=1):
> > Node /soc/arm-pmu missing or empty reg/ranges property
> >
> > Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
>
> These seem good to me, I justed wanted to be sure: Does the PMU still
> probe when the node is at this level of the hierarchy?
Yes, it does.
> If it does, then these get my r-b.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] ARM: dts: bcm283x: Move arm-pmu out of soc node
[not found] ` <216513579.120636.1519672190175-7tX72C7vayboQLBSYMtkGA@public.gmane.org>
@ 2018-02-26 23:32 ` Eric Anholt
0 siblings, 0 replies; 7+ messages in thread
From: Eric Anholt @ 2018-02-26 23:32 UTC (permalink / raw)
To: Stefan Wahren, Rob Herring, Mark Rutland
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
[-- Attachment #1.1: Type: text/plain, Size: 750 bytes --]
Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org> writes:
>> Eric Anholt <eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org> hat am 26. Februar 2018 um 19:26 geschrieben:
>>
>>
>> Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org> writes:
>>
>> > The ARM PMU doesn't have a reg address, so fix the following DTC warning
>> > (requires W=1):
>> > Node /soc/arm-pmu missing or empty reg/ranges property
>> >
>> > Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
>>
>> These seem good to me, I justed wanted to be sure: Does the PMU still
>> probe when the node is at this level of the hierarchy?
>
> Yes, it does.
Great. It sounds like Florian will cherry-pick these directly for
fixes.
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
[-- Attachment #2: Type: text/plain, Size: 206 bytes --]
_______________________________________________
linux-rpi-kernel mailing list
linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
http://lists.infradead.org/mailman/listinfo/linux-rpi-kernel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] ARM: dts: bcm283x: Fix DTC warnings
[not found] ` <1519481722-22738-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2018-02-24 14:15 ` [PATCH 1/2] ARM: dts: bcm283x: Fix unit address of local_intc Stefan Wahren
2018-02-24 14:15 ` [PATCH 2/2] ARM: dts: bcm283x: Move arm-pmu out of soc node Stefan Wahren
@ 2018-02-28 0:42 ` Florian Fainelli
2 siblings, 0 replies; 7+ messages in thread
From: Florian Fainelli @ 2018-02-28 0:42 UTC (permalink / raw)
To: Stefan Wahren, Rob Herring, Mark Rutland, Eric Anholt
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
On 02/24/2018 06:15 AM, Stefan Wahren wrote:
> This patch series fixes some DTC warnings, which are only visible with W=1.
>
> Stefan Wahren (2):
> ARM: dts: bcm283x: Fix unit address of local_intc
> ARM: dts: bcm283x: Move arm-pmu out of soc node
>
> arch/arm/boot/dts/bcm2835.dtsi | 6 +++---
> arch/arm/boot/dts/bcm2836.dtsi | 12 ++++++------
> arch/arm/boot/dts/bcm2837.dtsi | 2 +-
> 3 files changed, 10 insertions(+), 10 deletions(-)
>
Series applied to devicetree/fixes, thanks Stefan. Can you make sure you
copy bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w@public.gmane.org for your future submissions?
That allows me to leverage the patchwork instance behind that list,
thank you!
--
Florian
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-02-28 0:42 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-24 14:15 [PATCH 0/2] ARM: dts: bcm283x: Fix DTC warnings Stefan Wahren
[not found] ` <1519481722-22738-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2018-02-24 14:15 ` [PATCH 1/2] ARM: dts: bcm283x: Fix unit address of local_intc Stefan Wahren
2018-02-24 14:15 ` [PATCH 2/2] ARM: dts: bcm283x: Move arm-pmu out of soc node Stefan Wahren
[not found] ` <1519481722-22738-3-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2018-02-26 18:26 ` Eric Anholt
[not found] ` <87fu5nppxo.fsf-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>
2018-02-26 19:09 ` Stefan Wahren
[not found] ` <216513579.120636.1519672190175-7tX72C7vayboQLBSYMtkGA@public.gmane.org>
2018-02-26 23:32 ` Eric Anholt
2018-02-28 0:42 ` [PATCH 0/2] ARM: dts: bcm283x: Fix DTC warnings Florian Fainelli
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).