linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 85xx: Add several root nodes to probe
@ 2025-04-22  2:40 Ben Collins
  2025-10-10 14:29 ` Christophe Leroy
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Collins @ 2025-04-22  2:40 UTC (permalink / raw)
  To: linuxppc-dev
  Cc: Scott Wood, Madhavan Srinivasan, Michael Ellerman, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1400 bytes --]

T4240 fails to hafve ifc, rapidio, and localbus probed.

This matches other QorIQ platforms and ensures devices under these nodes
get added as platform devices.

Signed-off-by: Ben Collins <bcollins@kernel.org>
Cc: Scott Wood <oss@buserror.net>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: linux-kernel@vger.kernel.org
---
 arch/powerpc/platforms/85xx/corenet_generic.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/powerpc/platforms/85xx/corenet_generic.c b/arch/powerpc/platforms/85xx/corenet_generic.c
index c44400e95f551..c81b8a47f3b0f 100644
--- a/arch/powerpc/platforms/85xx/corenet_generic.c
+++ b/arch/powerpc/platforms/85xx/corenet_generic.c
@@ -61,6 +61,9 @@ static const struct of_device_id of_device_ids[] = {
 	{
 		.compatible	= "simple-bus"
 	},
+	{
+		.compatible	= "fsl,ifc"
+	},
 	{
 		.compatible	= "mdio-mux-gpio"
 	},
@@ -91,6 +94,12 @@ static const struct of_device_id of_device_ids[] = {
 	{
 		.compatible	= "fsl,qe",
 	},
+	{
+		.name           = "localbus",
+	},
+	{
+		.name		= "rapidio",
+	},
 	/* The following two are for the Freescale hypervisor */
 	{
 		.name		= "hypervisor",
-- 
2.49.0


-- 
 Ben Collins
 https://libjwt.io
 https://github.com/benmcollins
 --
 3EC9 7598 1672 961A 1139  173A 5D5A 57C7 242B 22CF

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH] 85xx: Add several root nodes to probe
  2025-04-22  2:40 [PATCH] 85xx: Add several root nodes to probe Ben Collins
@ 2025-10-10 14:29 ` Christophe Leroy
  0 siblings, 0 replies; 2+ messages in thread
From: Christophe Leroy @ 2025-10-10 14:29 UTC (permalink / raw)
  To: linuxppc-dev, Scott Wood, Madhavan Srinivasan, Michael Ellerman,
	linux-kernel



Le 22/04/2025 à 04:40, Ben Collins a écrit :
> T4240 fails to hafve ifc, rapidio, and localbus probed.
> 
> This matches other QorIQ platforms and ensures devices under these nodes
> get added as platform devices.

What do you mean by "this matches other platforms" ? I can't grep any 
other platform file with "fsl,ifc" or "rapidio"

Christophe

> 
> Signed-off-by: Ben Collins <bcollins@kernel.org>
> Cc: Scott Wood <oss@buserror.net>
> Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
> Cc: Michael Ellerman <mpe@ellerman.id.au>
> Cc: linuxppc-dev@lists.ozlabs.org
> Cc: linux-kernel@vger.kernel.org
> ---
>   arch/powerpc/platforms/85xx/corenet_generic.c | 9 +++++++++
>   1 file changed, 9 insertions(+)
> 
> diff --git a/arch/powerpc/platforms/85xx/corenet_generic.c b/arch/powerpc/platforms/85xx/corenet_generic.c
> index c44400e95f551..c81b8a47f3b0f 100644
> --- a/arch/powerpc/platforms/85xx/corenet_generic.c
> +++ b/arch/powerpc/platforms/85xx/corenet_generic.c
> @@ -61,6 +61,9 @@ static const struct of_device_id of_device_ids[] = {
>   	{
>   		.compatible	= "simple-bus"
>   	},
> +	{
> +		.compatible	= "fsl,ifc"
> +	},
>   	{
>   		.compatible	= "mdio-mux-gpio"
>   	},
> @@ -91,6 +94,12 @@ static const struct of_device_id of_device_ids[] = {
>   	{
>   		.compatible	= "fsl,qe",
>   	},
> +	{
> +		.name           = "localbus",
> +	},
> +	{
> +		.name		= "rapidio",
> +	},
>   	/* The following two are for the Freescale hypervisor */
>   	{
>   		.name		= "hypervisor",



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

end of thread, other threads:[~2025-10-10 14:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-22  2:40 [PATCH] 85xx: Add several root nodes to probe Ben Collins
2025-10-10 14:29 ` Christophe Leroy

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