mbox series

[0/3] usb: typec: tcpm: Add some FAULT_STATUS processing

Message ID 20190506140830.25376-1-angus@akkea.ca (mailing list archive)
Headers show
Series usb: typec: tcpm: Add some FAULT_STATUS processing | expand

Message

Angus Ainslie May 6, 2019, 2:08 p.m. UTC
A high number of interrupts were being generated by the tcpci driver.
These patches put debugging info into the tcpm log and clear the
interrupt condition.

Angus Ainslie (Purism) (3):
  usb: typec: tcpm: Export the logging function so it can be used by
    tcpci
  usb: typec: tcpm: Add functions to read the VBUS voltage
  usb: typec: tcpm: Clear the fault status register

 drivers/usb/typec/tcpm/tcpci.c | 56 ++++++++++++++++++++++++++++++++++
 drivers/usb/typec/tcpm/tcpm.c  |  3 +-
 include/linux/usb/tcpm.h       |  2 ++
 3 files changed, 60 insertions(+), 1 deletion(-)