1. 20 2月, 2021 3 次提交
  2. 19 2月, 2021 1 次提交
  3. 17 2月, 2021 3 次提交
  4. 29 1月, 2021 1 次提交
  5. 25 1月, 2021 10 次提交
  6. 21 1月, 2021 1 次提交
    • O
      Input: ads7846 - convert to one message · 6965eece
      Oleksij Rempel 提交于
      Convert multiple full duplex transfers in to a single transfer to reduce
      CPU load.
      
      Current driver version support following filtering modes:
      - ads7846_no_filter() - not filtered
      - ads7846_debounce_filter() - driver specific debounce filter
      - pdata->filter - platform specific debounce filter (do any platform
      	provides such filter?)
      
      Without filter this HW is not really usable, since the physic of
      resistive touchscreen can provide some bounce effects. With driver internal
      filter, we have constant amount of retries + debounce retries if some anomaly
      was detected.
      
      High amount of tiny SPI transfers is the primer reason of high CPU load
      and interrupt frequency.
      
      This patch create one SPI transfer with all fields and not optional retires. If
      bounce anomaly was detected, we will make more transfer if needed.
      
      Without this patch, we will get about 10% CPU load on iMX6S on pen-down event.
      For example by holding stylus on the screen.
      
      With this patch, depending in the amount of retries, the CPU load will
      be 1% with "ti,debounce-rep = <3>".
      
      One buffer transfer allows us to use PIO FIFO or DMA engine, depending
      on the platform.
      Signed-off-by: NOleksij Rempel <o.rempel@pengutronix.de>
      Link: https://lore.kernel.org/r/20201110085041.16303-3-o.rempel@pengutronix.deSigned-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      6965eece
  7. 20 1月, 2021 5 次提交
  8. 11 1月, 2021 6 次提交
  9. 19 12月, 2020 2 次提交
  10. 16 12月, 2020 2 次提交
  11. 15 12月, 2020 2 次提交
  12. 12 12月, 2020 4 次提交