From: Maxime Coquelin <maxime.coquelin@st.com>
To: Patrice CHOTARD <patrice.chotard@st.com>,
Srinivas Kandagatla <srinivas.kandagatla@st.com>,
Stuart Menefy <stuart.menefy@st.com>,
Russell King <linux@arm.linux.org.uk>,
linux-arm-kernel@lists.infradead.org, kernel@stlinux.com,
linux-kernel@vger.kernel.org,
Linus Walleij <linus.walleij@linaro.org>,
Grant Likely <grant.likely@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>, alexandre.torgue@st.com
Subject: Re: [PATCH 1/4] ARM: STi: add stid127 soc support
Date: Thu, 27 Feb 2014 13:23:02 +0100 [thread overview]
Message-ID: <530F2E26.1040304@st.com> (raw)
In-Reply-To: <1391093744-19905-2-git-send-email-patrice.chotard@st.com>
Hi Patrice,
Could you add an overview documentation as it has been done for other
STi platforms?
See Documentation/arm/sti/stih416-overview.txt
Thanks,
Maxime
On 01/30/2014 03:55 PM, Patrice CHOTARD wrote:
> From: Alexandre TORGUE <alexandre.torgue@st.com>
>
> This patch adds support to STiD127 SoC.
> The main adaptation is the L2 cache way size compare to STiH41x SoCs.
>
> Signed-off-by: alexandre torgue <alexandre.torgue@st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
> ---
> arch/arm/mach-sti/board-dt.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/mach-sti/board-dt.c b/arch/arm/mach-sti/board-dt.c
> index 1217fb5..be018a9 100644
> --- a/arch/arm/mach-sti/board-dt.c
> +++ b/arch/arm/mach-sti/board-dt.c
> @@ -9,6 +9,7 @@
>
> #include <linux/irq.h>
> #include <linux/of_platform.h>
> +#include <linux/of.h>
> #include <asm/hardware/cache-l2x0.h>
> #include <asm/mach/arch.h>
>
> @@ -18,6 +19,10 @@ void __init stih41x_l2x0_init(void)
> {
> u32 way_size = 0x4;
> u32 aux_ctrl;
> +
> + if (of_machine_is_compatible("st,stid127"))
> + way_size = 0x3;
> +
> /* may be this can be encoded in macros like BIT*() */
> aux_ctrl = (0x1 << L2X0_AUX_CTRL_SHARE_OVERRIDE_SHIFT) |
> (0x1 << L2X0_AUX_CTRL_DATA_PREFETCH_SHIFT) |
> @@ -36,6 +41,7 @@ static void __init stih41x_machine_init(void)
> static const char *stih41x_dt_match[] __initdata = {
> "st,stih415",
> "st,stih416",
> + "st,stid127",
> NULL
> };
>
>
next prev parent reply other threads:[~2014-02-27 12:23 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-30 14:55 [PATCH 0/4] ARM:sti: Add STiD127 platform and board support Patrice CHOTARD
[not found] ` <1391093744-19905-1-git-send-email-patrice.chotard-qxv4g6HH51o@public.gmane.org>
2014-01-30 14:55 ` [PATCH 1/4] ARM: STi: add stid127 soc support Patrice CHOTARD
2014-01-30 18:35 ` Arnd Bergmann
[not found] ` <201401301935.16463.arnd-r2nGTMty4D4@public.gmane.org>
2014-01-30 18:39 ` Arnd Bergmann
2014-01-31 12:27 ` srinivas kandagatla
[not found] ` <52EB96BB.6070800-qxv4g6HH51o@public.gmane.org>
2014-01-31 20:15 ` Arnd Bergmann
[not found] ` <201401312115.33731.arnd-r2nGTMty4D4@public.gmane.org>
2014-02-03 8:33 ` Alexandre Torgue
2014-02-05 11:48 ` srinivas kandagatla
[not found] ` <52F22508.7080706-qxv4g6HH51o@public.gmane.org>
2014-02-06 16:46 ` Arnd Bergmann
[not found] ` <201402061746.30248.arnd-r2nGTMty4D4@public.gmane.org>
2014-02-07 8:08 ` srinivas kandagatla
2014-02-27 12:23 ` Maxime Coquelin [this message]
2014-02-27 12:27 ` Patrice Chotard
2014-01-30 14:55 ` [PATCH 2/4] pinctrl: st: add stid127 support Patrice CHOTARD
2014-01-31 12:30 ` srinivas kandagatla
2014-02-04 20:54 ` Linus Walleij
2014-01-30 14:55 ` [PATCH 3/4] ARM: dts: Add support of STid127 Soc Patrice CHOTARD
2014-01-31 12:50 ` srinivas kandagatla
[not found] ` <52EB9C03.70009-qxv4g6HH51o@public.gmane.org>
2014-02-05 10:27 ` Patrice Chotard
2014-01-30 14:55 ` [PATCH 4/4] ARM: dts: add B2112 board support Patrice CHOTARD
2014-01-31 12:51 ` srinivas kandagatla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=530F2E26.1040304@st.com \
--to=maxime.coquelin@st.com \
--cc=alexandre.torgue@st.com \
--cc=devicetree@vger.kernel.org \
--cc=grant.likely@linaro.org \
--cc=kernel@stlinux.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=patrice.chotard@st.com \
--cc=peppe.cavallaro@st.com \
--cc=robh+dt@kernel.org \
--cc=srinivas.kandagatla@st.com \
--cc=stuart.menefy@st.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).