Re: [PATCH v5 16/20] net: stmmac: dwmac-sun8i: Prepare for second EMAC clock register

From
Maxime Ripard <hidden>
Date
2021-01-28 10:23:39
Also in
linux-arm-kernel, lkml
Reply to
Andre Przywara, 2021-01-27
On Wed, Jan 27, 2021 at 05:24:56PM +0000, Andre Przywara wrote:
The Allwinner H616 SoC has two EMAC controllers, with the second one
being tied to the internal PHY, but also using a separate EMAC clock
register.

To tell the driver about which clock register to use, we add a parameter
to our syscon phandle. The driver will use this value as an index into
the regmap, so that we can address more than the first register, if
needed.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <mripard@kernel.org>

Maxime

Attachments

Thread (2 messages) 2 messages, 2 authors, last reply 2021-01-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help