[RFC] support built-in ethernet phy which needs some mmio accesses
Andrew Lunn
andrew at lunn.ch
Sun Nov 19 08:18:49 PST 2023
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
More information about the linux-riscv
mailing list