[RFC] IIO: Add hardware triggers support to the AT91 ADC driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi list,

here is a patchset that adds the hardware triggers support to the at91_adc
driver that only supported software triggers so far.

Please note that this is NOT for inclusion, only for review for now, as there is
no support for buffers and triggers out of staging out of staging, and the first
patches only duplicate the at91_adc driver I submitted out of staging.

So basically, the important patches at the 4th and 5th.

The fourth rework the way I declared the platform_data, in a more DT-compliant
way. I needed it for the available triggers declaration. I will surely backport
this part soon to the out-of-staging driver, because it will certainly be useful
to it.

The fifth one adds the triggers and buffers support to the driver in itself.
While the whole dynamic triggers declaration might seem overkill for now as I
only support the sam9g20-ek board, support for other atmel boards will come soon
and I surely need that in place.
On the downside, it probably needs some more work. Jonathan suggested earlier
that kfifo is a more convenient backend for the buffer, so I might switch to it
in the future. Also, I have not been able to test the timer counters triggers,
only the external for now.

This patchset is based on the commit 3413ec44 from Jonathan's master tree.

So please, take a look.
Thanks,
Maxime

Cc: Patrice Vilchez <patrice.vilchez@xxxxxxxxx>
Cc: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxxxxxxxxx>
Cc: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>

--
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


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux