Skip to content

Support for analog peripherals on LPC18xx familiy

Joachim Eastwood linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4iio: adc: add NXP LPC18xx ADC driverdrivers/iio/adc/Kconfig drivers/iio/adc/Makefile drivers/iio/adc/lpc18xx_adc.c+237 -02 replies
2/4dt: document NXP LPC1850 ADC driver bindingsDocumentation/devicetree/bindings/iio/adc/lpc1850-adc.txt+21 -00 replies
3/4iio: dac: add NXP LPC18xx DAC driverdrivers/iio/dac/Kconfig drivers/iio/dac/Makefile drivers/iio/dac/lpc18xx_dac.c+215 -00 replies
4/4dt: document NXP LPC1850 DAC driver bindingsDocumentation/devicetree/bindings/iio/dac/lpc1850-dac.txt+20 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Support for analog peripherals on LPC18xx familiy

This patch set adds support for the analog (ADC and DAC) peripherals found on NXP LPC18xx/43xx SoCs. The ADC is a SAR converter with 10-bit resolution and 8 muxed inputs. The DAC is a simple single channel 10- bit DAC.

Note that these drivers do not support all the features found on the peripherals. DMA and interrupts are not supported in either drivers. The ADC driver also lack 'burst-mode' and hardware triggers. So for now the ADC is limited to single shot samples.

Both drivers tested on Embedded Artists' LPC4357 Developer's Kit.

Based on iio/testing branch from 29.02.15.

Joachim Eastwood (4):
iio: adc: add NXP LPC18xx ADC driver
dt: document NXP LPC1850 ADC driver bindings
iio: dac: add NXP LPC18xx DAC driver
dt: document NXP LPC1850 DAC driver bindings

 .../devicetree/bindings/iio/adc/lpc1850-adc.txt    |  21 ++
 .../devicetree/bindings/iio/dac/lpc1850-dac.txt    |  20 ++
 drivers/iio/adc/Kconfig                            |  10 +
 drivers/iio/adc/Makefile                           |   1 +
 drivers/iio/adc/lpc18xx_adc.c                      | 226 +++++++++++++++++++++
 drivers/iio/dac/Kconfig                            |  10 +
 drivers/iio/dac/Makefile                           |   1 +
 drivers/iio/dac/lpc18xx_dac.c                      | 204 +++++++++++++++++++
 8 files changed, 493 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/lpc1850-adc.txt
 create mode 100644 Documentation/devicetree/bindings/iio/dac/lpc1850-dac.txt
 create mode 100644 drivers/iio/adc/lpc18xx_adc.c
 create mode 100644 drivers/iio/dac/lpc18xx_dac.c
Signature · 1 line
1.8.0