1. 26 Apr, 2014 3 commits
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-3.16a' of... · d5cef008
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-3.16a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
      
      Jonathan writes:
      
      First round of IIO new driver, functionality and cleanups for the 3.16 cycle.
      
      New device support
      * AS3935 Lightning Sensor
      * MCP3426/7/8 support added to the existing MCP3422 ADC driver
      * AK8963 support in the AK8975 driver
      * MPU6500 support in the MPU6050 driver (the functionality that is different
        is mostly not supported yet in either part).
      
      Staging Graduations
      * AD799x ADC
      
      New functionality
      * ACPI enumeration for the ak8975 driver
      
      Cleanup / tweaks
      * Use snprintf as a matter of good practice in a few additional places.
      * Document *_mean_raw attributes.  These have been there a while, but were
        undocumented.
      * Add an in kernel interface to get the mean values.
      * Bug in the length of the event info mask that by coincidence wasn't yet
        actually causing any problems.
      * itg3000 drop an unreachable return statement.
      * spear_adc cleanups (heading for a staging graduation but a few more
        issues showed up in the review of these patches).
      * Exynos ADC dependencies changed so it is only built when Exynos is present
        or COMPILE_TEST and OF are set.
      * tsl2583 cleanups.
      * Some cut and paste typos in the comments of various drivers still in staging.
      * Couple of minor improvements to the ST sensor drivers.
      d5cef008
    • Linus Walleij's avatar
      iio: st_sensors: move regulator retrieveal to core · ea7e586b
      Linus Walleij authored
      Currently the pressure sensor has code to retrieve and enable two
      regulators for Vdd and Vdd IO, but actually these voltage inputs
      are found on all of these ST sensors, so move the regulator
      handling to the core and make sure all the ST sensors call these
      functions on probe() and remove() to enable/disable power.
      
      Here also mover over to obtaining the regulator from the *parent*
      device of the IIO device, as the IIO device is created on-the-fly
      in this very subsystem it very unlikely evert have any regulators
      attached to it whatsoever. It is much more likely that the parent
      is a platform device, possibly instantiated from a device tree,
      which in turn have Vdd and Vdd IO supplied assigned to it.
      
      Cc: Lee Jones <lee.jones@linaro.org>
      Cc: Denis CIOCCA <denis.ciocca@st.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      ea7e586b
    • Linus Walleij's avatar
      iio: st_sensors: announce registered sensors · 4f544ced
      Linus Walleij authored
      It is pretty helpful to know already from dmesg that a certain
      device is successfully registered, instead of having to browse
      sysfs to see if it's actually there.
      
      Cc: Lee Jones <lee.jones@linaro.org>
      Cc: Denis CIOCCA <denis.ciocca@st.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      4f544ced
  2. 25 Apr, 2014 37 commits