Skip to content
Snippets Groups Projects
  1. Dec 29, 2019
  2. Jul 27, 2019
  3. May 30, 2019
  4. Apr 14, 2019
  5. Nov 16, 2018
  6. Jul 07, 2018
  7. Apr 21, 2018
  8. Jan 30, 2018
  9. Oct 09, 2017
  10. Jul 09, 2017
  11. Jul 01, 2017
  12. Jan 10, 2017
  13. Dec 03, 2016
  14. Nov 01, 2016
  15. Jul 04, 2016
    • Jonathan Cameron's avatar
      iio: accel: st_accel: Add lis3l02dq support · 4e68cfbf
      Jonathan Cameron authored
      
      Time to finally kill off the venerable (it was one of my first drivers)
      lis3l02dq driver in favour of adding support in the st sensors framework.
      
      This does loose us the event support that driver always had, but I think
      that will reappear at some point and in the meantime the maintenance
      advantages of dropping the 'special' driver for this one part outweigh
      the issues.
      
      It's worth noting this part is ancient and I may well be the only person
      who still has any on hardware running recent kernels.
      
      It has a few 'quirks'.
       - No WAI register so that just became optional.
       - A BDU option that really does block updates.  Completely.
         Whatever you do, you don't get any more data with it set.
         It is documented the same as more modern parts but I presume they
         are actually clearing for updates after a read of both bytes!
       - Fixed scale.
       - It's too quick.  Even at slowest rate (280Hz) I can't read out fast
         enough on my board (stargate 2) to beat new data coming in. Linus'
         repeat read patch doesn't help in this case. It just means I get 10
         readings before dying... So in reality this will get used with
         software triggers only unless someone has this long out of production
         device on a quick board.
      
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Cc: Denis CIOCCA <denis.ciocca@st.com>
      Cc: Crestez Dan Leonard <leonard.crestez@intel.com>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      4e68cfbf
  16. Mar 12, 2016
  17. Nov 14, 2015
  18. Jul 23, 2015
  19. Jul 11, 2015
  20. Jun 08, 2015
  21. Mar 28, 2015
  22. Oct 04, 2014
  23. Jul 11, 2014
    • Linus Walleij's avatar
      iio: st_sensors: add devicetree probing support · 2d7768a8
      Linus Walleij authored
      
      The I2C devices that make up the STMicroelectronics MEMS sensors
      may be sneakily enabled by cleverly giving the device node the same
      name as a string match from the platform device ID table. However
      the right method is to use the compatible string.
      
      On detection, the ST sensors use the ID string to probe and
      instatiate the right sensor driver, so pass the kernel-internal ID
      string in the .data field of the OF match table, and set the I2C
      client name to this name when a compatible match is used.
      
      This avoids having misc Linux-specific strings floating around in
      the device tree.
      
      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>
      2d7768a8
  24. Aug 03, 2013
  25. Feb 09, 2013
  26. Jan 31, 2013
Loading