Skip to content
Snippets Groups Projects
  1. Jun 20, 2019
  2. Jun 08, 2019
  3. May 03, 2019
  4. Mar 25, 2019
  5. Mar 20, 2019
  6. Feb 23, 2019
  7. Feb 05, 2019
  8. Jan 08, 2019
  9. Nov 09, 2018
  10. Aug 30, 2018
  11. Aug 24, 2018
  12. Jul 03, 2018
  13. May 29, 2018
  14. May 17, 2018
  15. Apr 30, 2018
  16. Apr 18, 2018
  17. Feb 21, 2018
  18. Dec 21, 2017
    • Cengiz C's avatar
      i2c: update i2c-dev.h warning in documentation · 91b28aeb
      Cengiz C authored
      
      `Documentation/i2c/dev-interface` gives examples for accessing i2c from
      userspace.
      
      There's a note that warns developers about the two `i2c-dev.h` header
      files which were shipped with the kernel and i2c-tools separately.
      
      However, following i2c-tools commits suggest that the header files are now
      identical (in functionality) and `i2c_*` helper functions are now defined
      in a separate header called `i2c/smbus.h`, which is distributed with
      i2c-tools:
      
      commit 652619121974 ("Minimize differences with kernel flavor")
      commit 93caf007f4cb ("Move SMBus helper functions to include/i2c/smbus.h")
      
      Thus, I've converted the warning paragraph into a historical note and
      updated the suggested header files.
      
      Signed-off-by: default avatarCengiz Can <cengizc@gmail.com>
      Cc: Wolfram Sang <wsa@the-dreams.de>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      91b28aeb
  19. Dec 03, 2017
  20. Oct 05, 2017
  21. Aug 22, 2017
  22. Jun 19, 2017
  23. May 31, 2017
  24. Feb 09, 2017
  25. Nov 24, 2016
    • Benjamin Tissoires's avatar
      i2c: use an IRQ to report Host Notify events, not alert · 4d5538f5
      Benjamin Tissoires authored
      
      The current SMBus Host Notify implementation relies on .alert() to
      relay its notifications. However, the use cases where SMBus Host
      Notify is needed currently is to signal data ready on touchpads.
      
      This is closer to an IRQ than a custom API through .alert().
      Given that the 2 touchpad manufacturers (Synaptics and Elan) that
      use SMBus Host Notify don't put any data in the SMBus payload, the
      concept actually matches one to one.
      
      Benefits are multiple:
      - simpler code and API: the client will just have an IRQ, and
        nothing needs to be added in the adapter beside internally
        enabling it.
      - no more specific workqueue, the threading is handled by IRQ core
        directly (when required)
      - no more races when removing the device (the drivers are already
        required to disable irq on remove)
      - simpler handling for drivers: use plain regular IRQs
      - no more dependency on i2c-smbus for i2c-i801 (and any other adapter)
      - the IRQ domain is created automatically when the adapter exports
        the Host Notify capability
      - the IRQ are assign only if ACPI, OF and the caller did not assign
        one already
      - the domain is automatically destroyed on remove
      - fewer lines of code (minus 20, yeah!)
      
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      4d5538f5
    • Vadim Pasternak's avatar
      i2c: mlxcpld: add master driver for mellanox systems · 6bec23bf
      Vadim Pasternak authored
      
      Device driver for Mellanox I2C controller logic, implemented in Lattice
      CPLD device.
      Device supports:
       - Master mode
       - One physical bus
       - Polling mode
      
      The Kconfig currently controlling compilation of this code is:
      drivers/i2c/busses/Kconfig:config I2C_MLXCPLD
      
      Signed-off-by: default avatarMichael Shych <michaelsh@mellanox.com>
      Signed-off-by: default avatarVadim Pasternak <vadimp@mellanox.com>
      Reviewed-by: default avatarJiri Pirko <jiri@mellanox.com>
      Reviewed-by: default avatarVladimir Zapolskiy <vz@mleia.com>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      6bec23bf
  26. Nov 10, 2016
  27. Sep 08, 2016
  28. Jul 23, 2016
  29. Jun 17, 2016
Loading