lkml.org 
[lkml]   [2021]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/2] net: stmmac: Add Ingenic SoCs MAC support.
> The manual does not tell how much ps a unit is.
>
> I am confirming with Ingenic, but there is no reply
>
> at the moment. Can we follow Rockchip's approach?
>
> According to the description in "rockchip-dwmac.yaml"
>
> and the related code in "dwmac-rk.c", it seems that their
>
> delay parameter seems to be the value used by the hardware
>
> directly instead of ps.

We are much more strict about this now than before. You have to use
standard units and convert to hardware values. It also makes it a lot
easier for DT writers, if they have an idea what the units mean.

Having the MAC add small delays is something you can add later,
without breaking backwards compatibility. So if you cannot determine
what the units are now, just submit the glue driver without support
for this feature. If anybody really needs it, they can do the needed
research, maybe do some measurements, and then add the code.

Andrew

\
 
 \ /
  Last update: 2021-06-10 14:17    [W:1.551 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site