All of lore.kernel.org
 help / color / mirror / Atom feed
From: gerg@uclinux.org (Greg Ungerer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv3] ARM: imx: add support code for IMX50 based machines
Date: Tue, 05 Nov 2013 12:56:32 +1000	[thread overview]
Message-ID: <52785E60.6000709@uclinux.org> (raw)
In-Reply-To: <20131105012432.GA19770@S2101-09.ap.freescale.net>

On 05/11/13 11:24, Shawn Guo wrote:
> On Mon, Nov 04, 2013 at 10:13:40AM +1000, gerg at uclinux.org wrote:
>> @@ -0,0 +1,36 @@
>> +/*
>> + * Copyright 2013 Greg Ungerer <gerg@uclinux.org>
>> + * Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved.
>> + * Copyright 2011 Linaro Ltd.
>> + *
>> + * The code contained herein is licensed under the GNU General Public
>> + * License. You may obtain a copy of the GNU General Public License
>> + * Version 2 or later at the following locations:
>> + *
>> + * http://www.opensource.org/licenses/gpl-license.html
>> + * http://www.gnu.org/copyleft/gpl.html
>> + */
>> +
>> +#include <linux/of_platform.h>
>> +#include <asm/mach/arch.h>
>> +
>> +#include "common.h"
>> +
>> +static void __init imx50_dt_init(void)
>> +{
> 
> We need to call mxc_arch_reset_init_dt() here to get mxc_restart() work.
> I just fixed it up and applied the patch.

Great, thanks Shawn.

Regards
Greg



>> +	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
>> +}
>> +
>> +static const char *imx50_dt_board_compat[] __initdata = {
>> +	"fsl,imx50",
>> +	NULL
>> +};
>> +
>> +DT_MACHINE_START(IMX50_DT, "Freescale i.MX50 (Device Tree Support)")
>> +	.map_io		= mx53_map_io,
>> +	.init_irq	= mx53_init_irq,
>> +	.handle_irq	= imx50_handle_irq,
>> +	.init_machine	= imx50_dt_init,
>> +	.dt_compat	= imx50_dt_board_compat,
>> +	.restart	= mxc_restart,
>> +MACHINE_END
>> -- 
>> 1.8.1.4
>>
> 
> 

      reply	other threads:[~2013-11-05  2:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-04  0:13 [PATCHv3] ARM: imx: add support code for IMX50 based machines gerg at uclinux.org
2013-11-04  3:16 ` Rob Herring
2013-11-04 13:08   ` Shawn Guo
2013-11-04 14:51 ` Jason Cooper
2013-11-04 14:57   ` Jason Cooper
2013-11-05  3:02     ` Greg Ungerer
2013-11-05  3:13       ` Shawn Guo
2013-11-05 15:57       ` Jason Cooper
2013-11-06  0:50         ` Greg Ungerer
2013-11-05  1:24 ` Shawn Guo
2013-11-05  2:56   ` Greg Ungerer [this message]

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=52785E60.6000709@uclinux.org \
    --to=gerg@uclinux.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.