[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b8c29d27-e0a2-4378-ba5f-6d95a438c023@lunn.ch>
Date: Sun, 19 Nov 2023 17:18:49 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Jisheng Zhang <jszhang@...nel.org>
Cc: HeinerKallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
"David S.Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Conor Dooley <conor.dooley@...rochip.com>, netdev@...r.kernel.org,
linux-riscv@...ts.infradead.org
Subject: Re: [RFC] support built-in ethernet phy which needs some mmio
accesses
On Sun, Nov 19, 2023 at 09:57:17PM +0800, Jisheng Zhang wrote:
> Hi,
>
> I want to upstream milkv duo (powered by cv1800b) ethernet support. The SoC
> contains a built-in eth phy which also needs some initialization via.
> mmio access during init. So, I need to do something like this(sol A):
What does this initialisation do?
If you are turning on clocks, write a common clock provider, which the
PHY driver can use. If its a reset, write a reset driver. If its a
regulator, write a regulator driver, etc.
Andrew
Powered by blists - more mailing lists