All of lore.kernel.org
 help / color / mirror / Atom feed
* spi device from handle
@ 2012-01-12 16:02 Michael Remski
  2012-01-13  9:32 ` Martyn Welch
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Remski @ 2012-01-12 16:02 UTC (permalink / raw)
  To: linuxppc-dev

kernel 2.6.33

relevant section of dts has:
spi@7000 {
 	fpga0: fpga@0 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 		compatible = "fsl, espi-fpga";
 		reg = <0>;
 		linux,modalias = "spidev";
 		spi-max-frequency = <1572864>;
 	};
}


I have another device driver that needs to talk to this fpga device, but 
for the life of me I can't figure out the appropriate hooks to get there. 
The device can be talked to from userland via /dev/spixyx.k, but how do I 
get to the device from another driver?

Any little hints would be appreciated.  Upgrading kernel is not an option 
(sorry).

thanks

mike

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

end of thread, other threads:[~2012-01-13  9:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-12 16:02 spi device from handle Michael Remski
2012-01-13  9:32 ` Martyn Welch
2012-01-13  9:53   ` Michael Remski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.