linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2] Add ADC driver for G20 and G45 evaluation boards
@ 2012-04-18 13:33 Maxime Ripard
  2012-04-18 13:33 ` [PATCH 1/6] ARM: AT91: Add platform data for the AT91 ADCs Maxime Ripard
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Maxime Ripard @ 2012-04-18 13:33 UTC (permalink / raw)
  To: linux-iio, linux-arm-kernel

Hi all,

Here is the improved version of what I've been posting some time ago.
Some things changed since last version:
  - Support for Hardware triggers for the G20 has been added
  - Support for the AT91SAM9M10G45 board has been added too, both for
    software and hardware triggers
  - The driver is now in drivers/staging/iio to include all these features.

The first three patches should not have changed much since last post, so it
should be pretty ok.

Changes since v1:
  - Added DT bindings
  - Removed the clock_name field and used adc_clk instead. Used CLKDEV_CON_ID
    for the G45.
  - Misc fixes:
    * Added clk_prepare
    * Replaced kcalloc by devm_kzalloc for the trigger allocation

Thanks,
Maxime


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [RFC v2] IIO: Add hardware triggers support to the AT91 ADC driver
@ 2011-12-07 18:25 Maxime Ripard
  2011-12-07 18:25 ` [PATCH 3/6] ARM: AT91: Add the ADC to the sam9g20ek board Maxime Ripard
  0 siblings, 1 reply; 12+ messages in thread
From: Maxime Ripard @ 2011-12-07 18:25 UTC (permalink / raw)
  To: linux-iio; +Cc: Patrice Vilchez, Nicolas Ferre, Thomas Petazzoni

Hi all,

This is a follow-up of the previous patchset about hardware triggers for the
ADC on AT91.

This is still not for inclusion, as it relies on a duplication of !staging code.
But basically, I'm submitting it for review and be sure I do everything right.
Moreover, it will save some iterations when the time for it to be included will
come.

I should have addressed all the points made by Jonathan in the v1, but here is
what changed:
  - Fix the timestamp declaration. scan_timestamp was set to true, but no
channel was declared for it. It is obviously wrong.
  - Rebased on brand new patches, instead of outdated branch. This patch now
requires the buffer clean ups and scan demux unit patchsets from Jonathan and
the brand new wrapper functions introduced by Lars Peter.
  - Renamed the triggers to be more explicit
  - Lot of small fixes and improvements: use ALIGN, change the location of
IRQ acknowledgements, etc.
  - Added comments, switched to kernel doc for the structure declarations
  - split the cosmetic changes into a new commit

Thanks,
Maxime

Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-04-18 18:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-18 13:33 [PATCHv2] Add ADC driver for G20 and G45 evaluation boards Maxime Ripard
2012-04-18 13:33 ` [PATCH 1/6] ARM: AT91: Add platform data for the AT91 ADCs Maxime Ripard
2012-04-18 13:33 ` [PATCH 2/6] ARM: AT91: IIO: Add AT91 ADC driver Maxime Ripard
2012-04-18 17:52   ` Jonathan Cameron
2012-04-18 13:33 ` [PATCH 3/6] ARM: AT91: Add the ADC to the sam9g20ek board Maxime Ripard
2012-04-18 17:54   ` Jonathan Cameron
2012-04-18 13:33 ` [PATCH 4/6] IIO: AT91: ADC: Add support for the AT91SAM9M10G45-EK board Maxime Ripard
2012-04-18 17:57   ` Jonathan Cameron
2012-04-18 13:33 ` [PATCH 5/6] IIO: AT91: Add support for hardware triggers for the ADC Maxime Ripard
2012-04-18 18:46   ` Jonathan Cameron
2012-04-18 13:33 ` [PATCH 6/6] IIO: AT91: Add DT support to at91_adc driver Maxime Ripard
  -- strict thread matches above, loose matches on Subject: below --
2011-12-07 18:25 [RFC v2] IIO: Add hardware triggers support to the AT91 ADC driver Maxime Ripard
2011-12-07 18:25 ` [PATCH 3/6] ARM: AT91: Add the ADC to the sam9g20ek board Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).