On 17/03/15 10:40, Isak Lichtenstein wrote: > > Hi everybody, > > I've started using the TI-am335x-adc driver in continuous mode on our custom board with AM3359 and yocto-linux-standard 3.17 and get a weird behavior when testing it using generic_buffer.c > > Every now and then channel 0 seems to contain the value of channel 1, see the attached output of the following command: ./genericBuffer -n TI-am335x-adc -l 128 -c 100 ( I've added tabs to make it more readable). > > > Is this a driver bug ( maybe already patched after 3.17 ), or is my board not properly configured? > > I'm not using the TSC and my device tree is configured as follows: > > #include "am33xx.dtsi" > > &tscadc { > status = "okay"; > /* > tsc { > ti,wires = <4>; > ti,x-plate-resistance = <200>; > ti,coordinate-readouts = <5>; > ti,wire-config = <0x00 0x11 0x22 0x33>; > }; > */ > > adc { > ti,adc-channels = <0 1 2 3 4 5 6 7>; > }; > }; > > > Thanks in advance for your advice. > > Best regards > > Isak Lichtenstein > Zubair, any thought on this? (or anyone else for that matter!) -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html