1. 25 Jul, 2017 1 commit
  2. 22 Jul, 2017 1 commit
  3. 15 Jul, 2017 1 commit
  4. 01 Jul, 2017 10 commits
  5. 11 Jun, 2017 2 commits
  6. 03 Jun, 2017 2 commits
  7. 23 May, 2017 1 commit
  8. 21 May, 2017 1 commit
    • Jan Kiszka's avatar
      iio: adc: Add support for TI ADC108S102 and ADC128S102 · 7e87d11c
      Jan Kiszka authored
      
      
      This is an upstream port of an IIO driver for the TI ADC108S102 and
      ADC128S102. The former can be found on the Intel Galileo Gen2 and the
      Siemens SIMATIC IOT2000. For those boards, ACPI-based enumeration is
      included.
      
      Due to the lack of regulators under ACPI, we hard-code the voltage
      provided to the VA pin of the ADC to 5 V, the value used on Galileo and
      IOT2000. For DT usage, the regulator "vref-supply" provides this
      information. Note that DT usage has not been tested.
      
      Original author: Bogdan Pricop <bogdan.pricop@emutex.com>
      Ported from Intel Galileo Gen2 BSP to Intel Yocto kernel:
      Todor Minchev <todor@minchev.co.uk>.
      Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      7e87d11c
  9. 14 May, 2017 1 commit
  10. 07 May, 2017 1 commit
  11. 27 Apr, 2017 1 commit
  12. 14 Apr, 2017 2 commits
    • Fabrice Gasnier's avatar
      dt-bindings: iio: stm32-dac: Add support for STM32 DAC · 48428d17
      Fabrice Gasnier authored
      
      
      Document STMicroelectronics STM32 DAC (digital-to-analog converter).
      Signed-off-by: default avatarFabrice Gasnier <fabrice.gasnier@st.com>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      48428d17
    • Akinobu Mita's avatar
      iio: adc: add max1117/max1118/max1119 ADC driver · a9e9c715
      Akinobu Mita authored
      
      
      This adds max1117/max1118/max1119 8-bit, dual-channel ADC driver.
      
      This new driver uses the zero length spi_transfers with the cs_change
      flag set and/or the non-zero delay_usecs.
      
      1. The zero length transfer with the spi_transfer.cs_change set is
      required in order to select CH1.  The chip select line must be brought
      high and low again without transfer.
      
      2. The zero length transfer with the spi_transfer.delay_usecs > 0 is
      required for waiting the conversion to be complete.  The conversion
      begins with the falling edge of the chip select.  During the conversion
      process, SCLK is ignored.
      
      These two usages are unusual.  But the spi controller drivers that use
      a default implementation of transfer_one_message() are likely to work.
      (I've tested this adc driver with spi-omap2-mcspi and spi-xilinx)
      
      On the other hand, some spi controller drivers that have their own
      transfer_one_message() may not work.  But at least for the zero length
      transfer with delay_usecs > 0, I'm proposing a new testcase for the
      spi-loopback-test that can test whether the delay_usecs setting has
      taken effect.
      Acked-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarAkinobu 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-Stadler <pmeerw@pmeerw.net>
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Mark Brown <broonie@kernel.org>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      a9e9c715
  13. 08 Apr, 2017 2 commits
  14. 03 Apr, 2017 1 commit
  15. 02 Apr, 2017 4 commits
  16. 01 Apr, 2017 1 commit
  17. 30 Mar, 2017 1 commit
    • Tony Lindgren's avatar
      iio: adc: cpcap: Add minimal support for CPCAP PMIC ADC · 25ec2496
      Tony Lindgren authored
      
      
      On Motorola phones like droid 4 there is a custom CPCAP PMIC. This PMIC
      has ADCs that are used for battery charging and USB PHY VBUS and ID pin
      detection.
      
      Unfortunately the only documentation for this ADC seems to be the
      Motorola mapphone Linux kernel tree. I have tested that reading raw and
      scaled values works, but I have not used the timed sampling that the ADC
      seems to support.
      
      Let's add a minimal support for it so we can eventually provide IIO
      channels for the related battery charging and USB PHY drivers.
      
      Cc: devicetree@vger.kernel.org
      Cc: Marcel Partap <mpartap@gmx.net>
      Cc: Michael Scott <michael.scott@linaro.org>
      Cc: Sebastian Reichel <sre@kernel.org>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      25ec2496
  18. 25 Mar, 2017 1 commit
  19. 23 Mar, 2017 1 commit
  20. 21 Mar, 2017 1 commit
  21. 04 Mar, 2017 1 commit
  22. 19 Feb, 2017 1 commit
  23. 05 Feb, 2017 1 commit
  24. 04 Feb, 2017 1 commit