lkml.org 
[lkml]   [2021]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH v2 0/2] usb: typec: Add driver for Microchip sama7g5 tcpc
Date
From: Cristian Birsan <cristian.birsan@microchip.com>

This patch set adds initial driver support for Microchip USB Type-C Port
Controller (TCPC) embedded in sama7g5 SoC.

The controller does not implement power delivery and the driver uses dummy
functions to register the port with TCPM. The current silicon version is
not able to trigger interrupts so the driver will poll for changes on
CC1/CC2 lines.

Support for sink is implemented and tested with an USB device. The plan is
to extend the driver and add source support.

Changes in v2:
- fix DT bindings yamllint warnings/errors
- fix compilation error reported by: kernel test robot <lkp@intel.com>

Cristian Birsan (2):
dt-bindings: usb: Add DT bindings for Microchip sama7g5 tcpc
usb: typec: sama7g5_tcpc: add driver for Microchip sama7g5 tcpc

.../bindings/usb/microchip,sama7g5-tcpc.yaml | 90 +++
drivers/usb/typec/tcpm/Kconfig | 8 +
drivers/usb/typec/tcpm/Makefile | 1 +
drivers/usb/typec/tcpm/sama7g5_tcpc.c | 610 ++++++++++++++++++
4 files changed, 709 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/microchip,sama7g5-tcpc.yaml
create mode 100644 drivers/usb/typec/tcpm/sama7g5_tcpc.c

--
2.25.1

\
 
 \ /
  Last update: 2021-03-30 22:57    [W:0.052 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site