[PATCH 10/13] phy: qcom: qmp-usbc: add support for the Type-C handling
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Sat Jan 13 06:17:45 PST 2024
On Sat, 13 Jan 2024 at 12:48, Konrad Dybcio <konrad.dybcio at linaro.org> wrote:
>
> On 13.01.2024 06:42, Dmitry Baryshkov wrote:
> > The USB-C PHYs on the msm8998, QCM2290 and SM6115 platforms use special
> > register to control which lanes of the Type-C port are used for the
> > SuperSpeed USB connection. Mimic the qmp-combo driver and handle this
> > register.
> >
> > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> > ---
>
> [...]
>
> > +#if IS_ENABLED(CONFIG_TYPEC)
>
> I understand some people may want their USB to work without TC compiled
> in, but it looks funky to have a "USB-C PHY" with optional USB-C support..
>
> Should we just depend on it in kconfig?
Well, we didn't for combo PHY. Also both PHYs support working with
just micro-/mini-USB OTG.
I'll wait for Vinod's feedback here.
--
With best wishes
Dmitry
More information about the linux-phy
mailing list