[PATCH 0/2] typec: tipd: Add support for polling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following series of patches add support for polling in the tipd
driver. The driver switches to polling by default, when interrupts
property is not populated.

Link to RFC patch posted earlier,
- https://patchwork.kernel.org/project/linux-usb/patch/20220412145059.4717-1-a-govindraju@xxxxxx/

Changes since RFC patch,
- Added patch to make the required changes in dt-bindings to make
  interrupts optional
- Changed to using (client->irq) to decide whether interrupts or
  polling should be used instead of switching to polling based on
  the return value while requesting irq line.

Aswath Govindraju (2):
  dt-bindings: usb: tps6598x: Make the interrupts property optional
  usb: typec: tipd: Add support for polling interrupts status when
    interrupt line is not connected

 .../devicetree/bindings/usb/ti,tps6598x.yaml  |  4 +-
 drivers/usb/typec/tipd/core.c                 | 99 ++++++++++++++++---
 2 files changed, 90 insertions(+), 13 deletions(-)

-- 
2.17.1




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux