From: patrice.chotard@st.com (Patrice Chotard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] ARM: STi: add stid127 soc support
Date: Thu, 27 Feb 2014 13:27:17 +0100 [thread overview]
Message-ID: <530F2F25.7000801@st.com> (raw)
In-Reply-To: <530F2E26.1040304@st.com>
Hi Maxime
Thanks for reviewing.
Yes for sure, i will add additional board informations.
Patrice
On 02/27/2014 01:23 PM, Maxime Coquelin wrote:
> 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
>> };
>>
>>
WARNING: multiple messages have this Message-ID (diff)
From: Patrice Chotard <patrice.chotard@st.com>
To: Maxime Coquelin <maxime.coquelin@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:27:17 +0100 [thread overview]
Message-ID: <530F2F25.7000801@st.com> (raw)
In-Reply-To: <530F2E26.1040304@st.com>
Hi Maxime
Thanks for reviewing.
Yes for sure, i will add additional board informations.
Patrice
On 02/27/2014 01:23 PM, Maxime Coquelin wrote:
> 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
>> };
>>
>>
WARNING: multiple messages have this Message-ID (diff)
From: Patrice Chotard <patrice.chotard@st.com>
To: Maxime Coquelin <maxime.coquelin@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: <alexandre.torgue@st.com>, Giuseppe Cavallaro <peppe.cavallaro@st.com>
Subject: Re: [PATCH 1/4] ARM: STi: add stid127 soc support
Date: Thu, 27 Feb 2014 13:27:17 +0100 [thread overview]
Message-ID: <530F2F25.7000801@st.com> (raw)
In-Reply-To: <530F2E26.1040304@st.com>
Hi Maxime
Thanks for reviewing.
Yes for sure, i will add additional board informations.
Patrice
On 02/27/2014 01:23 PM, Maxime Coquelin wrote:
> 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:27 UTC|newest]
Thread overview: 58+ 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
2014-01-30 14:55 ` Patrice CHOTARD
2014-01-30 14:55 ` Patrice CHOTARD
2014-01-30 14:55 ` [PATCH 1/4] ARM: STi: add stid127 soc support Patrice CHOTARD
2014-01-30 14:55 ` Patrice CHOTARD
2014-01-30 14:55 ` Patrice CHOTARD
2014-01-30 18:35 ` Arnd Bergmann
2014-01-30 18:35 ` Arnd Bergmann
2014-01-30 18:35 ` Arnd Bergmann
2014-01-30 18:39 ` Arnd Bergmann
2014-01-30 18:39 ` Arnd Bergmann
2014-01-30 18:39 ` Arnd Bergmann
2014-01-31 12:27 ` srinivas kandagatla
2014-01-31 12:27 ` srinivas kandagatla
2014-01-31 12:27 ` srinivas kandagatla
2014-01-31 20:15 ` Arnd Bergmann
2014-01-31 20:15 ` Arnd Bergmann
2014-01-31 20:15 ` Arnd Bergmann
2014-02-03 8:33 ` Alexandre Torgue
2014-02-03 8:33 ` Alexandre Torgue
2014-02-03 8:33 ` Alexandre Torgue
2014-02-05 11:48 ` srinivas kandagatla
2014-02-05 11:48 ` srinivas kandagatla
2014-02-05 11:48 ` srinivas kandagatla
2014-02-06 16:46 ` Arnd Bergmann
2014-02-06 16:46 ` Arnd Bergmann
2014-02-06 16:46 ` Arnd Bergmann
2014-02-07 8:08 ` srinivas kandagatla
2014-02-07 8:08 ` srinivas kandagatla
2014-02-07 8:08 ` srinivas kandagatla
2014-02-27 12:23 ` Maxime Coquelin
2014-02-27 12:23 ` Maxime Coquelin
2014-02-27 12:23 ` Maxime Coquelin
2014-02-27 12:27 ` Patrice Chotard [this message]
2014-02-27 12:27 ` Patrice Chotard
2014-02-27 12:27 ` Patrice Chotard
2014-01-30 14:55 ` [PATCH 2/4] pinctrl: st: add stid127 support Patrice CHOTARD
2014-01-30 14:55 ` Patrice CHOTARD
2014-01-30 14:55 ` Patrice CHOTARD
2014-01-31 12:30 ` srinivas kandagatla
2014-01-31 12:30 ` srinivas kandagatla
2014-01-31 12:30 ` srinivas kandagatla
2014-02-04 20:54 ` Linus Walleij
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-30 14:55 ` Patrice CHOTARD
2014-01-30 14:55 ` Patrice CHOTARD
2014-01-31 12:50 ` srinivas kandagatla
2014-01-31 12:50 ` srinivas kandagatla
2014-01-31 12:50 ` srinivas kandagatla
2014-02-05 10:27 ` Patrice Chotard
2014-02-05 10:27 ` Patrice Chotard
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-30 14:55 ` Patrice CHOTARD
2014-01-31 12:51 ` srinivas kandagatla
2014-01-31 12:51 ` srinivas kandagatla
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=530F2F25.7000801@st.com \
--to=patrice.chotard@st.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.