Thread (17 messages) 17 messages, 4 authors, 2007-06-29

RE: [PATCH 3/5 v2] Add the platform device support with RapidIO to MPC8641HPCN platform.

From: Zhang Wei-r63237 <hidden>
Date: 2007-06-28 06:43:17
Also in: lkml

Hi, Arnd,

=20
On Wednesday 27 June 2007, Zhang Wei wrote:
quoted
+static struct of_device_id mpc86xx_of_ids[] =3D {
+=A0=A0=A0=A0=A0=A0=A0{ .type =3D "soc", },
+=A0=A0=A0=A0=A0=A0=A0{ .compatible =3D "fsl,rapidio-delta", },
+=A0=A0=A0=A0=A0=A0=A0{},
+};
+
+static __init int mpc86xx_of_device_init(void)
+{
+=A0=A0=A0=A0=A0=A0=A0return of_platform_bus_probe(NULL, =
mpc86xx_of_ids, NULL);
quoted
+}
=20
This will add any devices below the "fsl,rapidio-delta" device
as an of_device. Is that what you actually want? I would guess that
you want to add the bridge itself, not the devices below it.
=20
Is the rapidio device at the root of the device tree, and if so, why
not under the soc bus?
=20
RapidIO is rather a bus that a device although these is no other nodes =
defined in its sector now.

Thanks!
Wei.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help