From: Felipe Balbi <balbi@ti.com>
To: Tony Lindgren <tony@atomide.com>
Cc: Felipe Balbi <balbi@ti.com>,
Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>,
linux-omap@vger.kernel.org,
Brian Hutchinson <b.hutchman@gmail.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/4] ARM: OMAP2+: Add board-generic.c entry for ti81xx
Date: Mon, 19 Jan 2015 15:10:24 -0600 [thread overview]
Message-ID: <20150119211024.GT20386@saruman> (raw)
In-Reply-To: <20150119210544.GG18552@atomide.com>
[-- Attachment #1: Type: text/plain, Size: 3631 bytes --]
On Mon, Jan 19, 2015 at 01:05:45PM -0800, Tony Lindgren wrote:
> * Felipe Balbi <balbi@ti.com> [150119 12:46]:
> > On Mon, Jan 19, 2015 at 11:18:34AM -0800, Tony Lindgren wrote:
> > > * Tony Lindgren <tony@atomide.com> [150114 16:14]:
> > > > * Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> [150114 05:54]:
> > > > > Hello.
> > > > >
> > > > > On 1/14/2015 2:37 AM, Tony Lindgren wrote:
> > > > >
> > > > > >This allows booting ti81xx boards with with when a .dts
> > > > >
> > > > > So, with, with or when? :-)
> > > >
> > > > Heh thanks will updated to:
> > > >
> > > > This allows booting ti81xx boards when a .dts file
> > > > is in place.
> > >
> > > This too needs to be in a separate ifdef CONFIG_SOC_TI81XX block
> > > to avoid make randconfig build errors. Updated patch below.
> > >
> > > Regards,
> > >
> > > Tony
> > >
> > > 8< -----------------
> > > From: Tony Lindgren <tony@atomide.com>
> > > Date: Mon, 19 Jan 2015 10:38:07 -0800
> > > Subject: [PATCH] ARM: OMAP2+: Add board-generic.c entry for ti81xx
> > >
> > > This allows booting ti81xx boards when a .dts file
> > > is in place.
> > >
> > > Cc: Brian Hutchinson <b.hutchman@gmail.com>
> > > Signed-off-by: Tony Lindgren <tony@atomide.com>
> > >
> > > --- a/arch/arm/mach-omap2/board-generic.c
> > > +++ b/arch/arm/mach-omap2/board-generic.c
> > > @@ -142,6 +142,42 @@ DT_MACHINE_START(AM3517_DT, "Generic AM3517 (Flattened Device Tree)")
> > > .dt_compat = am3517_boards_compat,
> > > .restart = omap3xxx_restart,
> > > MACHINE_END
> > > +
> > > +static const char *const ti814x_boards_compat[] __initconst = {
> >
> > should this definition be within that ifdef too ?
>
> Oops yes totally thanks for catching that. Updated patch below.
>
> Regards,
>
> Tony
>
> 8< -----------------
> From: Tony Lindgren <tony@atomide.com>
> Date: Mon, 19 Jan 2015 10:38:07 -0800
> Subject: [PATCH] ARM: OMAP2+: Add board-generic.c entry for ti81xx
>
> This allows booting ti81xx boards when a .dts file
> is in place.
>
> Cc: Brian Hutchinson <b.hutchman@gmail.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
>
> --- a/arch/arm/mach-omap2/board-generic.c
> +++ b/arch/arm/mach-omap2/board-generic.c
> @@ -144,6 +144,42 @@ DT_MACHINE_START(AM3517_DT, "Generic AM3517 (Flattened Device Tree)")
> MACHINE_END
> #endif
>
> +#ifdef CONFIG_SOC_TI81XX
> +static const char *const ti814x_boards_compat[] __initconst = {
> + "ti,dm8148",
> + "ti,dm814",
> + NULL,
> +};
> +
> +DT_MACHINE_START(TI81XX_DT, "Generic ti814x (Flattened Device Tree)")
> + .reserve = omap_reserve,
> + .map_io = ti81xx_map_io,
> + .init_early = ti814x_init_early,
> + .init_machine = omap_generic_init,
> + .init_late = ti81xx_init_late,
> + .init_time = omap3_gptimer_timer_init,
> + .dt_compat = ti814x_boards_compat,
> + .restart = ti81xx_restart,
> +MACHINE_END
> +
> +static const char *const ti816x_boards_compat[] __initconst = {
> + "ti,dm8168",
> + "ti,dm816",
> + NULL,
> +};
> +
> +DT_MACHINE_START(TI816X_DT, "Generic ti816x (Flattened Device Tree)")
> + .reserve = omap_reserve,
> + .map_io = ti81xx_map_io,
> + .init_early = ti816x_init_early,
> + .init_machine = omap_generic_init,
> + .init_late = ti81xx_init_late,
> + .init_time = omap3_gptimer_timer_init,
> + .dt_compat = ti816x_boards_compat,
> + .restart = ti81xx_restart,
> +MACHINE_END
> +#endif
> +
> #ifdef CONFIG_SOC_AM33XX
> static const char *const am33xx_boards_compat[] __initconst = {
> "ti,am33xx",
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: balbi@ti.com (Felipe Balbi)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] ARM: OMAP2+: Add board-generic.c entry for ti81xx
Date: Mon, 19 Jan 2015 15:10:24 -0600 [thread overview]
Message-ID: <20150119211024.GT20386@saruman> (raw)
In-Reply-To: <20150119210544.GG18552@atomide.com>
On Mon, Jan 19, 2015 at 01:05:45PM -0800, Tony Lindgren wrote:
> * Felipe Balbi <balbi@ti.com> [150119 12:46]:
> > On Mon, Jan 19, 2015 at 11:18:34AM -0800, Tony Lindgren wrote:
> > > * Tony Lindgren <tony@atomide.com> [150114 16:14]:
> > > > * Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> [150114 05:54]:
> > > > > Hello.
> > > > >
> > > > > On 1/14/2015 2:37 AM, Tony Lindgren wrote:
> > > > >
> > > > > >This allows booting ti81xx boards with with when a .dts
> > > > >
> > > > > So, with, with or when? :-)
> > > >
> > > > Heh thanks will updated to:
> > > >
> > > > This allows booting ti81xx boards when a .dts file
> > > > is in place.
> > >
> > > This too needs to be in a separate ifdef CONFIG_SOC_TI81XX block
> > > to avoid make randconfig build errors. Updated patch below.
> > >
> > > Regards,
> > >
> > > Tony
> > >
> > > 8< -----------------
> > > From: Tony Lindgren <tony@atomide.com>
> > > Date: Mon, 19 Jan 2015 10:38:07 -0800
> > > Subject: [PATCH] ARM: OMAP2+: Add board-generic.c entry for ti81xx
> > >
> > > This allows booting ti81xx boards when a .dts file
> > > is in place.
> > >
> > > Cc: Brian Hutchinson <b.hutchman@gmail.com>
> > > Signed-off-by: Tony Lindgren <tony@atomide.com>
> > >
> > > --- a/arch/arm/mach-omap2/board-generic.c
> > > +++ b/arch/arm/mach-omap2/board-generic.c
> > > @@ -142,6 +142,42 @@ DT_MACHINE_START(AM3517_DT, "Generic AM3517 (Flattened Device Tree)")
> > > .dt_compat = am3517_boards_compat,
> > > .restart = omap3xxx_restart,
> > > MACHINE_END
> > > +
> > > +static const char *const ti814x_boards_compat[] __initconst = {
> >
> > should this definition be within that ifdef too ?
>
> Oops yes totally thanks for catching that. Updated patch below.
>
> Regards,
>
> Tony
>
> 8< -----------------
> From: Tony Lindgren <tony@atomide.com>
> Date: Mon, 19 Jan 2015 10:38:07 -0800
> Subject: [PATCH] ARM: OMAP2+: Add board-generic.c entry for ti81xx
>
> This allows booting ti81xx boards when a .dts file
> is in place.
>
> Cc: Brian Hutchinson <b.hutchman@gmail.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
>
> --- a/arch/arm/mach-omap2/board-generic.c
> +++ b/arch/arm/mach-omap2/board-generic.c
> @@ -144,6 +144,42 @@ DT_MACHINE_START(AM3517_DT, "Generic AM3517 (Flattened Device Tree)")
> MACHINE_END
> #endif
>
> +#ifdef CONFIG_SOC_TI81XX
> +static const char *const ti814x_boards_compat[] __initconst = {
> + "ti,dm8148",
> + "ti,dm814",
> + NULL,
> +};
> +
> +DT_MACHINE_START(TI81XX_DT, "Generic ti814x (Flattened Device Tree)")
> + .reserve = omap_reserve,
> + .map_io = ti81xx_map_io,
> + .init_early = ti814x_init_early,
> + .init_machine = omap_generic_init,
> + .init_late = ti81xx_init_late,
> + .init_time = omap3_gptimer_timer_init,
> + .dt_compat = ti814x_boards_compat,
> + .restart = ti81xx_restart,
> +MACHINE_END
> +
> +static const char *const ti816x_boards_compat[] __initconst = {
> + "ti,dm8168",
> + "ti,dm816",
> + NULL,
> +};
> +
> +DT_MACHINE_START(TI816X_DT, "Generic ti816x (Flattened Device Tree)")
> + .reserve = omap_reserve,
> + .map_io = ti81xx_map_io,
> + .init_early = ti816x_init_early,
> + .init_machine = omap_generic_init,
> + .init_late = ti81xx_init_late,
> + .init_time = omap3_gptimer_timer_init,
> + .dt_compat = ti816x_boards_compat,
> + .restart = ti81xx_restart,
> +MACHINE_END
> +#endif
> +
> #ifdef CONFIG_SOC_AM33XX
> static const char *const am33xx_boards_compat[] __initconst = {
> "ti,am33xx",
--
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150119/3d1c8a18/attachment.sig>
next prev parent reply other threads:[~2015-01-19 21:11 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-13 23:37 [PATCH 0/4] Device tree related changes to boot dm816x Tony Lindgren
2015-01-13 23:37 ` Tony Lindgren
2015-01-13 23:37 ` [PATCH 1/4] ARM: OMAP2+: Add board-generic.c entry for ti81xx Tony Lindgren
2015-01-13 23:37 ` Tony Lindgren
2015-01-14 13:51 ` Sergei Shtylyov
2015-01-14 13:51 ` Sergei Shtylyov
2015-01-15 0:07 ` Tony Lindgren
2015-01-15 0:07 ` Tony Lindgren
2015-01-19 19:18 ` Tony Lindgren
2015-01-19 19:18 ` Tony Lindgren
2015-01-19 20:42 ` Felipe Balbi
2015-01-19 20:42 ` Felipe Balbi
2015-01-19 21:05 ` Tony Lindgren
2015-01-19 21:05 ` Tony Lindgren
2015-01-19 21:10 ` Felipe Balbi [this message]
2015-01-19 21:10 ` Felipe Balbi
2015-01-13 23:37 ` [PATCH 2/4] ARM: dts: Add basic dm816x device tree configuration Tony Lindgren
2015-01-13 23:37 ` Tony Lindgren
2015-01-15 21:23 ` Suman Anna
2015-01-15 21:23 ` Suman Anna
2015-01-15 22:59 ` Tony Lindgren
2015-01-15 22:59 ` Tony Lindgren
2015-01-17 16:41 ` Tony Lindgren
2015-01-17 16:41 ` Tony Lindgren
2015-01-13 23:37 ` [PATCH 3/4] ARM: dts: Add basic clocks for dm816x Tony Lindgren
2015-01-13 23:37 ` Tony Lindgren
2015-01-13 23:37 ` [PATCH 4/4] ARM: dts: Add minimal support for dm8168-evm Tony Lindgren
2015-01-13 23:37 ` Tony Lindgren
2015-01-17 16:47 ` Tony Lindgren
2015-01-17 16:47 ` Tony Lindgren
2015-01-17 17:51 ` Matthijs van Duin
2015-01-17 17:51 ` Matthijs van Duin
2015-01-17 18:14 ` Tony Lindgren
2015-01-17 18:14 ` Tony Lindgren
2015-01-17 22:37 ` Matthijs van Duin
2015-01-17 22:37 ` Matthijs van Duin
2015-01-19 17:29 ` Tony Lindgren
2015-01-19 17:29 ` Tony Lindgren
2015-01-22 3:17 ` Matthijs van Duin
2015-01-22 3:17 ` Matthijs van Duin
2015-01-23 16:47 ` Tony Lindgren
2015-01-23 16:47 ` Tony Lindgren
2015-01-25 8:34 ` Matthijs van Duin
2015-01-25 8:34 ` Matthijs van Duin
2015-01-26 15:58 ` Tony Lindgren
2015-01-26 15:58 ` Tony Lindgren
2015-01-28 21:43 ` Matthijs van Duin
2015-01-28 21:43 ` Matthijs van Duin
2015-02-02 17:44 ` Tony Lindgren
2015-02-02 17:44 ` Tony Lindgren
2015-02-03 5:51 ` Matthijs van Duin
2015-02-03 5:51 ` Matthijs van Duin
2015-01-28 17:04 ` Tony Lindgren
2015-01-28 17:04 ` Tony Lindgren
2015-02-01 1:51 ` Matthijs van Duin
2015-02-01 1:51 ` Matthijs van Duin
2015-02-02 16:09 ` Tony Lindgren
2015-02-02 16:09 ` Tony Lindgren
2015-03-18 0:06 ` Tony Lindgren
2015-03-18 0:06 ` Tony Lindgren
2015-03-18 8:32 ` Matthijs van Duin
2015-03-18 8:32 ` Matthijs van Duin
2015-03-18 16:54 ` Tony Lindgren
2015-03-18 16:54 ` Tony Lindgren
2015-03-19 5:13 ` Matthijs van Duin
2015-03-19 5:13 ` Matthijs van Duin
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=20150119211024.GT20386@saruman \
--to=balbi@ti.com \
--cc=b.hutchman@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=sergei.shtylyov@cogentembedded.com \
--cc=tony@atomide.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 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.