An error occurred fetching the project authors.
  1. 19 Sep, 2017 1 commit
  2. 05 Jun, 2017 1 commit
  3. 14 Apr, 2017 1 commit
  4. 23 Mar, 2017 1 commit
  5. 23 Feb, 2017 1 commit
  6. 17 Feb, 2017 1 commit
    • H. Nikolaus Schaller's avatar
      Input: tsc2007 - add iio interface to read external ADC input and temperature · f1443404
      H. Nikolaus Schaller authored
      The tsc2007 chip not only has a resistive touch screen controller but
      also an external AUX adc imput which can be used for an ambient
      light sensor, battery voltage monitoring or any general purpose.
      
      Additionally it can measure the chip temperature.
      
      This extension provides an iio interface for these adc channels.
      
      Since it is not wasting much resources and is very straightforward,
      we simply provide all other adc channels as optional iio interfaces
      as weel. This can be used for debugging or special applications.
      
      This patch also splits the tsc2007 driver in several source files:
      tsc2007.h -- constants, structs and stubs
      tsc2007_core.c -- functional parts of the original driver
      tsc2007_iio.c -- the optional iio stuff
      
      Makefile magic allows to conditionally link the iio stuff
      if CONFIG_IIO=y or =m in a way that it works with
      CONFIG_TOUCHSCREEN_TSC2007=m.
      Signed-off-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
      Reviewed-by: default avatarJonathan Cameron <jic23@kernel.org>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      f1443404
  7. 09 Feb, 2017 1 commit
  8. 06 Jan, 2017 1 commit
  9. 27 Sep, 2016 1 commit
  10. 19 Sep, 2016 1 commit
    • Arnd Bergmann's avatar
      [media] Input: atmel_mxt: disallow impossible configuration · 7a4b9a29
      Arnd Bergmann authored
      The newnly added debug mode for the atmel_mxt_ts driver relies on
      the v4l2 interface and vb2_vmalloc, but those might be configured
      as loadable modules when the driver itself is built-in, resulting
      in a link failure:
      
      drivers/input/touchscreen/atmel_mxt_ts.o: In function `mxt_vidioc_querycap':
      atmel_mxt_ts.c:(.text.mxt_vidioc_querycap+0x10): undefined reference to `video_devdata'
      drivers/input/touchscreen/atmel_mxt_ts.o: In function `mxt_buffer_queue':
      atmel_mxt_ts.c:(.text.mxt_buffer_queue+0x20): undefined reference to `vb2_plane_vaddr'
      atmel_mxt_ts.c:(.text.mxt_buffer_queue+0x164): undefined reference to `vb2_buffer_done'
      drivers/input/touchscreen/atmel_mxt_ts.o: In function `mxt_free_object_table':
      atmel_mxt_ts.c:(.text.mxt_free_object_table+0x18): undefined reference to `video_unregister_device'
      atmel_mxt_ts.c:(.text.mxt_free_object_table+0x20): undefined reference to `v4l2_device_unregister'
      
      The best workaround I could come up with is to disallow the debug
      mode unless it's actually possible to call it.
      
      Fixes: ecfdd7e2 ("[media] Input: atmel_mxt_ts - output diagnostic debug via V4L2 device")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarNick Dyer <nick@shmanahar.org>
      Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      7a4b9a29
  11. 23 Aug, 2016 2 commits
  12. 22 Aug, 2016 1 commit
  13. 04 Aug, 2016 1 commit
  14. 03 Aug, 2016 2 commits
  15. 28 May, 2016 1 commit
  16. 19 May, 2016 1 commit
  17. 18 May, 2016 1 commit
  18. 04 Mar, 2016 1 commit
  19. 17 Feb, 2016 1 commit
  20. 11 Feb, 2016 1 commit
  21. 09 Feb, 2016 1 commit
  22. 18 Dec, 2015 1 commit
    • Irina Tirdea's avatar
      Input: goodix - reset device at init · ec6e1b40
      Irina Tirdea authored
      After power on, it is recommended that the driver resets the device.
      The reset procedure timing is described in the datasheet and is used
      at device init (before writing device configuration) and
      for power management. It is a sequence of setting the interrupt
      and reset pins high/low at specific timing intervals. This procedure
      also includes setting the slave address to the one specified in the
      ACPI/device tree.
      
      This is based on Goodix datasheets for GT911 and GT9271 and on Goodix
      driver gt9xx.c for Android (publicly available in Android kernel
      trees for various devices).
      
      For reset the driver needs to control the interrupt and
      reset gpio pins (configured through ACPI/device tree). For devices
      that do not have the gpio pins properly declared, the functionality
      depending on these pins will not be available, but the device can still
      be used with basic functionality.
      
      For both device tree and ACPI, the interrupt gpio pin configuration is
      read from the "irq-gpios" property and the reset pin configuration is
      read from the "reset-gpios" property. For ACPI 5.1, named properties
      can be specified using the _DSD section. This functionality will not be
      available for devices that use indexed gpio pins declared in the _CRS
      section (we need to provide backward compatibility with devices
      that do not support using the interrupt gpio pin as output).
      
      For ACPI, the pins can be specified using ACPI 5.1:
      Device (STAC)
      {
          Name (_HID, "GDIX1001")
          ...
      
          Method (_CRS, 0, Serialized)
          {
              Name (RBUF, ResourceTemplate ()
              {
                  I2cSerialBus (0x0014, ControllerInitiated, 0x00061A80,
                      AddressingMode7Bit, "\\I2C0",
                      0x00, ResourceConsumer, ,
                      )
      
                  GpioInt (Edge, ActiveHigh, Exclusive, PullNone, 0x0000,
                      "\\I2C0", 0x00, ResourceConsumer, ,
                       )
                       {   // Pin list
                           0
                       }
      
                  GpioIo (Exclusive, PullDown, 0x0000, 0x0000,
                      IoRestrictionOutputOnly, "\\I2C0", 0x00,
                      ResourceConsumer, ,
                      )
                      {
                           1
                      }
              })
              Return (RBUF)
          }
      
          Name (_DSD,  Package ()
          {
              ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
              Package ()
              {
                  Package (2) {"irq-gpios", Package() {^STAC, 0, 0, 0 }},
                  Package (2) {"reset-gpios", Package() {^STAC, 1, 0, 0 }},
                  ...
              }
          }
      Signed-off-by: default avatarOctavian Purdila <octavian.purdila@intel.com>
      Signed-off-by: default avatarIrina Tirdea <irina.tirdea@intel.com>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      Acked-by: default avatarBastien Nocera <hadess@hadess.net>
      Tested-by: default avatarBastien Nocera <hadess@hadess.net>
      Tested-by: default avatarAleksei Mamlin <mamlinav@gmail.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      ec6e1b40
  23. 16 Dec, 2015 2 commits
  24. 01 Dec, 2015 1 commit
  25. 03 Nov, 2015 2 commits
  26. 18 Oct, 2015 1 commit
    • Randy Dunlap's avatar
      Input: sur40 - add dependency on VIDEO_V4L2 · c8a1978e
      Randy Dunlap authored
      Fix build errors due to missing Kconfig dependency.
      
      drivers/built-in.o: In function `sur40_disconnect':
      sur40.c:(.text+0x22be6e): undefined reference to `video_unregister_device'
      sur40.c:(.text+0x22be77): undefined reference to `v4l2_device_unregister'
      drivers/built-in.o: In function `sur40_process_video':
      sur40.c:(.text+0x22c1d4): undefined reference to `v4l2_get_timestamp'
      drivers/built-in.o: In function `sur40_probe':
      sur40.c:(.text+0x22ca82): undefined reference to `v4l2_device_register'
      sur40.c:(.text+0x22cb1a): undefined reference to `v4l2_device_unregister'
      sur40.c:(.text+0x22cbf7): undefined reference to `video_device_release_empty'
      sur40.c:(.text+0x22cc53): undefined reference to `__video_register_device'
      sur40.c:(.text+0x22cc90): undefined reference to `video_unregister_device'
      drivers/built-in.o: In function `sur40_vidioc_querycap':
      sur40.c:(.text+0x22ccb0): undefined reference to `video_devdata'
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      c8a1978e
  27. 06 Oct, 2015 1 commit
  28. 02 Oct, 2015 1 commit
  29. 05 Sep, 2015 2 commits
  30. 04 Aug, 2015 1 commit
  31. 28 Jul, 2015 2 commits
  32. 12 Jul, 2015 1 commit
  33. 24 Jun, 2015 1 commit
  34. 26 May, 2015 1 commit