> Any help would be much appreciated !

You would probably want to look at the drivers in drivers/iio/adc 
(and the staging drivers in drivers/staging/iio/adc)
and take one as an example for your development - maybe on is even
sufficiently compatible to your ADS1256, so that you only need to
extend the compatibility list.

To activate it instead of the default spi-dev create a device-overlay
similar to this one:
https://github.com/raspberrypi/linux/blob/rpi-3.18.y/arch/arm/boot/dts/ads7846-overlay.dts
compile it and reference it in /boot/config.txt
(here some more info on the overlays: 
https://www.raspberrypi.org/documentation/configuration/device-tree.md)

As for how to use those drivers from user-space here an introduction
to the iio framework (kernel and user-space):
https://archive.fosdem.org/2012/schedule/event/693/127_iio-a-new-subsystem.pdf


--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to