Re: [linux-sunxi] A20: SPI Drivers

2014-07-08 Thread Koen Kooi
Op 8 jul. 2014, om 09:30 heeft Maxime Ripard het volgende geschreven: > On Mon, Jul 07, 2014 at 09:13:42PM +0100, bruce bushby wrote: >> Thanks Koen! I think I'm starting to understand a little more now at >> least enough to have a go learning how to do it. MPU6050 is interesting >> le

Re: [linux-sunxi] A20: SPI Drivers

2014-07-08 Thread Maxime Ripard
On Mon, Jul 07, 2014 at 09:13:42PM +0100, bruce bushby wrote: > Thanks Koen! I think I'm starting to understand a little more now at > least enough to have a go learning how to do it. MPU6050 is interesting > led me to "iio" which is also interesting. Main issue is that it's i2c > and does

Re: [linux-sunxi] A20: SPI Drivers

2014-07-07 Thread bruce bushby
Thanks Koen! I think I'm starting to understand a little more now at least enough to have a go learning how to do it. MPU6050 is interesting led me to "iio" which is also interesting. Main issue is that it's i2c and doesn't offer all 9 axis.then agaain I could be talking about my a!ss

Re: [linux-sunxi] A20: SPI Drivers

2014-07-06 Thread Koen Kooi
Op 5 jul. 2014, om 23:16 heeft bruce bushby het volgende geschreven: > > Looking much better: > # ls -l /dev/*spi* > crw---1 root root 153, 0 Jan 10 13:51 /dev/spidev0.0 > # > > > I added an spidev childnode to my spi1 node like so: > > spi1: spi@01c06000

Re: [linux-sunxi] A20: SPI Drivers

2014-07-01 Thread Emilio López
Hi there, El 01/07/14 18:47, bruce bushby escribió: Hi I wanted to ask if anybody has tried to build spi-sun7.c for mainline kernels? I followed this excellent guide: http://will-tm.com/spi-on-the-cubieboard2/ ...but the compile fails with drivers/spi/spi-sun7i.c:30:22: fatal error: mach/dm

[linux-sunxi] A20: SPI Drivers

2014-07-01 Thread bruce bushby
Hi I wanted to ask if anybody has tried to build spi-sun7.c for mainline kernels? I followed this excellent guide: http://will-tm.com/spi-on-the-cubieboard2/ ...but the compile fails with drivers/spi/spi-sun7i.c:30:22: fatal error: mach/dma.h: No such file or directory #include