linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] mfd: rn5t618: add ADC support
@ 2020-02-18  6:17 Andreas Kemnade
  2020-02-18  6:17 ` [PATCH v3 1/4] mfd: rn5t618: add ADC subdevice for RC5T619 Andreas Kemnade
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Andreas Kemnade @ 2020-02-18  6:17 UTC (permalink / raw)
  To: knaack.h, lars, pmeerw, lee.jones, b.galvani, linus.walleij,
	linux-kernel, linux-iio, phh, stefan, letux-kernel,
	martin.blumenstingl, jic23
  Cc: Andreas Kemnade

mfd: rn5t618: add ADC support

This series adds support for the ADC in the RN5T618/RC5T619.
It depends on the IRQ support added in the RTC support series here:
https://lore.kernel.org/lkml/20191220122416.31881-1-andreas@kemnade.info/

I tested the driver only with the RC5T619 but it should work with the with 
the RN5T618 as well based on these facts:
- The corresponding register definitions originally went into the kernel
  for the RN5T618
- Public datasheet sections about the ADC look same.
- Out-of-tree code for these chips look same regarding to ADC

But due to missing hardware I cannot test the patches 2/3 and 3/3 which
add support for the RN5T618 ADC.
I marked these untested patches as RFC, and IMHO they require a Tested-By.
Feel free to ignore them if the whole series would be delayed just because
of missing Tested-By for those.

Changes in v3:
- re-included former 2/5 of these patches, since it was not applied

Changes in v2:
- got an "Applied, thanks" message for the first two, so I do not include
  them anymore
- some cleanups for the ADC driver itself

Andreas Kemnade (4):
  mfd: rn5t618: add ADC subdevice for RC5T619
  iio: adc: rn5t618: Add ADC driver for RN5T618/RC5T619
  mfd: rn5t618: add IRQ definitions for RN5T618
  mfd: rn5t618: add ADC subdevice for RN5T618

 drivers/iio/adc/Kconfig       |  10 ++
 drivers/iio/adc/Makefile      |   1 +
 drivers/iio/adc/rn5t618-adc.c | 258 ++++++++++++++++++++++++++++++++++
 drivers/mfd/rn5t618.c         |  48 ++++++-
 4 files changed, 315 insertions(+), 2 deletions(-)
 create mode 100644 drivers/iio/adc/rn5t618-adc.c

-- 
2.20.1


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

end of thread, other threads:[~2020-02-24 18:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-18  6:17 [PATCH v3 0/4] mfd: rn5t618: add ADC support Andreas Kemnade
2020-02-18  6:17 ` [PATCH v3 1/4] mfd: rn5t618: add ADC subdevice for RC5T619 Andreas Kemnade
2020-02-18  6:17 ` [PATCH v3 2/4] iio: adc: rn5t618: Add ADC driver for RN5T618/RC5T619 Andreas Kemnade
2020-02-21 13:07   ` Jonathan Cameron
2020-02-21 17:27     ` Andreas Kemnade
2020-02-24 18:26     ` Andreas Kemnade
2020-02-18  6:17 ` [PATCH RFC v3 3/4] mfd: rn5t618: add IRQ definitions for RN5T618 Andreas Kemnade
2020-02-18  6:17 ` [PATCH RFC v3 4/4] mfd: rn5t618: add ADC subdevice " Andreas Kemnade

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