From: James Hogan <james.hogan@imgtec.com>
To: James Hogan <james.hogan@imgtec.com>
Cc: linux-kernel@vger.kernel.org,
Grant Likely <grant.likely@secretlab.ca>,
Rob Herring <rob.herring@calxeda.com>,
Arnd Bergmann <arnd@arndb.de>,
devicetree-discuss@lists.ozlabs.org
Subject: Re: [PATCH v2 1/9] metag: of_platform_populate from arch generic code
Date: Thu, 13 Jun 2013 13:44:05 +0100 [thread overview]
Message-ID: <51B9BE95.6090604@imgtec.com> (raw)
In-Reply-To: <1369412476-14245-2-git-send-email-james.hogan@imgtec.com>
On 24/05/13 17:21, James Hogan wrote:
> If no init_machine callback is provided, call of_platform_populate()
> instead. This allows a board/SoC that only needs to call
> of_platform_populate to omit the callback altogether.
>
> Signed-off-by: James Hogan <james.hogan@imgtec.com>
> Cc: Grant Likely <grant.likely@secretlab.ca>
> Cc: Rob Herring <rob.herring@calxeda.com>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: devicetree-discuss@lists.ozlabs.org
I've applied this patch for v3.11
Cheers
James
> ---
> arch/metag/kernel/setup.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/metag/kernel/setup.c b/arch/metag/kernel/setup.c
> index 4f5726f..e18cebb 100644
> --- a/arch/metag/kernel/setup.c
> +++ b/arch/metag/kernel/setup.c
> @@ -20,6 +20,7 @@
> #include <linux/memblock.h>
> #include <linux/mm.h>
> #include <linux/of_fdt.h>
> +#include <linux/of_platform.h>
> #include <linux/pfn.h>
> #include <linux/root_dev.h>
> #include <linux/sched.h>
> @@ -424,6 +425,9 @@ static int __init customize_machine(void)
> /* customizes platform devices, or adds new ones */
> if (machine_desc->init_machine)
> machine_desc->init_machine();
> + else
> + of_platform_populate(NULL, of_default_bus_match_table, NULL,
> + NULL);
> return 0;
> }
> arch_initcall(customize_machine);
>
WARNING: multiple messages have this Message-ID (diff)
From: James Hogan <james.hogan@imgtec.com>
To: James Hogan <james.hogan@imgtec.com>
Cc: <linux-kernel@vger.kernel.org>,
Grant Likely <grant.likely@secretlab.ca>,
Rob Herring <rob.herring@calxeda.com>,
Arnd Bergmann <arnd@arndb.de>,
<devicetree-discuss@lists.ozlabs.org>
Subject: Re: [PATCH v2 1/9] metag: of_platform_populate from arch generic code
Date: Thu, 13 Jun 2013 13:44:05 +0100 [thread overview]
Message-ID: <51B9BE95.6090604@imgtec.com> (raw)
In-Reply-To: <1369412476-14245-2-git-send-email-james.hogan@imgtec.com>
On 24/05/13 17:21, James Hogan wrote:
> If no init_machine callback is provided, call of_platform_populate()
> instead. This allows a board/SoC that only needs to call
> of_platform_populate to omit the callback altogether.
>
> Signed-off-by: James Hogan <james.hogan@imgtec.com>
> Cc: Grant Likely <grant.likely@secretlab.ca>
> Cc: Rob Herring <rob.herring@calxeda.com>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: devicetree-discuss@lists.ozlabs.org
I've applied this patch for v3.11
Cheers
James
> ---
> arch/metag/kernel/setup.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/metag/kernel/setup.c b/arch/metag/kernel/setup.c
> index 4f5726f..e18cebb 100644
> --- a/arch/metag/kernel/setup.c
> +++ b/arch/metag/kernel/setup.c
> @@ -20,6 +20,7 @@
> #include <linux/memblock.h>
> #include <linux/mm.h>
> #include <linux/of_fdt.h>
> +#include <linux/of_platform.h>
> #include <linux/pfn.h>
> #include <linux/root_dev.h>
> #include <linux/sched.h>
> @@ -424,6 +425,9 @@ static int __init customize_machine(void)
> /* customizes platform devices, or adds new ones */
> if (machine_desc->init_machine)
> machine_desc->init_machine();
> + else
> + of_platform_populate(NULL, of_default_bus_match_table, NULL,
> + NULL);
> return 0;
> }
> arch_initcall(customize_machine);
>
next prev parent reply other threads:[~2013-06-13 12:44 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-24 16:21 [PATCH v2 0/9] Add some TZ1090 SoC infrastructure James Hogan
2013-05-24 16:21 ` James Hogan
[not found] ` <1369412476-14245-1-git-send-email-james.hogan-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2013-05-24 16:21 ` [PATCH v2 1/9] metag: of_platform_populate from arch generic code James Hogan
2013-05-24 16:21 ` James Hogan
2013-06-13 12:44 ` James Hogan [this message]
2013-06-13 12:44 ` James Hogan
2013-05-24 16:21 ` [PATCH v2 6/9] pinctrl-tz1090: add TZ1090 pinctrl driver James Hogan
2013-05-24 16:21 ` James Hogan
2013-05-28 6:48 ` Linus Walleij
2013-05-24 16:21 ` [PATCH v2 2/9] metag: minimal TZ1090 (Comet) SoC infrastructure James Hogan
2013-05-24 16:21 ` James Hogan
2013-06-13 12:44 ` James Hogan
2013-06-13 12:44 ` James Hogan
2013-05-24 16:21 ` [PATCH v2 3/9] irq-imgpdc: add ImgTec PDC irqchip driver James Hogan
2013-05-24 16:21 ` James Hogan
2013-05-24 16:21 ` [PATCH v2 4/9] pinconf-generic: add drive strength to debugfs output James Hogan
2013-05-28 6:37 ` Linus Walleij
2013-05-28 6:50 ` Linus Walleij
2013-05-24 16:21 ` [PATCH v2 5/9] pinconf-generic: add BIAS_BUS_HOLD pinconf James Hogan
2013-05-28 6:36 ` Linus Walleij
2013-05-28 6:51 ` Linus Walleij
2013-05-24 16:21 ` [PATCH v2 7/9] gpio-tz1090: add TZ1090 gpio driver James Hogan
2013-05-24 16:21 ` James Hogan
2013-05-29 15:32 ` Linus Walleij
2013-05-29 16:06 ` James Hogan
2013-05-29 19:03 ` Andy Shevchenko
2013-05-24 16:21 ` [PATCH v2 8/9] pinctrl-tz1090-pdc: add TZ1090 PDC pinctrl driver James Hogan
2013-05-24 16:21 ` James Hogan
2013-05-29 15:36 ` Linus Walleij
2013-05-24 16:21 ` [PATCH v2 9/9] gpio-tz1090-pdc: add TZ1090 PDC gpio driver James Hogan
2013-05-24 16:21 ` James Hogan
2013-05-29 15:38 ` Linus Walleij
2013-05-29 16:12 ` James Hogan
2013-05-31 12:17 ` James Hogan
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=51B9BE95.6090604@imgtec.com \
--to=james.hogan@imgtec.com \
--cc=arnd@arndb.de \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=grant.likely@secretlab.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=rob.herring@calxeda.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.