1. 27 May, 2021 1 commit
  2. 16 Apr, 2021 1 commit
  3. 09 Feb, 2021 1 commit
  4. 05 Jan, 2021 2 commits
  5. 04 Jan, 2021 1 commit
  6. 29 Sep, 2020 1 commit
  7. 21 Sep, 2020 1 commit
  8. 14 Sep, 2020 2 commits
  9. 09 Sep, 2020 1 commit
  10. 05 Aug, 2020 2 commits
  11. 23 Jul, 2020 1 commit
  12. 04 Jul, 2020 1 commit
  13. 29 May, 2020 1 commit
  14. 18 May, 2020 1 commit
  15. 15 Apr, 2020 1 commit
  16. 10 Mar, 2020 1 commit
  17. 29 Jan, 2020 1 commit
  18. 15 Jan, 2020 1 commit
  19. 25 Nov, 2019 1 commit
  20. 24 Oct, 2019 2 commits
  21. 28 Sep, 2019 1 commit
  22. 03 Sep, 2019 1 commit
  23. 29 Aug, 2019 1 commit
  24. 01 Aug, 2019 1 commit
  25. 31 Jul, 2019 1 commit
  26. 05 Jul, 2019 2 commits
  27. 22 Jun, 2019 1 commit
    • Linus Walleij's avatar
      i2c: mux/i801: Switch to use descriptor passing · d308dfbf
      Linus Walleij authored
      
      
      This switches the i801 GPIO mux to use GPIO descriptors for
      handling the GPIO lines. The previous hack which was reaching
      inside the GPIO chips etc cannot live on. We pass descriptors
      along with the GPIO mux device at creation instead.
      
      The GPIO mux was only used by way of platform data with a
      platform device from one place in the kernel: the i801 i2c bus
      driver. Let's just associate the GPIO descriptor table with
      the actual device like everyone else and dynamically create
      a descriptor table passed along with the GPIO i2c mux.
      
      This enables simplification of the GPIO i2c mux driver to
      use only the descriptor API and the OF probe path gets
      simplified in the process.
      
      The i801 driver was registering the GPIO i2c mux with
      PLATFORM_DEVID_AUTO which would make it hard to predict the
      device name and assign the descriptor table properly, but
      this seems to be a mistake to begin with: all of the
      GPIO mux devices are hardcoded to look up GPIO lines from
      the "gpio_ich" GPIO chip. If there are more than one mux,
      there is certainly more than one gpio chip as well, and
      then we have more serious problems. Switch to
      PLATFORM_DEVID_NONE instead. There can be only one.
      
      Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
      Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
      Cc: Peter Rosin <peda@axentia.se>
      Cc: Jean Delvare <jdelvare@suse.com>
      Signed-off-by: default avatarSerge Semin <fancer.lancer@gmail.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Reviewed-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
      [Removed a newline, suggested by Andy. /Peter]
      Signed-off-by: default avatarPeter Rosin <peda@axentia.se>
      d308dfbf
  28. 21 Jun, 2019 3 commits
  29. 14 Jun, 2019 1 commit
  30. 07 Jun, 2019 1 commit
    • Pali Rohár's avatar
      i2c: i801: Register optional lis3lv02d I2C device on Dell machines · 19b07cb4
      Pali Rohár authored
      Dell platform team told us that some (DMI whitelisted) Dell Latitude
      machines have ST microelectronics accelerometer at I2C address 0x29.
      
      Presence of that ST microelectronics accelerometer is verified by existence
      of SMO88xx ACPI device which represent that accelerometer. Unfortunately
      ACPI device does not specify I2C address.
      
      This patch registers lis3lv02d device for selected Dell Latitude machines
      at I2C address 0x29 after detection. And for Dell Vostro V131 machine at
      I2C address 0x1d which was manually detected.
      
      Finally commit a7ae8195
      
       ("i2c: i801: Allow ACPI SystemIO OpRegion to
      conflict with PCI BAR") allowed to use i2c-i801 driver on Dell machines so
      lis3lv02d correctly initialize accelerometer.
      
      Tested on Dell Latitude E6440.
      Signed-off-by: default avatarPali Rohár <pali.rohar@gmail.com>
      Reviewed-by: default avatarJean Delvare <jdelvare@suse.de>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      19b07cb4
  31. 30 May, 2019 1 commit
    • Thomas Gleixner's avatar
      treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 · c942fddf
      Thomas Gleixner authored
      
      
      Based on 3 normalized pattern(s):
      
        this program is free software you can redistribute it and or modify
        it under the terms of the gnu general public license as published by
        the free software foundation either version 2 of the license or at
        your option any later version this program is distributed in the
        hope that it will be useful but without any warranty without even
        the implied warranty of merchantability or fitness for a particular
        purpose see the gnu general public license for more details
      
        this program is free software you can redistribute it and or modify
        it under the terms of the gnu general public license as published by
        the free software foundation either version 2 of the license or at
        your option any later version [author] [kishon] [vijay] [abraham]
        [i] [kishon]@[ti] [com] this program is distributed in the hope that
        it will be useful but without any warranty without even the implied
        warranty of merchantability or fitness for a particular purpose see
        the gnu general public license for more details
      
        this program is free software you can redistribute it and or modify
        it under the terms of the gnu general public license as published by
        the free software foundation either version 2 of the license or at
        your option any later version [author] [graeme] [gregory]
        [gg]@[slimlogic] [co] [uk] [author] [kishon] [vijay] [abraham] [i]
        [kishon]@[ti] [com] [based] [on] [twl6030]_[usb] [c] [author] [hema]
        [hk] [hemahk]@[ti] [com] this program is distributed in the hope
        that it will be useful but without any warranty without even the
        implied warranty of merchantability or fitness for a particular
        purpose see the gnu general public license for more details
      
      extracted by the scancode license scanner the SPDX license identifier
      
        GPL-2.0-or-later
      
      has been chosen to replace the boilerplate/reference in 1105 file(s).
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Reviewed-by: default avatarAllison Randal <allison@lohutok.net>
      Reviewed-by: default avatarRichard Fontana <rfontana@redhat.com>
      Reviewed-by: default avatarKate Stewart <kstewart@linuxfoundation.org>
      Cc: linux-spdx@vger.kernel.org
      Link: https://lkml.kernel.org/r/20190527070033.202006027@linutronix.de
      
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c942fddf
  32. 20 Mar, 2019 1 commit
  33. 04 Sep, 2018 1 commit