Re: [PATCH v1 4/4] arm64: dts: imx8-ss-conn: add PPS channel to the FEC nodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Frank,

On Wed, Aug 07, 2024 at 04:25:29PM -0400, Frank Li wrote:
> On Wed, Aug 07, 2024 at 04:48:19PM -0300, Rafael Beims wrote:
> > On 07/08/2024 14:51, Francesco Dolcini wrote:
> > > On Wed, Aug 07, 2024 at 11:34:48AM -0400, Frank Li wrote:
> > > > On Wed, Aug 07, 2024 at 04:43:49PM +0200, Francesco Dolcini wrote:
> > > > > From: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
> > > > >
> > > > > On i.MX8 the FEC PPS channel is routed to the instance 1, not to the
> > > > > default 0.
> > > > According to my understand, it should be board level configuration. FEC
> > > > support output pps to any one. choose which one by board design.
> > > This seems different from the information we got from NXP some time ago,
> > > unfortunately this was happening over some private email exchange and
> > > not documented anywhere public. But the message was about SoC internal
> > > routing, not something at the board level, at least for i.MX8 SoCs that
> > > is what this patch is changing.
> > >
> > > For example to use PPS on i.MX8QXP we need to have this
> > >
> > > IMX8QM_ENET0_REFCLK_125M_25M_CONN_ENET0_PPS 0x06000020
> > >
> > > pinctrl configuration _and_ use PPS channel 1. Same is for i.MX8QP.
> > >

...

> > We have received the information from NXP support that the iMX8X only
> > supports channel 1. Here's the link of the public question I asked:
> >
> > https://community.nxp.com/t5/i-MX-Processors/IMX8X-PPS-output-configuration/m-p/1552154
> >
> > Unfortunately, the response came directly to my e-mail address with no
> > public update, but you can probably check the internal support case number
> > 00500877.

...

> 
> I checked some documents. channel0 route to internal eDMA as dma-request.
> If some boards use it as AVB/MCR. it should be set to 0. If need route
> out chip, it should use channel 1 as pps.
> 
> So I prefer put it into board level files for difference user case.

Fine for me and thanks for looking into this topic.

Let's drop this patch, we'll take care of having the property in the
appropriate board file.

Francesco





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux