linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] usb: typec: Add driver for Microchip sama7g5 tcpc
@ 2021-03-29 21:33 cristian.birsan
  2021-03-29 21:33 ` [RFC PATCH 1/2] dt-bindings: usb: Add DT bindings " cristian.birsan
  2021-03-29 21:33 ` [RFC PATCH 2/2] usb: typec: sama7g5_tcpc: add driver " cristian.birsan
  0 siblings, 2 replies; 4+ messages in thread
From: cristian.birsan @ 2021-03-29 21:33 UTC (permalink / raw)
  To: linux, heikki.krogerus, gregkh, robh+dt
  Cc: linux-usb, linux-kernel, linux-arm-kernel, devicetree, Cristian Birsan

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.

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  |  80 +++
 drivers/usb/typec/tcpm/Kconfig                |   8 +
 drivers/usb/typec/tcpm/Makefile               |   1 +
 drivers/usb/typec/tcpm/sama7g5_tcpc.c         | 602 ++++++++++++++++++
 4 files changed, 691 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-30 13:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-29 21:33 [RFC PATCH 0/2] usb: typec: Add driver for Microchip sama7g5 tcpc cristian.birsan
2021-03-29 21:33 ` [RFC PATCH 1/2] dt-bindings: usb: Add DT bindings " cristian.birsan
2021-03-30 13:08   ` Rob Herring
2021-03-29 21:33 ` [RFC PATCH 2/2] usb: typec: sama7g5_tcpc: add driver " cristian.birsan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).