public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC/PATCH] drivers/of/platform: Add powerpc 4xx embedded busses to default list
@ 2017-09-01  3:51 Benjamin Herrenschmidt
  2017-09-01  5:10 ` Greg Kroah-Hartman
  2017-09-01 15:24 ` Rob Herring
  0 siblings, 2 replies; 6+ messages in thread
From: Benjamin Herrenschmidt @ 2017-09-01  3:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: Greg Kroah-Hartman, Rob Herring, devicetree

This allow to (slowly) migrate those embedded platforms
to of_platform_default_populate()

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---

I'm here to collect acks (or comments :-) I'd like this to go via
the powerpc tree along with the patches converting some of the
platforms. I'll be adding more bus types if/when I start tackling
other powerpc embedded families but for now I'm dealing with 4xx.

 drivers/of/platform.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/of/platform.c b/drivers/of/platform.c
index b19524623498..f3f2aab4eda1 100644
--- a/drivers/of/platform.c
+++ b/drivers/of/platform.c
@@ -34,6 +34,12 @@ const struct of_device_id of_default_bus_match_table[] = {
 #ifdef CONFIG_ARM_AMBA
 	{ .compatible = "arm,amba-bus", },
 #endif /* CONFIG_ARM_AMBA */
+#ifdef CONFIG_PPC
+	{ .compatible = "ibm,plb3", },
+	{ .compatible = "ibm,plb4", },
+	{ .compatible = "ibm,opb", },
+	{ .compatible = "ibm,ebc", },
+#endif
 	{} /* Empty terminated list */
 };
 

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

end of thread, other threads:[~2017-09-05 22:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-01  3:51 [RFC/PATCH] drivers/of/platform: Add powerpc 4xx embedded busses to default list Benjamin Herrenschmidt
2017-09-01  5:10 ` Greg Kroah-Hartman
2017-09-01 15:24 ` Rob Herring
2017-09-01 23:47   ` Benjamin Herrenschmidt
2017-09-05 14:25     ` Rob Herring
2017-09-05 22:00       ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox