[PATCH v2 00/15] iio: adc: at91 cleanups and atmel_tsadcc removal

Alexandre Belloni alexandre.belloni at free-electrons.com
Mon Mar 17 09:56:53 EDT 2014


This patch set is a followup of my previous series: iio: adc: at91 fixes

1-3) The first 3 patches are cleaning up the patform_data used for at91_adc.

4-5) Then touchscreen support for older ADCs is added, this allows to use that
     for the sam9m10g45ek.

6) Following those modifications, the mach/at91_adc.h is not used anywhere but
   in the at91_adc driver so it is remove and its content (register definitions)
   placed directly in the driver.

7-9) at91sam9rl support is added to at91_adc and is used for the at91sam9rl
     based boards.

10-11) Prepare the atmel_tsadcc removal by switching sam9rl and sam9g45 to use
       only at91_adc instead of atmel_tsadcc.

12-15) atmel_tsadcc removal


Changes in v2:
 - reworked the IRQ handlers in patch 4 as suggested by Dmitry and Thomas
 - ts_bufferedmeasure is now a bool
 - the multiline comment is now correctly formatted
 - improved commit log for patch 5

Alexandre Belloni (15):
  ARM: at91: sam9g45: remove unused platform_data
  ARM: at91: sam9260: remove unused platform_data
  iio: adc: at91: cleanup platform_data
  iio: adc: at91_adc: Add support for touchscreens without TSMR
  ARM: at91: sam9m10g45ek: Add touchscreen support through at91_adc
  iio: adc: at91: remove unused include from include/mach
  iio: adc: at91: add sam9rl support
  ARM: at91: sam9rl: add at91_adc to support adc and touchscreen
  ARM: at91: sam9rlek add touchscreen support through at91_adc
  ARM: at91: sam9g45: switch from atmel_tsadcc to at91_adc
  ARM: at91: sam9rl: switch from atmel_tsadcc to at91_adc
  ARM: at91: remove atmel_tsadcc platform_data
  ARM: at91: remove atmel_tsadcc from sama5_defconfig
  Input: atmel_tsadcc: remove driver
  ARM: at91/dt: at91-cosino_mega2560 remove useless tsadcc node

 MAINTAINERS                                |   6 -
 arch/arm/boot/dts/at91-cosino_mega2560.dts |   5 -
 arch/arm/configs/at91sam9g45_defconfig     |   3 +-
 arch/arm/configs/at91sam9rl_defconfig      |   3 +-
 arch/arm/configs/sama5_defconfig           |   1 -
 arch/arm/mach-at91/at91sam9260_devices.c   |  10 -
 arch/arm/mach-at91/at91sam9g45.c           |   2 +-
 arch/arm/mach-at91/at91sam9g45_devices.c   |  63 +----
 arch/arm/mach-at91/at91sam9rl.c            |   7 +
 arch/arm/mach-at91/at91sam9rl_devices.c    |  83 +++++--
 arch/arm/mach-at91/board-sam9m10g45ek.c    |  16 +-
 arch/arm/mach-at91/board-sam9rlek.c        |  16 +-
 arch/arm/mach-at91/board.h                 |   3 -
 arch/arm/mach-at91/include/mach/at91_adc.h | 107 ---------
 drivers/iio/adc/at91_adc.c                 | 340 +++++++++++++++++++++++----
 drivers/input/touchscreen/Kconfig          |  12 -
 drivers/input/touchscreen/Makefile         |   1 -
 drivers/input/touchscreen/atmel_tsadcc.c   | 358 -----------------------------
 include/linux/platform_data/at91_adc.h     |  27 +--
 include/linux/platform_data/atmel.h        |   7 -
 20 files changed, 382 insertions(+), 688 deletions(-)
 delete mode 100644 arch/arm/mach-at91/include/mach/at91_adc.h
 delete mode 100644 drivers/input/touchscreen/atmel_tsadcc.c

-- 
1.8.3.2




More information about the linux-arm-kernel mailing list