RE: [EXT] Re: [PATCH v5 3/3] ARM: imx6plus: optionally enable internal routing of clk_enet_ref
From: Andy Duan
Date: Mon Jul 06 2020 - 01:30:29 EST
From: Sven Van Asbroeck <thesven73@xxxxxxxxx> Sent: Sunday, July 5, 2020 11:34 PM
>
> ext phy---------| \
> | |
> enet_ref-o------|M |----pad------| \
> | |_/ | |
> | |M |----mac_gtx
> | | |
> o-----------------------|_/
>
>
> How do we tell the clock framework that clk_pad has a mux that can be
> connected to _any_ external clock? and also enet_ref?
The clock depends on board design, HW refer guide can describe the clk
usage in detail and customer select one clk path as their board design.
To make thing simple, we can just control the second "M" that is controlled
by gpr bit.