[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230503190801.5glkm3n5sn5tvg7m@pengutronix.de>
Date: Wed, 3 May 2023 21:08:01 +0200
From: Marco Felsch <m.felsch@...gutronix.de>
To: Jun Li <jun.li@....com>
Cc: "festevam@...il.com" <festevam@...il.com>,
"kernel@...gutronix.de" <kernel@...gutronix.de>,
Andreas Henriksson <andreas@...al.se>,
Xu Yang <xu.yang_2@....com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
dl-linux-imx <linux-imx@....com>,
"krzysztof.kozlowski+dt@...aro.org"
<krzysztof.kozlowski+dt@...aro.org>,
"shawnguo@...nel.org" <shawnguo@...nel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH] arm64: dts: imx8mp-evk: add dual-role usb port1 support
On 23-05-03, Marco Felsch wrote:
> Hi Li, Andreas,
...
> > Thanks for the advice.
> >
> > *reuse* compatible = "gpio-sbu-mux"; can make the basic *function* work,
> > but that's not the right direction, SBU has its own signal in typec connector,
> > here what we need is the Super Speed signal switch, you can see iMX8MP EVK
> > use 2 GPIOs control the SS for 3 states(normal orientation, reserve orientation,
> > places all channels in high impedance state), but SBU will disable both channels
> > at TYPEC_STATE_USB, this is not correct for USB data, so logically we cannot
> > reuse SBU either. But I think this gpio-sbu-mux.c driver can be extended to
> > add support super speed signal orientation.
>
> Thanks for the useful input :) I was dug into the usb-c hole and now I'm
> back. The "gpio-sbu-mux" should fit perfectly for our use-case, we only
> have to tell the driver to act as 'orientation-switch' only. All pieces
> are in place so just dts work to do. I will test my new patch and send a
> new version which should support super-speed to (fingers crossed).
Now I see problem you mentioned, let's see if we can extent the driver.
Sorry for the noise.
Regards,
Marco
Powered by blists - more mailing lists