3.11 ADC continuous sampling mainline patches

These patches have been mainlined. Most have appeared in 3.12
Last two will appear in 3.13. And are in the IIO branch atm.