From: Santosh Shilimkar <santosh.shilimkar@ti.com>
To: Afzal Mohammed <afzal@ti.com>
Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
devicetree-discuss@lists.ozlabs.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org,
Russell King <linux@arm.linux.org.uk>,
Tony Lindgren <tony@atomide.com>,
Marc Zyngier <marc.zyngier@arm.com>,
Nicolas Pitre <nico@linaro.org>,
Will Deacon <will.deacon@arm.com>,
Linus Walleij <linus.walleij@linaro.org>,
Rob Herring <rob.herring@calxeda.com>,
Grant Likely <grant.likely@secretlab.ca>,
Rob Landley <rob@landley.net>, Sekhar Nori <nsekhar@ti.com>,
Syed Mohammed Khasim <khasim@ti.com>
Subject: Re: [PATCH, RFC 6/8] ARM: OMAP2+: am43: basic dt support
Date: Tue, 19 Feb 2013 16:02:39 +0530 [thread overview]
Message-ID: <512354C7.1000409@ti.com> (raw)
In-Reply-To: <64d18c5a07bf7680b8299f3ef98303e60522e738.1361186097.git.afzal@ti.com>
On Monday 18 February 2013 05:08 PM, Afzal Mohammed wrote:
> Describe minimal DT boot machine details for AM43 based SoC's. AM43
> family of SoC's are ARM Cortex-A9 based with one core in SMP
> configuration. Low level debug could be achieved by selecting
> DEBUG_AM33XXUART1. To boot AM43 SoC, this change is sufficient w.r.t
> Kernel (considering the fact that strictly speaking DT sources does
> not classify as a part of Kernel). Here private timer of the one and
> only core is being used as clock event (as well as, as time source).
>
> Signed-off-by: Afzal Mohammed <afzal@ti.com>
> ---
As discussed already, lets just call this as Cortex-A9 single core
machine to avoid confusion.
> arch/arm/mach-omap2/board-generic.c | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c
> index 0274ff7..e083f08 100644
> --- a/arch/arm/mach-omap2/board-generic.c
> +++ b/arch/arm/mach-omap2/board-generic.c
> @@ -15,7 +15,10 @@
> #include <linux/of_irq.h>
> #include <linux/of_platform.h>
> #include <linux/irqdomain.h>
> +#include <linux/irqchip.h>
>
> +#include <asm/mach/map.h>
> +#include <asm/smp_twd.h>
> #include <asm/mach/arch.h>
>
> #include "common.h"
> @@ -182,3 +185,18 @@ DT_MACHINE_START(OMAP5_DT, "Generic OMAP5 (Flattened Device Tree)")
> .restart = omap44xx_restart,
> MACHINE_END
> #endif
> +
> +#ifdef CONFIG_SOC_AM43
> +static const char *am43_boards_compat[] __initdata = {
> + "ti,am43",
> + NULL,
> +};
> +
> +DT_MACHINE_START(AM43_DT, "Generic AM43 (Flattened Device Tree)")
> + .map_io = debug_ll_io_init,
> + .init_irq = irqchip_init,
With Arnds patch [1], the above can be dropped..
> + .init_machine = omap_generic_init,
> + .init_time = twd_local_timer_of_register,
This one needs to take care of other timers as well from start. So
better to take that approach from start.
Regards,
Santosh
[1] https://patchwork.kernel.org/patch/2074871/
next prev parent reply other threads:[~2013-02-19 10:32 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-18 11:35 [PATCH, RFC 0/8] ARM: AM43 (OMAP2+) boot support Afzal Mohammed
2013-02-18 11:36 ` [PATCH, RFC 1/8] ARM: localtimer: return percpu clkevt on register Afzal Mohammed
2013-02-19 10:22 ` Santosh Shilimkar
[not found] ` <e7cbb10903841ba23a93f71e7a06ae34a43adc70.1361186097.git.afzal-l0cyMroinI0@public.gmane.org>
2013-02-19 12:10 ` Felipe Balbi
2013-02-18 11:37 ` [PATCH, RFC 2/8] ARM: twd: register clock event for 1 core SMP Afzal Mohammed
2013-02-19 10:14 ` Santosh Shilimkar
2013-02-19 12:14 ` Felipe Balbi
[not found] ` <20130219121400.GP23197-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2013-02-19 12:20 ` Santosh Shilimkar
2013-02-18 11:37 ` [PATCH, RFC 4/8] ARM: am33xx: ll debug config help Afzal Mohammed
2013-02-19 10:25 ` Santosh Shilimkar
2013-02-19 10:30 ` Mohammed, Afzal
2013-02-19 11:02 ` Santosh Shilimkar
[not found] ` <cover.1361186097.git.afzal-l0cyMroinI0@public.gmane.org>
2013-02-18 11:37 ` [PATCH, RFC 3/8] ARM: twd: clock rate from DT (if no DT clk tree) Afzal Mohammed
2013-02-19 10:18 ` Santosh Shilimkar
2013-02-18 11:38 ` [PATCH, RFC 5/8] ARM: OMAP2+: am43: Kconfig Afzal Mohammed
2013-02-19 10:27 ` Santosh Shilimkar
[not found] ` <5123537B.8050709-l0cyMroinI0@public.gmane.org>
2013-02-19 10:56 ` Felipe Balbi
2013-02-19 11:01 ` Santosh Shilimkar
2013-02-18 11:38 ` [PATCH, RFC 6/8] ARM: OMAP2+: am43: basic dt support Afzal Mohammed
2013-02-19 10:32 ` Santosh Shilimkar [this message]
2013-02-18 11:38 ` [PATCH, RFC 7/8] ARM: dts: am4372: initial support Afzal Mohammed
2013-02-18 18:22 ` Felipe Balbi
2013-02-19 9:10 ` Mohammed, Afzal
[not found] ` <C8443D0743D26F4388EA172BF4E2A7A93EAA85B2-Er742YJ7I/eIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2013-02-19 9:17 ` Felipe Balbi
2013-02-18 11:38 ` [PATCH, RFC 8/8] ARM: dts: am43-pre-silicon support Afzal Mohammed
2013-02-19 10:35 ` Santosh Shilimkar
2013-02-19 10:52 ` Mohammed, Afzal
[not found] ` <C8443D0743D26F4388EA172BF4E2A7A93EAA86DE-Er742YJ7I/eIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2013-02-19 11:00 ` Santosh Shilimkar
2013-02-19 11:03 ` Mohammed, Afzal
2013-02-19 11:11 ` Santosh Shilimkar
2013-02-19 10:09 ` [PATCH, RFC 0/8] ARM: AM43 (OMAP2+) boot support Santosh Shilimkar
2013-02-19 11:24 ` Mohammed, Afzal
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=512354C7.1000409@ti.com \
--to=santosh.shilimkar@ti.com \
--cc=afzal@ti.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=grant.likely@secretlab.ca \
--cc=khasim@ti.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=marc.zyngier@arm.com \
--cc=nico@linaro.org \
--cc=nsekhar@ti.com \
--cc=rob.herring@calxeda.com \
--cc=rob@landley.net \
--cc=tony@atomide.com \
--cc=will.deacon@arm.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).