linux-phy.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* ipq8074 USB PHY
@ 2022-09-29 11:26 Dmitry Baryshkov
  2022-09-29 11:51 ` Robert Marko
  2022-09-29 16:52 ` Baruch Siach
  0 siblings, 2 replies; 3+ messages in thread
From: Dmitry Baryshkov @ 2022-09-29 11:26 UTC (permalink / raw)
  To: Robert Marko, Baruch Siach
  Cc: linux-arm-msm, open list:GENERIC PHY FRAMEWORK, Johan Hovold

Hi Robert, Baruch,

We have been looking onto the QMP PHY programming in the upstream 
kernels. I noticed that the ipq8074_usb3phy_cfg uses usb3phy_regs_layout 
for the regs layout, however the Qualcomm's kernel ([1]) defines offsets 
which correspond to qmp_v3_usb3phy_regs_layout. As you seem to be 
working with this platform, could you please doublecheck which of 
layouts is correct? Thank you.

[1] 
https://source.codeaurora.org/quic/qsdk/oss/kernel/linux-msm/tree/arch/arm64/boot/dts/qcom/qcom-ipq807x-soc.dtsi?h=NHSS.QSDK.9.0.2&id=894e56082ca89638c68b7cee039ac1b2a6cb4863#n1237

-- 
With best wishes
Dmitry

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

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

* Re: ipq8074 USB PHY
  2022-09-29 11:26 ipq8074 USB PHY Dmitry Baryshkov
@ 2022-09-29 11:51 ` Robert Marko
  2022-09-29 16:52 ` Baruch Siach
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Marko @ 2022-09-29 11:51 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Baruch Siach, linux-arm-msm, open list:GENERIC PHY FRAMEWORK,
	Johan Hovold

On Thu, 29 Sept 2022 at 13:26, Dmitry Baryshkov
<dmitry.baryshkov@linaro.org> wrote:
>
> Hi Robert, Baruch,
>
> We have been looking onto the QMP PHY programming in the upstream
> kernels. I noticed that the ipq8074_usb3phy_cfg uses usb3phy_regs_layout
> for the regs layout, however the Qualcomm's kernel ([1]) defines offsets
> which correspond to qmp_v3_usb3phy_regs_layout. As you seem to be
> working with this platform, could you please doublecheck which of
> layouts is correct? Thank you.

Hi Dmitry,
Unfortunately, I dont really have a way of for sure knowing which one
is correct as I dont
have any register docs.
However, QCA-s 5.4 kernel has been using usb3phy_regs_layout from the
start, that is how
QCA upstreamed it as well and so far USB3 has been working fine on
multiple boards I have
access to.

4.4 tree was kind of full of broken stuff that mostly got fixed in 5.4.

Regards,
Robert
>
> [1]
> https://source.codeaurora.org/quic/qsdk/oss/kernel/linux-msm/tree/arch/arm64/boot/dts/qcom/qcom-ipq807x-soc.dtsi?h=NHSS.QSDK.9.0.2&id=894e56082ca89638c68b7cee039ac1b2a6cb4863#n1237
>
> --
> With best wishes
> Dmitry

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

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

* Re: ipq8074 USB PHY
  2022-09-29 11:26 ipq8074 USB PHY Dmitry Baryshkov
  2022-09-29 11:51 ` Robert Marko
@ 2022-09-29 16:52 ` Baruch Siach
  1 sibling, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2022-09-29 16:52 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Robert Marko, linux-arm-msm, open list:GENERIC PHY FRAMEWORK,
	Johan Hovold

Hi Dmitry,

On Thu, Sep 29 2022, Dmitry Baryshkov wrote:
> We have been looking onto the QMP PHY programming in the upstream kernels. I
> noticed that the ipq8074_usb3phy_cfg uses usb3phy_regs_layout for the regs
> layout, however the Qualcomm's kernel ([1]) defines offsets which correspond
> to qmp_v3_usb3phy_regs_layout. As you seem to be working with this platform,
> could you please doublecheck which of layouts is correct? Thank you.
>
> [1]
> https://source.codeaurora.org/quic/qsdk/oss/kernel/linux-msm/tree/arch/arm64/boot/dts/qcom/qcom-ipq807x-soc.dtsi?h=NHSS.QSDK.9.0.2&id=894e56082ca89638c68b7cee039ac1b2a6cb4863#n1237

The platform I have access to is IPQ6018 based. Only USB2 signals are
connected on the board. I can't help with testing of USB3 PHY
initialization.  Sorry.

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

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

end of thread, other threads:[~2022-09-29 17:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-29 11:26 ipq8074 USB PHY Dmitry Baryshkov
2022-09-29 11:51 ` Robert Marko
2022-09-29 16:52 ` Baruch Siach

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).