linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Can't load module spi_mpc83xx : No such device
@ 2009-02-27  4:56 Dushara Jayasinghe
  2009-02-27 12:54 ` Anton Vorontsov
  0 siblings, 1 reply; 5+ messages in thread
From: Dushara Jayasinghe @ 2009-02-27  4:56 UTC (permalink / raw)
  To: linuxppc-dev@ozlabs.org

Hi all,

I'm using linux version 2.6.29-rc5.

I've compiled the SPI diver (spi_mpc83xx.c) as a module, but it fails the l=
oad with a "No such device" error.

I've managed to track it down to platform_driver_probe() in drivers/base/pl=
atform.c=20
which returns -ENODEV because a device list is empty.

Not sure what I'm doing wrong.=20

Part of my device tree is as follows:

	soc8349@e0000000 {
		...
		spi@7000 {
			#address-cells =3D <1>;
			#size-cells =3D <0>;
			compatible =3D "fsl,spi";
			reg =3D <0x7000 0x1000>;
			interrupts =3D <0x10 0x8>;
			interrupt-parent =3D < &ipic >;

			m25p40@2 {
				compatible =3D "m25p80";
				spi-max-frequency =3D <25000000>;
				reg =3D <2>;
			};
		};
		...
	};

Thanks
D

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

end of thread, other threads:[~2009-03-03 12:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-27  4:56 Can't load module spi_mpc83xx : No such device Dushara Jayasinghe
2009-02-27 12:54 ` Anton Vorontsov
2009-02-28 16:07   ` mpc8349e-mitx 2.6.25 serial IRQ assigned wrong Steve DeLaney
2009-03-03  4:11   ` Can't load module spi_mpc83xx : No such device Dushara Jayasinghe
2009-03-03 12:41     ` Anton Vorontsov

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