mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [RFC 0/2] imx_adc command for barebox
@ 2015-12-01 15:26 Florian Vallee
  2015-12-01 15:26 ` [RFC 1/2] drivers: imx_adc: import and adapt imx_adc from linux Florian Vallee
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Florian Vallee @ 2015-12-01 15:26 UTC (permalink / raw)
  To: barebox; +Cc: Florian Vallee

The two following patches import the out-of-tree imx_adc driver from Freescale
in barebox.

The original driver was interfaced with userspace through IOCTLs, this simple
port exposes a barebox command "imx_adc" which returns converted values in mV.
As such it's more a command since it doesn't register itself anywhere and is
accessed that way only.

There doesn't seem to be any ADC driver in barebox right now, Is there any
interest in cleaning this up for inclusion ?

Florian Vallee (2):
  drivers: imx_adc: import and adapt imx_adc from linux
  drivers: imx_adc: repurpose driver as pure ADC

 arch/arm/mach-imx/include/mach/imx25-regs.h |   1 +
 drivers/misc/Kconfig                        |   4 +
 drivers/misc/Makefile                       |   1 +
 drivers/misc/imx_adc.c                      | 248 ++++++++++++++++++++++++++++
 drivers/misc/imx_adc.h                      | 112 +++++++++++++
 drivers/misc/imx_adc_reg.h                  | 247 +++++++++++++++++++++++++++
 6 files changed, 613 insertions(+)
 create mode 100644 drivers/misc/imx_adc.c
 create mode 100644 drivers/misc/imx_adc.h
 create mode 100644 drivers/misc/imx_adc_reg.h

-- 
2.1.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2015-12-02  7:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-01 15:26 [RFC 0/2] imx_adc command for barebox Florian Vallee
2015-12-01 15:26 ` [RFC 1/2] drivers: imx_adc: import and adapt imx_adc from linux Florian Vallee
2015-12-01 15:26 ` [RFC 2/2] drivers: imx_adc: repurpose driver as pure ADC Florian Vallee
2015-12-02  7:13 ` [RFC 0/2] imx_adc command for barebox Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox