1. 28 9月, 2015 1 次提交
  2. 06 9月, 2015 2 次提交
  3. 04 9月, 2015 2 次提交
  4. 25 8月, 2015 1 次提交
  5. 14 8月, 2015 1 次提交
  6. 08 8月, 2015 2 次提交
  7. 06 8月, 2015 1 次提交
  8. 05 8月, 2015 8 次提交
  9. 04 8月, 2015 1 次提交
    • D
      Input: zforce - make the interrupt GPIO optional · 62f46669
      Dirk Behme 提交于
      Add support for hardware which uses an I2C Serializer / Deserializer
      (SerDes) to communicate with the zFroce touch driver. In this case the
      SerDes will be configured as an interrupt controller and the zForce driver
      will have no access to poll the GPIO line.
      
      To support this, we add two dedicated new GPIOs in the device tree:
      reset-gpios and irq-gpios, with the irq-gpios being optional.
      
      To not break the existing device trees, the index based 'gpios' entries
      are still supported, but marked as deprecated.
      
      With this, if the interrupt GPIO is available, either via the old or new
      device tree style, the while loop will read and handle the packets as long
      as the GPIO indicates that the interrupt is asserted (existing, unchanged
      driver behavior).
      
      If the interrupt GPIO isn't available, i.e. not configured via the new
      device tree style, we are falling back to one read per ISR invocation
      (new behavior to support the SerDes).
      
      Note that the gpiod functions help to handle the optional GPIO:
      devm_gpiod_get_index_optional() will return NULL in case the interrupt
      GPIO isn't available. And gpiod_get_value_cansleep() does cover this, too,
      by returning 0 in this case.
      Signed-off-by: NDirk Behme <dirk.behme@de.bosch.com>
      Reviewed-by: NHeiko Stuebner <heiko.stuebner@bq.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      62f46669
  10. 31 7月, 2015 2 次提交
    • J
      Input: touchscreen - export OF module alias information · 02d9bd05
      Javier Martinez Canillas 提交于
      The I2C core always reports the MODALIAS uevent as "i2c:<client name"
      regardless if the driver was matched using the I2C id_table or the
      of_match_table. So technically there's no need for a driver to export
      the OF table since currently it's not used.
      
      In fact, the I2C device ID table is mandatory for I2C drivers since
      a i2c_device_id is passed to the driver's probe function even if the
      I2C core used the OF table to match the driver.
      
      And since the I2C core uses different tables, OF-only drivers needs to
      have duplicated data that has to be kept in sync and also the dev node
      compatible manufacturer prefix is stripped when reporting the MODALIAS.
      
      To avoid the above, the I2C core behavior may be changed in the future
      to not require an I2C device table for OF-only drivers and report the
      OF module alias. So, it's better to also export the OF table to prevent
      breaking module autoloading if that happens.
      Signed-off-by: NJavier Martinez Canillas <javier@osg.samsung.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      02d9bd05
    • J
      Input: export I2C module alias information in missing drivers · 2e9e910e
      Javier Martinez Canillas 提交于
      The I2C core always reports the MODALIAS uevent as "i2c:<client name"
      regardless if the driver was matched using the I2C id_table or the
      of_match_table. So the driver needs to export the I2C table and this
      be built into the module or udev won't have the necessary information
      to auto load the correct module when the device is added.
      Signed-off-by: NJavier Martinez Canillas <javier@osg.samsung.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      2e9e910e
  11. 28 7月, 2015 5 次提交
  12. 24 7月, 2015 1 次提交
  13. 21 7月, 2015 1 次提交
  14. 18 7月, 2015 1 次提交
  15. 12 7月, 2015 11 次提交