Skip to content
Snippets Groups Projects
  1. Jul 04, 2020
  2. Jun 13, 2020
    • Masahiro Yamada's avatar
      treewide: replace '---help---' in Kconfig files with 'help' · a7f7f624
      Masahiro Yamada authored
      
      Since commit 84af7a61 ("checkpatch: kconfig: prefer 'help' over
      '---help---'"), the number of '---help---' has been gradually
      decreasing, but there are still more than 2400 instances.
      
      This commit finishes the conversion. While I touched the lines,
      I also fixed the indentation.
      
      There are a variety of indentation styles found.
      
        a) 4 spaces + '---help---'
        b) 7 spaces + '---help---'
        c) 8 spaces + '---help---'
        d) 1 space + 1 tab + '---help---'
        e) 1 tab + '---help---'    (correct indentation)
        f) 1 tab + 1 space + '---help---'
        g) 1 tab + 2 spaces + '---help---'
      
      In order to convert all of them to 1 tab + 'help', I ran the
      following commend:
      
        $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'
      
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      a7f7f624
  3. Jul 31, 2019
  4. May 21, 2019
  5. Dec 21, 2018
  6. 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
  7. Nov 14, 2016
  8. Jul 18, 2016
  9. Jan 07, 2015
  10. Dec 11, 2014
  11. Aug 19, 2014
  12. Jun 27, 2014
  13. Sep 13, 2013
  14. Mar 11, 2013
  15. Jan 21, 2013
  16. Oct 05, 2012
    • Peter Huewe's avatar
      i2c: Make I2C available on UML · 3ddb59d4
      Peter Huewe authored
      
      Remove the global dependency of the I2C subsystem on HAS_IOMEM and
      move the dependency to the i2c/busses submenu, with an exception for
      i2c-stub.
      
      The generic I2C part does not need to have HAS_IOMEM set and thus now
      becomes available in UML, so the I2C subsystem can now be used, e.g.
      by the i2c-stub driver, for development of I2C device drivers.
      
      [JD: Some adjustments.]
      
      [Heiko Carstens: Keep I2C disabled on S390.]
      
      Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      3ddb59d4
  17. May 12, 2012
  18. Jul 11, 2011
  19. Nov 22, 2010
  20. Oct 24, 2010
    • Jean Delvare's avatar
      i2c: Fix Kconfig dependencies · 0a57274e
      Jean Delvare authored
      
      drivers/i2c/algos/Kconfig makes all the algorithms dependent on
      !I2C_HELPER_AUTO, which triggers a Kconfig warning about broken
      dependencies when some driver selects one of the algorithms. Ideally
      we would make only the prompts dependent on !I2C_HELPER_AUTO, however
      Kconfig doesn't currently support that. So we have to redefine the
      symbols separately for the I2C_HELPER_AUTO=y case.
      
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Acked-by: default avatarMichal Marek <mmarek@suse.cz>
      0a57274e
  21. Aug 11, 2010
  22. Mar 13, 2010
  23. Mar 02, 2010
    • Jean Delvare's avatar
      i2c: Separate Kconfig option for i2c-smbus · e2ca3074
      Jean Delvare authored
      
      Having a separate Kconfig option for i2c-smbus makes it possible to
      build that support as a module even when i2c-core itself is built-in.
      Bus drivers which implement SMBus alert should select this option, so
      in most cases this option is hidden and the user doesn't have to care
      about it.
      
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Cc: Trent Piepho <tpiepho@freescale.com>
      e2ca3074
  24. Dec 06, 2009
  25. Sep 18, 2009
  26. Aug 10, 2008
  27. May 10, 2007
  28. May 01, 2007
    • Jan Engelhardt's avatar
      Use menuconfig objects - I2C · 16538e6b
      Jan Engelhardt authored
      
      Allow the whole I2C menu to be disabled at once without diving into
      the submenus for deselecting all options (should the user desire so).
      
      Signed-off-by: default avatarJan Engelhardt <jengelh@gmx.de>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      16538e6b
    • David Brownell's avatar
      i2c: Add i2c_board_info and i2c_new_device() · 9c1600ed
      David Brownell authored
      
      This provides partial support for new-style I2C driver binding.  It builds
      on "struct i2c_board_info" declarations that identify I2C devices on a given
      board.  This is needed on systems with I2C devices that can't be fully probed
      and/or autoconfigured, such as many embedded Linux configurations where the
      way a given I2C device is wired may affect how it must be used.
      
      There are two models for declaring such devices:
      
       * LATE -- using a public function i2c_new_device().  This lets modules
         declare I2C devices found *AFTER* a given I2C adapter becomes available.
         
         For example, a PCI card could create adapters giving access to utility
         chips on that card, and this would be used to associate those chips with
         those adapters.
      
       * EARLY -- from arch_initcall() level code, using a non-exported function
         i2c_register_board_info().  This copies the declarations *BEFORE* such
         an i2c_adapter becomes available, arranging that i2c_new_device() will
         be called later when i2c-core registers the relevant i2c_adapter.
      
         For example, arch/.../.../board-*.c files would declare the I2C devices
         along with their platform data, and I2C devices would behave much like
         PNPACPI devices.  (That is, both enumerate from board-specific tables.)
      
      To match the exported i2c_new_device(), the previously-private function
      i2c_unregister_device() is now exported.
      
      Pending later patches using these new APIs, this is effectively a NOP.
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      9c1600ed
  29. Sep 26, 2006
  30. Apr 16, 2005
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      v2.6.12-rc2
      1da177e4
Loading