* [PATCH v2] ARM: STi: Add STiH410 SoC support
@ 2015-03-05 13:05 Fabrice GASNIER
2015-03-05 13:43 ` Lee Jones
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice GASNIER @ 2015-03-05 13:05 UTC (permalink / raw)
To: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Srinivas Kandagatla, Maxime Coquelin, Patrice Chotard,
Russell King, Giuseppe Cavallaro, Fabrice Gasnier, devicetree,
linux-kernel, linux-arm-kernel, kernel
This patch adds support to STiH410 SoC.
Please note "st,stih410" is already present in device tree.
The problem is that it is missing the entry in the match table,
and so the L2 cache and other cpus than 0 don't get initialized.
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
---
Documentation/devicetree/bindings/arm/sti.txt | 4 ++++
arch/arm/mach-sti/board-dt.c | 1 +
2 files changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/sti.txt b/Documentation/devicetree/bindings/arm/sti.txt
index d70ec35..8d27f6b 100644
--- a/Documentation/devicetree/bindings/arm/sti.txt
+++ b/Documentation/devicetree/bindings/arm/sti.txt
@@ -13,6 +13,10 @@ Boards with the ST STiH407 SoC shall have the following properties:
Required root node property:
compatible = "st,stih407";
+Boards with the ST STiH410 SoC shall have the following properties:
+Required root node property:
+compatible = "st,stih410";
+
Boards with the ST STiH418 SoC shall have the following properties:
Required root node property:
compatible = "st,stih418";
diff --git a/arch/arm/mach-sti/board-dt.c b/arch/arm/mach-sti/board-dt.c
index b067390..b373aca 100644
--- a/arch/arm/mach-sti/board-dt.c
+++ b/arch/arm/mach-sti/board-dt.c
@@ -18,6 +18,7 @@ static const char *stih41x_dt_match[] __initdata = {
"st,stih415",
"st,stih416",
"st,stih407",
+ "st,stih410",
"st,stih418",
NULL
};
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH v2] ARM: STi: Add STiH410 SoC support
2015-03-05 13:05 [PATCH v2] ARM: STi: Add STiH410 SoC support Fabrice GASNIER
@ 2015-03-05 13:43 ` Lee Jones
0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2015-03-05 13:43 UTC (permalink / raw)
To: Fabrice GASNIER
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Srinivas Kandagatla, Maxime Coquelin, Patrice Chotard,
Russell King, Giuseppe Cavallaro, devicetree, linux-kernel,
linux-arm-kernel, kernel
On Thu, 05 Mar 2015, Fabrice GASNIER wrote:
> This patch adds support to STiH410 SoC.
>
> Please note "st,stih410" is already present in device tree.
> The problem is that it is missing the entry in the match table,
> and so the L2 cache and other cpus than 0 don't get initialized.
>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
> Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
> ---
> Documentation/devicetree/bindings/arm/sti.txt | 4 ++++
> arch/arm/mach-sti/board-dt.c | 1 +
> 2 files changed, 5 insertions(+)
Sorry, this is the one I was looking at oneline.
Same comments apply though.
Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/Documentation/devicetree/bindings/arm/sti.txt b/Documentation/devicetree/bindings/arm/sti.txt
> index d70ec35..8d27f6b 100644
> --- a/Documentation/devicetree/bindings/arm/sti.txt
> +++ b/Documentation/devicetree/bindings/arm/sti.txt
> @@ -13,6 +13,10 @@ Boards with the ST STiH407 SoC shall have the following properties:
> Required root node property:
> compatible = "st,stih407";
>
> +Boards with the ST STiH410 SoC shall have the following properties:
> +Required root node property:
> +compatible = "st,stih410";
> +
> Boards with the ST STiH418 SoC shall have the following properties:
> Required root node property:
> compatible = "st,stih418";
> diff --git a/arch/arm/mach-sti/board-dt.c b/arch/arm/mach-sti/board-dt.c
> index b067390..b373aca 100644
> --- a/arch/arm/mach-sti/board-dt.c
> +++ b/arch/arm/mach-sti/board-dt.c
> @@ -18,6 +18,7 @@ static const char *stih41x_dt_match[] __initdata = {
> "st,stih415",
> "st,stih416",
> "st,stih407",
> + "st,stih410",
> "st,stih418",
> NULL
> };
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-05 13:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-05 13:05 [PATCH v2] ARM: STi: Add STiH410 SoC support Fabrice GASNIER
2015-03-05 13:43 ` Lee Jones
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).