All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Introduce at91_adc8xx driver
@ 2016-01-06 16:12 ` Ludovic Desroches
  0 siblings, 0 replies; 27+ messages in thread
From: Ludovic Desroches @ 2016-01-06 16:12 UTC (permalink / raw)
  To: jic23, nicolas.ferre, alexandre.belloni
  Cc: devicetree, linux-kernel, linux-iio, plagnioj, linux-arm-kernel,
	pmeerw, robh, Ludovic Desroches


Hi,

This is the very basic support for the adc introduced with the SAMA5D2 SoC
family.

The goal is to provide something to the user as soon as possible instead of
waiting for a full featured driver.

Only unsigned conversions on a software tigger are supported. Next steps are
signed conversions, differential channels, hardware triggers, dma support,
touchscreen support, and others.

Changes:
- v2:
  - Cleanup thanks to Peter Meerwald-Stadler comments (add prefix for macros,
    remove useless stuff, etc).
  - Move parameters relative to the SoC to the device tree (min/max sampling
    rate and startup time).
  - Use sysfs to configure the sampling frequency.
  - vddana supply is no more optionnal.
  - No change for irq since I am not sure it will simplify the code (interrupt
    is cleared when reading channel conversion result). Jonathan, tell me if
    I need to rework this part.

Ludovic Desroches (5):
  iio:adc:at91_adc8xx: introduce new atmel adc driver
  MAINTAINERS: add entry for Atmel ADC 8xx driver
  ARM: at91/dt: sama5d2: add adc device
  ARM: at91/dt: sama5d2 Xplained: enable the adc device
  ARM: at91/defconfig: add sama5d2 adc support in sama5_defconfig

 .../devicetree/bindings/iio/adc/at91_adc8xx.txt    |  28 ++
 MAINTAINERS                                        |   6 +
 arch/arm/boot/dts/at91-sama5d2_xplained.dts        |  22 +
 arch/arm/boot/dts/sama5d2.dtsi                     |  18 +-
 arch/arm/configs/sama5_defconfig                   |   1 +
 drivers/iio/adc/Kconfig                            |  11 +
 drivers/iio/adc/Makefile                           |   1 +
 drivers/iio/adc/at91_adc8xx.c                      | 461 +++++++++++++++++++++
 8 files changed, 542 insertions(+), 6 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/at91_adc8xx.txt
 create mode 100644 drivers/iio/adc/at91_adc8xx.c

-- 
2.5.0


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

end of thread, other threads:[~2016-01-11  9:59 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-06 16:12 [PATCH v2 0/5] Introduce at91_adc8xx driver Ludovic Desroches
2016-01-06 16:12 ` Ludovic Desroches
2016-01-06 16:12 ` Ludovic Desroches
2016-01-06 16:12 ` [PATCH v2 1/5] iio:adc:at91_adc8xx: introduce new atmel adc driver Ludovic Desroches
2016-01-06 16:12   ` Ludovic Desroches
2016-01-06 16:12   ` Ludovic Desroches
2016-01-10 11:28   ` Jonathan Cameron
2016-01-10 11:28     ` Jonathan Cameron
2016-01-10 11:28     ` Jonathan Cameron
2016-01-11  9:59     ` Ludovic Desroches
2016-01-11  9:59       ` Ludovic Desroches
2016-01-11  9:59       ` Ludovic Desroches
2016-01-11  2:32   ` Rob Herring
2016-01-11  2:32     ` Rob Herring
2016-01-11  2:32     ` Rob Herring
2016-01-06 16:12 ` [PATCH v2 2/5] MAINTAINERS: add entry for Atmel ADC 8xx driver Ludovic Desroches
2016-01-06 16:12   ` Ludovic Desroches
2016-01-06 16:12   ` Ludovic Desroches
2016-01-06 16:12 ` [PATCH v2 3/5] ARM: at91/dt: sama5d2: add adc device Ludovic Desroches
2016-01-06 16:12   ` Ludovic Desroches
2016-01-06 16:12   ` Ludovic Desroches
2016-01-06 16:12 ` [PATCH v2 4/5] ARM: at91/dt: sama5d2 Xplained: enable the " Ludovic Desroches
2016-01-06 16:12   ` Ludovic Desroches
2016-01-06 16:12   ` Ludovic Desroches
2016-01-06 16:12 ` [PATCH v2 5/5] ARM: at91/defconfig: add sama5d2 adc support in sama5_defconfig Ludovic Desroches
2016-01-06 16:12   ` Ludovic Desroches
2016-01-06 16:12   ` Ludovic Desroches

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.