devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mach-ux500: add devicetree compat nodes
@ 2011-11-11 15:05 Niklas Hernaeus
       [not found] ` <1321023902-18870-1-git-send-email-niklas.hernaeus-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Niklas Hernaeus @ 2011-11-11 15:05 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	Rob.Herring.rob.herring-bsGFqQB8/DxBDgjK7y7TUQ
  Cc: Nicolas.Pitre.nicolas.pitre-QSEj5FYQhm4dnm+yROfE0A,
	Grant.Likely.grant.likely-s3s/WqlpOiPyB63q8FvJNQ,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

From: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>

This adds devicetree compat members to all the U8500 reference
boards.

Signed-off-by: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
---
 arch/arm/mach-ux500/board-mop500.c |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index cd54aba..7cbefa7 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -643,6 +643,21 @@ static void __init mop500_init_machine(void)
 	regulator_has_full_constraints();
 }
 
+static const char * mop500_dt_board_compat[] = {
+	"stericsson,mop500",
+	NULL
+};
+
+static const char * hrefv60_dt_board_compat[] = {
+	"stericsson,hrefv60",
+	NULL
+};
+
+static const char * snowball_dt_board_compat[] = {
+	"stericsson,snowball",
+	NULL
+};
+
 MACHINE_START(U8500, "ST-Ericsson MOP500 platform")
 	/* Maintainer: Srinidhi Kasagar <srinidhi.kasagar-0IS4wlFg1OjSUeElwK9/Pw@public.gmane.org> */
 	.boot_params	= 0x100,
@@ -651,6 +666,7 @@ MACHINE_START(U8500, "ST-Ericsson MOP500 platform")
 	/* we re-use nomadik timer here */
 	.timer		= &ux500_timer,
 	.init_machine	= mop500_init_machine,
+	.dt_compat	= mop500_dt_board_compat,
 MACHINE_END
 
 MACHINE_START(HREFV60, "ST-Ericsson U8500 Platform HREFv60+")
@@ -659,6 +675,7 @@ MACHINE_START(HREFV60, "ST-Ericsson U8500 Platform HREFv60+")
 	.init_irq	= ux500_init_irq,
 	.timer		= &ux500_timer,
 	.init_machine	= mop500_init_machine,
+	.dt_compat	= hrefv60_dt_board_compat,
 MACHINE_END
 
 MACHINE_START(SNOWBALL, "Calao Systems Snowball platform")
@@ -668,4 +685,5 @@ MACHINE_START(SNOWBALL, "Calao Systems Snowball platform")
 	/* we re-use nomadik timer here */
 	.timer		= &ux500_timer,
 	.init_machine	= mop500_init_machine,
+	.dt_compat	= snowball_dt_board_compat,
 MACHINE_END
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [PATCH] mach-ux500: add devicetree compat nodes
@ 2011-11-11 15:17 Niklas Hernaeus
  0 siblings, 0 replies; 8+ messages in thread
From: Niklas Hernaeus @ 2011-11-11 15:17 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Rob Herring
  Cc: Nicolas Pitre, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

From: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>

This adds devicetree compat members to all the U8500 reference
boards.

Signed-off-by: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
---
 arch/arm/mach-ux500/board-mop500.c |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index cd54aba..7cbefa7 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -643,6 +643,21 @@ static void __init mop500_init_machine(void)
 	regulator_has_full_constraints();
 }
 
+static const char * mop500_dt_board_compat[] = {
+	"stericsson,mop500",
+	NULL
+};
+
+static const char * hrefv60_dt_board_compat[] = {
+	"stericsson,hrefv60",
+	NULL
+};
+
+static const char * snowball_dt_board_compat[] = {
+	"stericsson,snowball",
+	NULL
+};
+
 MACHINE_START(U8500, "ST-Ericsson MOP500 platform")
 	/* Maintainer: Srinidhi Kasagar <srinidhi.kasagar-0IS4wlFg1OjSUeElwK9/Pw@public.gmane.org> */
 	.boot_params	= 0x100,
@@ -651,6 +666,7 @@ MACHINE_START(U8500, "ST-Ericsson MOP500 platform")
 	/* we re-use nomadik timer here */
 	.timer		= &ux500_timer,
 	.init_machine	= mop500_init_machine,
+	.dt_compat	= mop500_dt_board_compat,
 MACHINE_END
 
 MACHINE_START(HREFV60, "ST-Ericsson U8500 Platform HREFv60+")
@@ -659,6 +675,7 @@ MACHINE_START(HREFV60, "ST-Ericsson U8500 Platform HREFv60+")
 	.init_irq	= ux500_init_irq,
 	.timer		= &ux500_timer,
 	.init_machine	= mop500_init_machine,
+	.dt_compat	= hrefv60_dt_board_compat,
 MACHINE_END
 
 MACHINE_START(SNOWBALL, "Calao Systems Snowball platform")
@@ -668,4 +685,5 @@ MACHINE_START(SNOWBALL, "Calao Systems Snowball platform")
 	/* we re-use nomadik timer here */
 	.timer		= &ux500_timer,
 	.init_machine	= mop500_init_machine,
+	.dt_compat	= snowball_dt_board_compat,
 MACHINE_END
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-11-11 17:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-11 15:05 [PATCH] mach-ux500: add devicetree compat nodes Niklas Hernaeus
     [not found] ` <1321023902-18870-1-git-send-email-niklas.hernaeus-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2011-11-11 15:17   ` Rob Herring
     [not found]     ` <4EBD3C85.1010508-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-11-11 15:59       ` Linus Walleij
     [not found]         ` <CACRpkda-9OVP8E1qO3Nc5znw_v7cKFiv8T5HHwTCnY2C9Fg7iA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-11-11 16:13           ` Rob Herring
     [not found]             ` <4EBD49A6.2020306-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-11-11 16:26               ` Linus Walleij
     [not found]                 ` <CACRpkdZrWW2jUYC0P7yY322YMdn9+4_NaGPhKtpGwR+e=F6+0A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-11-11 16:38                   ` Rob Herring
     [not found]                     ` <4EBD4F79.90302-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-11-11 17:00                       ` Linus Walleij
  -- strict thread matches above, loose matches on Subject: below --
2011-11-11 15:17 Niklas Hernaeus

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).