From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/6] ARM: ux500: Add support for ST-Ericsson's u9540 SoC
Date: Thu, 11 Oct 2012 08:38:20 +0100 [thread overview]
Message-ID: <20121011073820.GS9707@gmail.com> (raw)
In-Reply-To: <20121010190144.GS12801@game.jcrosoft.org>
On Wed, 10 Oct 2012, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 16:18 Wed 10 Oct , Lee Jones wrote:
> > First level board support for the u9540.
> >
> > Acked-by: Linus Walleij <linus.walleij@linaro.org>
> > Signed-off-by: Lee Jones <lee.jones@linaro.org>
> > ---
> > arch/arm/mach-ux500/cpu-db8500.c | 14 ++++++++++++++
> > 1 file changed, 14 insertions(+)
> >
> > diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c
> > index 3d8e321..6b7f970 100644
> > --- a/arch/arm/mach-ux500/cpu-db8500.c
> > +++ b/arch/arm/mach-ux500/cpu-db8500.c
> > @@ -17,6 +17,7 @@
> > #include <linux/platform_device.h>
> > #include <linux/io.h>
> > #include <linux/mfd/abx500/ab8500.h>
> > +#include <linux/mfd/dbx500-prcmu.h>
> > #include <linux/of.h>
> > #include <linux/of_platform.h>
> > #include <linux/regulator/machine.h>
> > @@ -319,6 +320,8 @@ static void __init u8500_init_machine(void)
> > snowball_pinmaps_init();
> > else if (of_machine_is_compatible("st-ericsson,hrefv60+"))
> > hrefv60_pinmaps_init();
> > + else if (of_machine_is_compatible("st-ericsson,u9540")) {}
> > + /* TODO: Add u9540 pinmaps. */
> do you via DT no here
We don't support pinctrl yet. It will come, it's just not available yet.
> > /* TODO: Export SoC, USB, cpu-freq and DMA40 */
> > parent = u8500_of_init_devices();
> > @@ -331,6 +334,7 @@ static const char * u8500_dt_board_compat[] = {
> > "calaosystems,snowball-a9500",
> > "st-ericsson,hrefv60+",
> > "st-ericsson,mop500",
> > + "st-ericsson,u9540",
> stop to add more compatible sue a more generic one
Not entirely sure what you mean here.
These are the only four boards we officially support.
There are other uXXXX boards that we do not.
> > NULL,
> > };
> >
> > @@ -345,4 +349,14 @@ DT_MACHINE_START(U8500_DT, "ST-Ericsson U8500 platform (Device Tree Support)")
> > .dt_compat = u8500_dt_board_compat,
> > MACHINE_END
> >
> > +DT_MACHINE_START(U9540_DT, "ST-Ericsson 9540 platform (Device Tree Support)")
> > + .map_io = u8500_map_io,
> > + .init_irq = ux500_init_irq,
> > + .timer = &ux500_timer,
> > + .handle_irq = gic_handle_irq,
> > + .init_machine = u8500_init_machine,
> > + .init_late = NULL,
> > + .dt_compat = u8500_dt_board_compat,
> > +MACHINE_END
> really?
> no need drop it for a more generic on
This may look the same as the previous MACHINE_START now, but
it will have differences in the future as more u9540 support is
upstreamed. I think it should stick around as a separate entity
for the time being. If we can consolidate the init functions at
a later date, believe me I will make sure it happens.
--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee.jones@linaro.org>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linus.walleij@stericsson.com,
arnd@arndb.de
Subject: Re: [PATCH 3/6] ARM: ux500: Add support for ST-Ericsson's u9540 SoC
Date: Thu, 11 Oct 2012 08:38:20 +0100 [thread overview]
Message-ID: <20121011073820.GS9707@gmail.com> (raw)
In-Reply-To: <20121010190144.GS12801@game.jcrosoft.org>
On Wed, 10 Oct 2012, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 16:18 Wed 10 Oct , Lee Jones wrote:
> > First level board support for the u9540.
> >
> > Acked-by: Linus Walleij <linus.walleij@linaro.org>
> > Signed-off-by: Lee Jones <lee.jones@linaro.org>
> > ---
> > arch/arm/mach-ux500/cpu-db8500.c | 14 ++++++++++++++
> > 1 file changed, 14 insertions(+)
> >
> > diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c
> > index 3d8e321..6b7f970 100644
> > --- a/arch/arm/mach-ux500/cpu-db8500.c
> > +++ b/arch/arm/mach-ux500/cpu-db8500.c
> > @@ -17,6 +17,7 @@
> > #include <linux/platform_device.h>
> > #include <linux/io.h>
> > #include <linux/mfd/abx500/ab8500.h>
> > +#include <linux/mfd/dbx500-prcmu.h>
> > #include <linux/of.h>
> > #include <linux/of_platform.h>
> > #include <linux/regulator/machine.h>
> > @@ -319,6 +320,8 @@ static void __init u8500_init_machine(void)
> > snowball_pinmaps_init();
> > else if (of_machine_is_compatible("st-ericsson,hrefv60+"))
> > hrefv60_pinmaps_init();
> > + else if (of_machine_is_compatible("st-ericsson,u9540")) {}
> > + /* TODO: Add u9540 pinmaps. */
> do you via DT no here
We don't support pinctrl yet. It will come, it's just not available yet.
> > /* TODO: Export SoC, USB, cpu-freq and DMA40 */
> > parent = u8500_of_init_devices();
> > @@ -331,6 +334,7 @@ static const char * u8500_dt_board_compat[] = {
> > "calaosystems,snowball-a9500",
> > "st-ericsson,hrefv60+",
> > "st-ericsson,mop500",
> > + "st-ericsson,u9540",
> stop to add more compatible sue a more generic one
Not entirely sure what you mean here.
These are the only four boards we officially support.
There are other uXXXX boards that we do not.
> > NULL,
> > };
> >
> > @@ -345,4 +349,14 @@ DT_MACHINE_START(U8500_DT, "ST-Ericsson U8500 platform (Device Tree Support)")
> > .dt_compat = u8500_dt_board_compat,
> > MACHINE_END
> >
> > +DT_MACHINE_START(U9540_DT, "ST-Ericsson 9540 platform (Device Tree Support)")
> > + .map_io = u8500_map_io,
> > + .init_irq = ux500_init_irq,
> > + .timer = &ux500_timer,
> > + .handle_irq = gic_handle_irq,
> > + .init_machine = u8500_init_machine,
> > + .init_late = NULL,
> > + .dt_compat = u8500_dt_board_compat,
> > +MACHINE_END
> really?
> no need drop it for a more generic on
This may look the same as the previous MACHINE_START now, but
it will have differences in the future as more u9540 support is
upstreamed. I think it should stick around as a separate entity
for the time being. If we can consolidate the init functions at
a later date, believe me I will make sure it happens.
--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
next prev parent reply other threads:[~2012-10-11 7:38 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-10 15:18 [PATCH 0/6] Provide basic support for the u9540 Lee Jones
2012-10-10 15:18 ` Lee Jones
2012-10-10 15:18 ` [PATCH 1/6] ARM: ux500: Remove unused board compatible string Lee Jones
2012-10-10 15:18 ` Lee Jones
2012-10-10 15:18 ` [PATCH 2/6] ARM: ux500: Add skeleton DTS file for the u9540 Lee Jones
2012-10-10 15:18 ` Lee Jones
2012-10-10 15:18 ` [PATCH 3/6] ARM: ux500: Add support for ST-Ericsson's u9540 SoC Lee Jones
2012-10-10 15:18 ` Lee Jones
2012-10-10 19:01 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-10 19:01 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-11 7:38 ` Lee Jones [this message]
2012-10-11 7:38 ` Lee Jones
2012-10-11 8:52 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-11 8:52 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-11 9:20 ` Lee Jones
2012-10-11 9:20 ` Lee Jones
2012-10-11 18:11 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-11 18:11 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-10 15:18 ` [PATCH 4/6] ARM: ux500: Add UART support to the u9540 Device Tree Lee Jones
2012-10-10 15:18 ` Lee Jones
2012-10-10 19:03 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-10 19:03 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-11 7:29 ` Lee Jones
2012-10-11 7:29 ` Lee Jones
2012-10-11 8:50 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-11 8:50 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-11 9:22 ` Lee Jones
2012-10-11 9:22 ` Lee Jones
2012-10-11 18:06 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-11 18:06 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-12 21:15 ` Linus Walleij
2012-10-12 21:15 ` Linus Walleij
2012-10-10 15:18 ` [PATCH 5/6] ARM: ux500: Enable SDI4 port on the u9540 when booting with " Lee Jones
2012-10-10 15:18 ` Lee Jones
2012-10-10 19:04 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-10 19:04 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-11 7:28 ` Lee Jones
2012-10-11 7:28 ` Lee Jones
2012-10-10 15:18 ` [PATCH 6/6] mfd: Differentiate between u8500 and u9540 TCDM address mapping Lee Jones
2012-10-10 15:18 ` Lee Jones
2012-10-10 18:34 ` Arnd Bergmann
2012-10-10 18:34 ` Arnd Bergmann
2012-10-11 8:59 ` Lee Jones
2012-10-11 8:59 ` Lee Jones
2012-10-11 9:16 ` Arnd Bergmann
2012-10-11 9:16 ` Arnd Bergmann
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=20121011073820.GS9707@gmail.com \
--to=lee.jones@linaro.org \
--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.