Re: McBSP functions not exported

2013-01-16 Thread Peter Ujfalusi
Hi, On 01/15/2013 06:43 PM, Paul Barker wrote: > I've written a quick driver which issues SPI reads in response to hrtimer > events > to see if this is possible. I'm getting a rough average latency of 100us > between > calling spi_async() and the clock signal changing. This is no use for reading

Re: McBSP functions not exported

2013-01-15 Thread Jarkko Nikula
Hi On Tue, 15 Jan 2013 17:43:54 + Paul Barker wrote: > I'm going to go back to using kernel 3.2 and check that this actually > works > with the McBSP. If it does, how much hassle is it to export the > required symbols > in more recent kernels? I'll happily write the patch, I just don't wan

Re: McBSP functions not exported

2013-01-15 Thread Paul Barker
Hi, On 2013-01-14 08:48, Peter Ujfalusi wrote: On 01/11/2013 05:27 PM, Paul Barker wrote: I've just been having a look at the McSPI interface and SPI code in the kernel. I can see how to wire this up, use the processor as SPI master and the ADC as SPI slave, get the clock running, etc. I n

Re: McBSP functions not exported

2013-01-14 Thread Peter Ujfalusi
Hi, On 01/11/2013 05:27 PM, Paul Barker wrote: >> What functions you were using from the McBSP driver(s)? > > I'm just using the request, free, start, stop and config functions, then > using DMA to copy data. OK. >> I have taken a brief look at ADS1672 datasheet. At first glance I would think >

Re: McBSP functions not exported

2013-01-11 Thread Paul Barker
On 2013-01-11 13:17, Peter Ujfalusi wrote: Hi, On 01/11/2013 12:48 PM, Paul Barker wrote: Hi, I'm currently working on a driver to talk to an analog-to-digital converter (specifically a Texas Instruments ADS1672) connected to the McBSP port on a Beagleboard-xM. I'm currently building my drive

Re: McBSP functions not exported

2013-01-11 Thread Peter Ujfalusi
Hi, On 01/11/2013 12:48 PM, Paul Barker wrote: > Hi, > > I'm currently working on a driver to talk to an analog-to-digital > converter (specifically a Texas Instruments ADS1672) connected to the > McBSP port on a Beagleboard-xM. I'm currently building my driver module > against a 3.2 series kerne

McBSP functions not exported

2013-01-11 Thread Paul Barker
Hi, I'm currently working on a driver to talk to an analog-to-digital converter (specifically a Texas Instruments ADS1672) connected to the McBSP port on a Beagleboard-xM. I'm currently building my driver module against a 3.2 series kernel with Beagleboard patches and config from https://github.co