Re: spi device from handle

2012-01-13 Thread Michael Remski
Thanks Martyn. I'll look at that. The userspace interface is covered by the existing "spidev" driver. The fpga child gets enumerated and added to the spi bus as it should, it's just trying to get the "struct spi_device" is confounding me. On Fri, 13 Jan 2012, Martyn Welch wrote: On 12/01/

Re: spi device from handle

2012-01-13 Thread Martyn Welch
On 12/01/12 16:02, Michael Remski wrote: > 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

spi device from handle

2012-01-12 Thread Michael Remski
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-frequ