* [PATCH 0/4] ARM/ARM64: vexpress: fixes for v4.1
@ 2015-05-07 14:45 Sudeep Holla
[not found] ` <1431009905-29265-1-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Sudeep Holla @ 2015-05-07 14:45 UTC (permalink / raw
To: Arnd Bergmann, Olof Johansson
Cc: Sudeep Holla, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA, Liviu Dudau, Lorenzo Pieralisi,
arm-DgEjT+Ai2ygdnm+yROfE0A
Hi Arnd/Olof,
Here are few fixes posted on the list and are scattered around.
So I am sending them as a series so that you can pick them up easily.
Let me know if you prefer a pull request.
Regards,
Sudeep
Robert Schwebel (2):
ARM: vexpress/ca9: Add unified-cache property to l2 cache node
ARM: vexpress/ca9: Add interrupt-affinity to the PMU node
Sudeep Holla (2):
ARM64: juno: add sp810 support and fix sp804 clock frequency
ARM: vexpress/tc2: Add interrupt-affinity to the PMU node
arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts | 1 +
arch/arm/boot/dts/vexpress-v2p-ca9.dts | 11 ++++++----
arch/arm64/boot/dts/arm/juno-motherboard.dtsi | 31 +++++++++++++++++++++++----
3 files changed, 35 insertions(+), 8 deletions(-)
--
1.9.1
--
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] 8+ messages in thread
* [PATCH 1/4] ARM64: juno: add sp810 support and fix sp804 clock frequency
[not found] ` <1431009905-29265-1-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
@ 2015-05-07 14:45 ` Sudeep Holla
2015-05-07 14:45 ` [PATCH 2/4] ARM: vexpress/ca9: Add unified-cache property to l2 cache node Sudeep Holla
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Sudeep Holla @ 2015-05-07 14:45 UTC (permalink / raw
To: Arnd Bergmann, Olof Johansson
Cc: Sudeep Holla, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA, Liviu Dudau, Lorenzo Pieralisi,
arm-DgEjT+Ai2ygdnm+yROfE0A
The clock generator in IOFPGA generates the two source clocks: 32kHz and
1MHz for the SP810 System Controller.
The SP810 System Controller selects 32kHz or 1MHz as the sources for
TIM_CLK[3:0], the SP804 timer clocks. The powerup default is 32kHz but
the maximum of "refclk" and "timclk" is chosen by the SP810 driver.
This patch adds support for SP810 system controller and also fixes the
SP804 timer clock frequency.
However the SP804 driver needs to be enabled on ARM64 to test this,
which requires SP804 driver to be moved out of arch/arm.
Fixes: 71f867ec130e ("arm64: Add Juno board device tree.")
Cc: Catalin Marinas <catalin.marinas-5wv7dgnIgG8@public.gmane.org>
Cc: Will Deacon <will.deacon-5wv7dgnIgG8@public.gmane.org>
Cc: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
Cc: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
Acked-by: Liviu Dudau <Liviu.Dudau-5wv7dgnIgG8@public.gmane.org>
Signed-off-by: Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org>
---
arch/arm64/boot/dts/arm/juno-motherboard.dtsi | 31 +++++++++++++++++++++++----
1 file changed, 27 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
index c138b95a8356..351c95bda89e 100644
--- a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
@@ -21,6 +21,20 @@
clock-output-names = "juno_mb:clk25mhz";
};
+ v2m_refclk1mhz: refclk1mhz {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <1000000>;
+ clock-output-names = "juno_mb:refclk1mhz";
+ };
+
+ v2m_refclk32khz: refclk32khz {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <32768>;
+ clock-output-names = "juno_mb:refclk32khz";
+ };
+
motherboard {
compatible = "arm,vexpress,v2p-p1", "simple-bus";
#address-cells = <2>; /* SMB chipselect number and offset */
@@ -66,6 +80,15 @@
#size-cells = <1>;
ranges = <0 3 0 0x200000>;
+ v2m_sysctl: sysctl@020000 {
+ compatible = "arm,sp810", "arm,primecell";
+ reg = <0x020000 0x1000>;
+ clocks = <&v2m_refclk32khz>, <&v2m_refclk1mhz>, <&mb_clk24mhz>;
+ clock-names = "refclk", "timclk", "apb_pclk";
+ #clock-cells = <1>;
+ clock-output-names = "timerclken0", "timerclken1", "timerclken2", "timerclken3";
+ };
+
mmci@050000 {
compatible = "arm,pl180", "arm,primecell";
reg = <0x050000 0x1000>;
@@ -106,16 +129,16 @@
compatible = "arm,sp804", "arm,primecell";
reg = <0x110000 0x10000>;
interrupts = <9>;
- clocks = <&mb_clk24mhz>, <&soc_smc50mhz>;
- clock-names = "timclken1", "apb_pclk";
+ clocks = <&v2m_sysctl 0>, <&v2m_sysctl 1>, <&mb_clk24mhz>;
+ clock-names = "timclken1", "timclken2", "apb_pclk";
};
v2m_timer23: timer@120000 {
compatible = "arm,sp804", "arm,primecell";
reg = <0x120000 0x10000>;
interrupts = <9>;
- clocks = <&mb_clk24mhz>, <&soc_smc50mhz>;
- clock-names = "timclken1", "apb_pclk";
+ clocks = <&v2m_sysctl 2>, <&v2m_sysctl 3>, <&mb_clk24mhz>;
+ clock-names = "timclken1", "timclken2", "apb_pclk";
};
rtc@170000 {
--
1.9.1
--
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] 8+ messages in thread
* [PATCH 2/4] ARM: vexpress/ca9: Add unified-cache property to l2 cache node
[not found] ` <1431009905-29265-1-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
2015-05-07 14:45 ` [PATCH 1/4] ARM64: juno: add sp810 support and fix sp804 clock frequency Sudeep Holla
@ 2015-05-07 14:45 ` Sudeep Holla
2015-05-07 14:45 ` [PATCH 3/4] ARM: vexpress/ca9: Add interrupt-affinity to the PMU node Sudeep Holla
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Sudeep Holla @ 2015-05-07 14:45 UTC (permalink / raw
To: Arnd Bergmann, Olof Johansson
Cc: Sudeep Holla, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA, Liviu Dudau, Lorenzo Pieralisi,
arm-DgEjT+Ai2ygdnm+yROfE0A
From: Robert Schwebel <r.schwebel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Commit d9d1f3e2d711 ("ARM: l2c: check that DT files specify the required
"cache-unified" property") mandates to specify this required property.
Without this property, we get this boot warning:
"L2C: device tree omits to specify unified cache"
This patch adds "cache-unified" property to L2 cache node in vexpress
CA9 device tree.
Signed-off-by: Robert Schwebel <r.schwebel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Acked-by: Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org>
---
arch/arm/boot/dts/vexpress-v2p-ca9.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/vexpress-v2p-ca9.dts b/arch/arm/boot/dts/vexpress-v2p-ca9.dts
index 23662b5a5e9d..a411274e8b6b 100644
--- a/arch/arm/boot/dts/vexpress-v2p-ca9.dts
+++ b/arch/arm/boot/dts/vexpress-v2p-ca9.dts
@@ -170,6 +170,7 @@
compatible = "arm,pl310-cache";
reg = <0x1e00a000 0x1000>;
interrupts = <0 43 4>;
+ cache-unified;
cache-level = <2>;
arm,data-latency = <1 1 1>;
arm,tag-latency = <1 1 1>;
--
1.9.1
--
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] 8+ messages in thread
* [PATCH 3/4] ARM: vexpress/ca9: Add interrupt-affinity to the PMU node
[not found] ` <1431009905-29265-1-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
2015-05-07 14:45 ` [PATCH 1/4] ARM64: juno: add sp810 support and fix sp804 clock frequency Sudeep Holla
2015-05-07 14:45 ` [PATCH 2/4] ARM: vexpress/ca9: Add unified-cache property to l2 cache node Sudeep Holla
@ 2015-05-07 14:45 ` Sudeep Holla
2015-05-07 14:45 ` [PATCH 4/4] ARM: vexpress/tc2: " Sudeep Holla
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Sudeep Holla @ 2015-05-07 14:45 UTC (permalink / raw
To: Arnd Bergmann, Olof Johansson
Cc: Sudeep Holla, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA, Liviu Dudau, Lorenzo Pieralisi,
arm-DgEjT+Ai2ygdnm+yROfE0A
From: Robert Schwebel <r.schwebel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Commit 9fd85eb502a7 ("ARM: pmu: add support for interrupt-affinity
property") added an optional "interrupt-affinity" property, to specify
the CPU affinity for each SPI listed in the interrupts property.
Without this property, we get this boot warning:
CPU PMU: Failed to parse <no-node>/interrupt-affinity[0]
This patch adds interrupt-affinity to the PMU node in the
vexpress-v2p-ca9 device tree.
Signed-off-by: Robert Schwebel <r.schwebel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Acked-by: Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org>
---
arch/arm/boot/dts/vexpress-v2p-ca9.dts | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/vexpress-v2p-ca9.dts b/arch/arm/boot/dts/vexpress-v2p-ca9.dts
index a411274e8b6b..d949facba376 100644
--- a/arch/arm/boot/dts/vexpress-v2p-ca9.dts
+++ b/arch/arm/boot/dts/vexpress-v2p-ca9.dts
@@ -33,28 +33,28 @@
#address-cells = <1>;
#size-cells = <0>;
- cpu@0 {
+ A9_0: cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <0>;
next-level-cache = <&L2>;
};
- cpu@1 {
+ A9_1: cpu@1 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <1>;
next-level-cache = <&L2>;
};
- cpu@2 {
+ A9_2: cpu@2 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <2>;
next-level-cache = <&L2>;
};
- cpu@3 {
+ A9_3: cpu@3 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <3>;
@@ -182,6 +182,8 @@
<0 61 4>,
<0 62 4>,
<0 63 4>;
+ interrupt-affinity = <&A9_0>, <&A9_1>, <&A9_2>, <&A9_3>;
+
};
dcc {
--
1.9.1
--
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] 8+ messages in thread
* [PATCH 4/4] ARM: vexpress/tc2: Add interrupt-affinity to the PMU node
[not found] ` <1431009905-29265-1-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
` (2 preceding siblings ...)
2015-05-07 14:45 ` [PATCH 3/4] ARM: vexpress/ca9: Add interrupt-affinity to the PMU node Sudeep Holla
@ 2015-05-07 14:45 ` Sudeep Holla
2015-05-12 13:52 ` [PATCH 0/4] ARM/ARM64: vexpress: fixes for v4.1 Sudeep Holla
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Sudeep Holla @ 2015-05-07 14:45 UTC (permalink / raw
To: Arnd Bergmann, Olof Johansson
Cc: Sudeep Holla, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA, Liviu Dudau, Lorenzo Pieralisi,
arm-DgEjT+Ai2ygdnm+yROfE0A
Commit 9fd85eb502a7 ("ARM: pmu: add support for interrupt-affinity
property") added an optional "interrupt-affinity" property, to specify
the CPU affinity for each SPI listed in the interrupts property.
Without this property, we get this boot warning:
CPU PMU: Failed to parse <no-node>/interrupt-affinity[0]
This patch adds interrupt-affinity to the PMU node in the
vexpress-ca15_a7(a.k.a TC2) device tree.
Signed-off-by: Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org>
---
arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts b/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts
index 7a2aeacd62c0..107395c32d82 100644
--- a/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts
+++ b/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts
@@ -191,6 +191,7 @@
compatible = "arm,cortex-a15-pmu";
interrupts = <0 68 4>,
<0 69 4>;
+ interrupt-affinity = <&cpu0>, <&cpu1>;
};
oscclk6a: oscclk6a {
--
1.9.1
--
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] 8+ messages in thread
* Re: [PATCH 0/4] ARM/ARM64: vexpress: fixes for v4.1
[not found] ` <1431009905-29265-1-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
` (3 preceding siblings ...)
2015-05-07 14:45 ` [PATCH 4/4] ARM: vexpress/tc2: " Sudeep Holla
@ 2015-05-12 13:52 ` Sudeep Holla
2015-05-12 13:55 ` Sudeep Holla
2015-05-12 14:40 ` Arnd Bergmann
6 siblings, 0 replies; 8+ messages in thread
From: Sudeep Holla @ 2015-05-12 13:52 UTC (permalink / raw
To: Arnd Bergmann
Cc: Olof Johansson, Sudeep Holla,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Liviu Dudau,
Lorenzo Pieralisi, arm-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Hi Arnd,
On 07/05/15 15:45, Sudeep Holla wrote:
> Hi Arnd/Olof,
>
> Here are few fixes posted on the list and are scattered around.
> So I am sending them as a series so that you can pick them up easily.
> Let me know if you prefer a pull request.
>
Can you consider this series for your next v4.1-rc* fixes ?
Regards,
Sudeep
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782
--
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] 8+ messages in thread
* Re: [PATCH 0/4] ARM/ARM64: vexpress: fixes for v4.1
[not found] ` <1431009905-29265-1-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
` (4 preceding siblings ...)
2015-05-12 13:52 ` [PATCH 0/4] ARM/ARM64: vexpress: fixes for v4.1 Sudeep Holla
@ 2015-05-12 13:55 ` Sudeep Holla
2015-05-12 14:40 ` Arnd Bergmann
6 siblings, 0 replies; 8+ messages in thread
From: Sudeep Holla @ 2015-05-12 13:55 UTC (permalink / raw
To: Arnd Bergmann
Cc: Olof Johansson, Sudeep Holla,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Liviu Dudau,
Lorenzo Pieralisi, arm-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Hi Arnd,
On 07/05/15 15:45, Sudeep Holla wrote:
> Hi Arnd/Olof,
>
> Here are few fixes posted on the list and are scattered around.
> So I am sending them as a series so that you can pick them up easily.
> Let me know if you prefer a pull request.
>
Can you consider this series for your next v4.1-rc* fixes ?
Regards,
Sudeep
--
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] 8+ messages in thread
* Re: [PATCH 0/4] ARM/ARM64: vexpress: fixes for v4.1
[not found] ` <1431009905-29265-1-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
` (5 preceding siblings ...)
2015-05-12 13:55 ` Sudeep Holla
@ 2015-05-12 14:40 ` Arnd Bergmann
6 siblings, 0 replies; 8+ messages in thread
From: Arnd Bergmann @ 2015-05-12 14:40 UTC (permalink / raw
To: Sudeep Holla
Cc: Olof Johansson, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA, Liviu Dudau, Lorenzo Pieralisi,
arm-DgEjT+Ai2ygdnm+yROfE0A
On Thursday 07 May 2015 15:45:01 Sudeep Holla wrote:
> Hi Arnd/Olof,
>
> Here are few fixes posted on the list and are scattered around.
> So I am sending them as a series so that you can pick them up easily.
> Let me know if you prefer a pull request.
>
Applied all four to the fixes branch, thanks!
Arnd
--
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] 8+ messages in thread
end of thread, other threads:[~2015-05-12 14:40 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-07 14:45 [PATCH 0/4] ARM/ARM64: vexpress: fixes for v4.1 Sudeep Holla
[not found] ` <1431009905-29265-1-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
2015-05-07 14:45 ` [PATCH 1/4] ARM64: juno: add sp810 support and fix sp804 clock frequency Sudeep Holla
2015-05-07 14:45 ` [PATCH 2/4] ARM: vexpress/ca9: Add unified-cache property to l2 cache node Sudeep Holla
2015-05-07 14:45 ` [PATCH 3/4] ARM: vexpress/ca9: Add interrupt-affinity to the PMU node Sudeep Holla
2015-05-07 14:45 ` [PATCH 4/4] ARM: vexpress/tc2: " Sudeep Holla
2015-05-12 13:52 ` [PATCH 0/4] ARM/ARM64: vexpress: fixes for v4.1 Sudeep Holla
2015-05-12 13:55 ` Sudeep Holla
2015-05-12 14:40 ` Arnd Bergmann
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 read-only IMAP folder(s) and NNTP newsgroup(s).