[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210329213357.431083-1-cristian.birsan@microchip.com>
Date: Tue, 30 Mar 2021 00:33:55 +0300
From: <cristian.birsan@...rochip.com>
To: <linux@...ck-us.net>, <heikki.krogerus@...ux.intel.com>,
<gregkh@...uxfoundation.org>, <robh+dt@...nel.org>
CC: <linux-usb@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>,
Cristian Birsan <cristian.birsan@...rochip.com>
Subject: [RFC PATCH 0/2] usb: typec: Add driver for Microchip sama7g5 tcpc
From: Cristian Birsan <cristian.birsan@...rochip.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
Powered by blists - more mailing lists