Thread (3 messages) flat view 3 messages, 2 authors, 2012-01-13

spi device from handle

From: Michael Remski <hidden>
Date: 2012-01-12 16:11:15

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help