From: "Alvin Šipraga" <alvin@pqrs.dk>
To: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Rob Herring" <robh+dt@kernel.org>,
"Heikki Krogerus" <heikki.krogerus@linux.intel.com>,
�ipraga <alsi@bang-olufsen.dk>
Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/4] usb: typec: add drivers for TUSB320xA and TS5USBA224
Date: Tue, 1 Mar 2022 14:20:04 +0100 [thread overview]
Message-ID: <20220301132010.115258-1-alvin@pqrs.dk> (raw)
From: Alvin Šipraga <alsi@bang-olufsen.dk>
This series adds a new typec class driver for the TUSB320xA family of
Type-C port controllers and a typec_mux class driver for the TS5USBA224
switch mux.
This series was bourne out of frustration with the existing extcon
driver for the TUSB320, which did not offer a convenient driver model
for the Audio Accessory mode muxing offered by the TS5USBA224. I found
the typec subsystem to be more suitable.
I have tested this on my i.MX8MM platform with USB OTG support and it
works as desired. However I am not very familiar with this part of the
kernel, so I welcome your critical feedback to this series. Thanks in
advance.
Alvin Šipraga (4):
dt-bindings: usb: add TUSB320xA Type-C port controller
dt-bindings: usb: add TS5USBA224 USB/Audio switch mux
usb: typec: add TUSB320xA driver
usb: typec: mux: add TS5USBA224 driver
.../bindings/usb/ti,ts5usba224.yaml | 56 ++
.../devicetree/bindings/usb/ti,tusb320xa.yaml | 78 +++
drivers/usb/typec/Kconfig | 12 +
drivers/usb/typec/Makefile | 1 +
drivers/usb/typec/mux/Kconfig | 10 +
drivers/usb/typec/mux/Makefile | 1 +
drivers/usb/typec/mux/ts5usba224.c | 102 ++++
drivers/usb/typec/tusb320xa.c | 517 ++++++++++++++++++
8 files changed, 777 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/ti,ts5usba224.yaml
create mode 100644 Documentation/devicetree/bindings/usb/ti,tusb320xa.yaml
create mode 100644 drivers/usb/typec/mux/ts5usba224.c
create mode 100644 drivers/usb/typec/tusb320xa.c
--
2.35.1
next reply other threads:[~2022-03-01 13:20 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-01 13:20 Alvin Šipraga [this message]
2022-03-01 13:20 ` [PATCH 1/4] dt-bindings: usb: add TUSB320xA Type-C port controller Alvin Šipraga
2022-03-02 18:16 ` Rob Herring
2022-03-01 13:20 ` [PATCH 2/4] dt-bindings: usb: add TS5USBA224 USB/Audio switch mux Alvin Šipraga
2022-03-02 18:21 ` Rob Herring
2022-03-02 18:58 ` Alvin Šipraga
2022-03-01 13:20 ` [PATCH 3/4] usb: typec: add TUSB320xA driver Alvin Šipraga
2022-03-01 16:58 ` kernel test robot
2022-03-01 17:20 ` Alvin Šipraga
2022-03-07 14:36 ` Heikki Krogerus
2022-03-07 22:17 ` Alvin Šipraga
2022-03-08 11:49 ` Heikki Krogerus
2022-03-08 12:30 ` Alvin Šipraga
2022-03-01 13:20 ` [PATCH 4/4] usb: typec: mux: add TS5USBA224 driver Alvin Šipraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220301132010.115258-1-alvin@pqrs.dk \
--to=alvin@pqrs.dk \
--cc=alsi@bang-olufsen.dk \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).