- 13 3月, 2016 1 次提交
-
-
由 Joachim Eastwood 提交于
Add base support for the 10-bit SAR ADC peripheral found on NXP LPC18xx/43xx SoCs. This is a minimal driver that does not support burst mode, interrupts, DMA or hardware triggers. User manual with register description can be found on: LPC18xx: www.nxp.com/documents/user_manual/UM10430.pdf LPC43xx: www.nxp.com/documents/user_manual/UM10503.pdf Signed-off-by: NJoachim Eastwood <manabian@gmail.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 06 3月, 2016 1 次提交
-
-
由 Krzysztof Kozlowski 提交于
The devres.o gets linked if HAS_IOMEM is present so on ARCH=um allyesconfig (COMPILE_TEST) failed with: drivers/built-in.o: In function `at91_adc_probe': at91-sama5d2_adc.c:(.text+0x48f548): undefined reference to `devm_ioremap_resource' Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 14 2月, 2016 1 次提交
-
-
由 Daniel Baluta 提交于
The driver has sysfs readings with runtime PM support for power saving. It also offers buffer support that can be used together with IIO software triggers. Datasheet can be found here: http://www.ti.com.cn/cn/lit/ds/symlink/ads1015.pdfSigned-off-by: NDaniel Baluta <daniel.baluta@intel.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 11 2月, 2016 2 次提交
-
-
由 Markus Pargmann 提交于
This is a conversion queue driver for the mx25 SoC. It uses the central ADC which is used by two seperate independent queues. This driver prepares different conversion configurations for each possible input. For a conversion it creates a conversionqueue of one item with the correct configuration for the chosen channel. It then executes the queue once and disables the conversion queue afterwards. The reference voltages are configurable through devicetree subnodes, depending on the connections of the ADC inputs. Signed-off-by: NMarkus Pargmann <mpa@pengutronix.de> Signed-off-by: NDenis Carikli <denis@eukrea.com> Acked-by: NJonathan Cameron <jic23@kernel.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Ksenija Stanojevic 提交于
Move mxs-lradc driver from drivers/staging/iio/adc to drivers/iio/adc. Signed-off-by: NKsenija Stanojevic <ksenija.stanojevic@gmail.com> Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 10 2月, 2016 1 次提交
-
-
由 Akinobu Mita 提交于
This adds ADC0831/ADC0832/ADC0834/ADC0838 8-bit ADC driver. I have tested with ADC0831 and ADC0832. The remaining ADC0834 and ADC0838 are very similar to ADC0832. Signed-off-by: NAkinobu Mita <akinobu.mita@gmail.com> Cc: Jonathan Cameron <jic23@kernel.org> Cc: Hartmut Knaack <knaack.h@gmx.de> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 30 1月, 2016 1 次提交
-
-
由 Richard Weinberger 提交于
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: NRichard Weinberger <richard@nod.at> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 16 1月, 2016 2 次提交
-
-
由 Ludovic Desroches 提交于
Signed-off-by: NLudovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
由 Ludovic Desroches 提交于
This driver supports the new version of the Atmel ADC device introduced with the SAMA5D2 SoC family. Signed-off-by: NLudovic Desroches <ludovic.desroches@atmel.com> Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 04 1月, 2016 1 次提交
-
-
由 Vegard Nossum 提交于
Ran into this on UML: drivers/built-in.o: In function `vf610_adc_probe': drivers/iio/adc/vf610_adc.c:744: undefined reference to `devm_ioremap_resource' devm_ioremap_resource() is defined only when HAS_IOMEM is selected. Signed-off-by: NVegard Nossum <vegard.nossum@oracle.com> Cc: <Stable@vger.kernel.org> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 03 1月, 2016 1 次提交
-
-
由 Akinobu Mita 提交于
The MCP3425 is a single channel up to 16-bit A/D converter which has features: - On-Board Programmable Gain Amplifier (PGA): - Gains of 1, 2, 4 or 8 - Programmable Data Rate Options: - 15 SPS (16 bits), 60 SPS (14 bits), 240 SPS (12 bits) The mcp3422 driver also supports the MCP3421 which is a single channel. So we can support MCP3425 with a little changes to mcp3422 driver. Signed-off-by: NAkinobu Mita <akinobu.mita@gmail.com> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com> Cc: Peter Meerwald <pmeerw@pmeerw.net> Cc: linux-iio@vger.kernel.org Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 13 12月, 2015 2 次提交
-
-
由 Haibo Chen 提交于
Freescale i.MX7D soc contains a new ADC IP. This patch add this ADC driver support, and the driver only support ADC software trigger. Signed-off-by: NHaibo Chen <haibo.chen@freescale.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
由 Marc Titinger 提交于
in SOFTWARE buffer mode, a kthread will capture the active scan_elements into a kfifo, then compute the remaining time until the next capture tick and do an active wait (udelay). This will produce a stream of up to fours channels plus a 64bits timestamps (ns). Tested with ina226, on BeagleBoneBlack. Datasheet: http://www.ti.com/lit/gpn/ina226Signed-off-by: NMarc Titinger <mtitinger@baylibre.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 12 12月, 2015 1 次提交
-
-
由 Oliver Stäbler 提交于
Signed-off-by: NOliver Stäbler <oliver.staebler@bytesatwork.ch> Reviewed-by: NMartin Kepplinger <martink@posteo.de> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 15 11月, 2015 1 次提交
-
-
由 Sean Nyekjaer 提交于
This patch adds support for the Texas Intruments ADS8688 ADC. Signed-off-by: NSean Nyekjaer <sean.nyekjaer@prevas.dk> Reviewed-by: NMartin Hundebøll <martin.hundeboll@prevas.dk> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 25 10月, 2015 1 次提交
-
-
由 H. Nikolaus Schaller 提交于
This driver code was found as: https://android.googlesource.com/kernel/tegra/+/aaabb2e045f31e5a970109ffdaae900dd403d17e/drivers/staging/iio/adc Fixed various compilation issues and test this driver on omap5 evm. Signed-off-by: NPradeep Goudagunta <pgoudagunta@nvidia.com> Signed-off-by: NH. Nikolaus Schaller <hns@goldelico.com> Signed-off-by: NMarek Belisko <marek@goldelico.com> Acked-by: NLaxman Dewangan <ldewangan@nvidia.com> Reviewed-by: NJonathan Cameron <jic23@kernel.org> Acked-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 24 9月, 2015 1 次提交
-
-
由 Vladimir Barinov 提交于
Add Holt threshold detector driver for HI-8435 chip Signed-off-by: NVladimir Barinov <vladimir.barinov@cogentembedded.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 31 8月, 2015 1 次提交
-
-
由 Sanchayan Maity 提交于
This patch adds support for IIO buffer to the Vybrid ADC driver. IIO triggered buffer infrastructure along with iio sysfs trigger is used to leverage continuous sampling support provided by the ADC block. Signed-off-by: NSanchayan Maity <maitysanchayan@gmail.com> Acked-by: NFugang Duan <B38611@freescale.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 13 8月, 2015 1 次提交
-
-
由 Hartmut Knaack 提交于
Move the entry for the CC 10001 ADC driver in Kconfig and Makefile up to maintain alphabetic order. Signed-off-by: NHartmut Knaack <knaack.h@gmx.de> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 21 7月, 2015 1 次提交
-
-
由 Andrea Galbusera 提交于
This adds support for Microchip's 13 bit 1 channel AD converter MCP3301 Signed-off-by: NAndrea Galbusera <gizero@gmail.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 19 7月, 2015 1 次提交
-
-
由 Hartmut Knaack 提交于
The Cosmic Circuits 10001 ADC driver depends on HAS_IOMEM, HAVE_CLK and REGULATOR together, not just any of these. Signed-off-by: NHartmut Knaack <knaack.h@gmx.de> Cc: <Stable@vger.kernel.org> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 29 6月, 2015 1 次提交
-
-
由 Hartmut Knaack 提交于
Rework the help text of several ADCs to make sure that: - the module name is mentioned, if the driver can be built as a module - "If unsure, say N" messages are dropped - right indentation is maintained Signed-off-by: NHartmut Knaack <knaack.h@gmx.de> Acked-by: NLars-Peter Clausen <lars@metafoo.de> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 21 6月, 2015 1 次提交
-
-
由 Hartmut Knaack 提交于
The Cosmic Circuits 10001 ADC driver depends on HAS_IOMEM, HAVE_CLK and REGULATOR together, not just any of these. Signed-off-by: NHartmut Knaack <knaack.h@gmx.de> Cc: <Stable@vger.kernel.org> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 23 5月, 2015 2 次提交
-
-
由 Urs Fässler 提交于
Signed-off-by: NUrs Fässler <urs.fassler@bytesatwork.ch> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
由 Antoine Tenart 提交于
This patch adds the support of the Berlin ADC, available on Berlin SoCs. This ADC has 8 channels available, with one connected to a temperature sensor. The particularity here, is that the temperature sensor connected to the ADC has its own registers, and both the ADC and the temperature sensor must be configured when using it. Signed-off-by: NAntoine Tenart <antoine.tenart@free-electrons.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 28 3月, 2015 1 次提交
-
-
由 Richard Weinberger 提交于
Fixes: drivers/built-in.o: In function `cc10001_adc_probe': cc10001_adc.c:(.text+0x412e92): undefined reference to `devm_ioremap_resource' Signed-off-by: NRichard Weinberger <richard@nod.at> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 12 3月, 2015 1 次提交
-
-
由 Søren Andersen 提交于
Bring the Kconfig entry up to date with parts supported by the driver. Signed-off-by: NSoeren Andersen <san@rosetechnology.dk> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 26 2月, 2015 1 次提交
-
-
由 Adam Thomson 提交于
This patch adds support for DA9150 Charger & Fuel-Gauge IC GPADC. Signed-off-by: NAdam Thomson <Adam.Thomson.Opensource@diasemi.com> Reviewed-by: NHartmut Knaack <knaack.h@gmx.de> Acked-by: NJonathan Cameron <jic23@kernel.org> Signed-off-by: NSebastian Reichel <sre@kernel.org>
-
- 30 1月, 2015 1 次提交
-
-
由 Phani Movva 提交于
This commit adds support for Cosmic Circuits 10001 10-bit ADC device. Reviewed-by: NAndrew Bresticker <abrestic@chromium.org> Signed-off-by: NPhani Movva <Phani.Movva@imgtec.com> Signed-off-by: NNaidu Tellapati <Naidu.Tellapati@imgtec.com> [ezequiel: code style cleaning] Signed-off-by: NEzequiel Garcia <ezequiel.garcia@imgtec.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 29 1月, 2015 1 次提交
-
-
由 Stanimir Varbanov 提交于
The voltage ADC is peripheral of Qualcomm SPMI PMIC chips. It has 15bits resolution and register space inside PMIC accessible across SPMI bus. The vadc driver registers itself through IIO interface. Signed-off-by: NStanimir Varbanov <svarbanov@mm-sol.com> Signed-off-by: NIvan T. Ivanov <iivanov@mm-sol.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 26 10月, 2014 1 次提交
-
-
由 Ivan T. Ivanov 提交于
The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has 16 bits resolution and register space inside PMIC accessible across SPMI bus. The driver registers itself through IIO interface. Signed-off-by: NIvan T. Ivanov <iivanov@mm-sol.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 07 10月, 2014 1 次提交
-
-
由 Jacob Pan 提交于
Platform driver for X-Powers AXP288 ADC, which is a sub-device of the customized AXP288 PMIC for Intel Baytrail-CR platforms. GPADC device enumerates as one of the MFD cell devices. It uses IIO infrastructure to communicate with userspace and consumer drivers. Usages of ADC channels include battery charging and thermal sensors. Based on initial work by: Ramakrishna Pallala <ramakrishna.pallala@intel.com> Acked-by: NJonathan Cameron <jic23@kernel.org> Signed-off-by: NJacob Pan <jacob.jun.pan@linux.intel.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 08 8月, 2014 1 次提交
-
-
由 Chanwoo Choi 提交于
This patch add support for s3c2410/s3c2416/s3c2440/s3c2443 ADC. The s3c24xx is alomost same as ADCv1. But, There are a little difference as following: - ADCMUX register address - ADCDAT mask (10 bit or 12 bit ADC resolution according to SoC version) - s3c24xx/s3c64xx has not included ADC_PHY enable register Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com> Acked-by: NArnd Bergmann <arnd@arndb.de> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 07 8月, 2014 2 次提交
-
-
由 Heiko Stübner 提交于
The ADC is a 3-channel signal-ended 10-bit Successive Approximation Register (SAR) A/D Converter. It uses the supply and ground as its reference and converts the analog input signal into 10-bit binary digital codes. Signed-off-by: NHeiko Stuebner <heiko@sntech.de> Reviewed-by: NHartmut Knaack <knaack.h@gmx.de> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
由 Angelo Compagnucci 提交于
This patch adds support for ADC128S052 from TI. Signed-off-by: NAngelo Compagnucci <angelo.compagnucci@gmail.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 09 7月, 2014 1 次提交
-
-
由 Lars-Peter Clausen 提交于
The ad7291 driver is in a reasonable shape. It does not use non-standard API/ABI and there are no major style issues with the driver. So this patch moves it out of staging. There is one small warning from checkpatch which is also fixed in this patch. The patch also sorts the #include directives in alphabetical order. Signed-off-by: NLars-Peter Clausen <lars@metafoo.de> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 28 6月, 2014 1 次提交
-
-
由 Philippe Reynes 提交于
This driver add partial support of the maxim 1027/1029/1031. Differential mode is not supported. It was tested on armadeus apf27 board. Signed-off-by: NPhilippe Reynes <tremyfr@yahoo.fr> Reviewed-by: NHartmut Knaack <knaack.h@gmx.de> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 10 5月, 2014 1 次提交
-
-
由 Arnd Bergmann 提交于
Building the at91 adc driver with CONFIG_INPUT disabled results in this build error: ERROR: "input_event" [drivers/iio/adc/at91_adc.ko] undefined! ERROR: "input_unregister_device" [drivers/iio/adc/at91_adc.ko] undefined! ERROR: "input_free_device" [drivers/iio/adc/at91_adc.ko] undefined! ERROR: "input_register_device" [drivers/iio/adc/at91_adc.ko] undefined! ERROR: "input_set_abs_params" [drivers/iio/adc/at91_adc.ko] undefined! ERROR: "input_allocate_device" [drivers/iio/adc/at91_adc.ko] undefined! To make sure we can build random configurations, this adds a Kconfig dependency on CONFIG_INPUT, as we do for other similar drivers. Signed-off-by: NArnd Bergmann <arnd@arndb.de> Cc: linux-iio@vger.kernel.org Cc: Josh Wu <josh.wu@atmel.com> Cc: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: NNicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 26 4月, 2014 1 次提交
-
-
由 Doug Anderson 提交于
The whole IIO subsystem can be built as modules. If you make it a module then stuff marked as "Y" in the adc directory simply won't be linked in properly. The two configs that were wrong were EXYNOS_ADC and LP8788_ADC. I know for a fact that EXYNOS_ADC will work as a module. I assume LP8788_ADC will also be fine. Signed-off-by: NDoug Anderson <dianders@chromium.org> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 12 4月, 2014 1 次提交
-
-
由 Jean Delvare 提交于
EXYNOS_ADC shouldn't only depend on OF. It is useless on architectures other than Exynos so it should depend on ARCH_EXYNOS (which implies OF.) Signed-off-by: NJean Delvare <jdelvare@suse.de> Cc: Jonathan Cameron <jic23@kernel.org> Cc: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-