[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YMICTvjyEAgPMH9u@lunn.ch>
Date: Thu, 10 Jun 2021 14:15:10 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Zhou Yanjie <zhouyanjie@...yeetech.com>
Cc: davem@...emloft.net, kuba@...nel.org, robh+dt@...nel.org,
peppe.cavallaro@...com, alexandre.torgue@...s.st.com,
joabreu@...opsys.com, mcoquelin.stm32@...il.com,
linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, devicetree@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, dongsheng.qiu@...enic.com,
aric.pzqi@...enic.com, rick.tyliu@...enic.com,
sihui.liu@...enic.com, jun.jiang@...enic.com,
sernia.zhou@...mail.com, paul@...pouillou.net
Subject: Re: [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
Powered by blists - more mailing lists