[PATCH v2 1/1] net: dwc_eth_qos: mdio: Implement clause 45
Marek Vasut
marex at denx.de
Tue May 7 15:41:02 CEST 2024
On 5/7/24 11:42 AM, Philip Oberfichtner wrote:
> Bevor this commit, only clause 22 access was possible. After this commit,
> clause 45 direct access will available as well.
>
> Note that there is a slight change of behavior: Before this commit, the
> C45E bit was set to whatever value was left in the register from the
> previous access. After this commit, we adopt the common practice of
> discerning C45 from C22 using the devad argument.
>
> Signed-off-by: Philip Oberfichtner <pro at denx.de>
> ---
>
> Notes:
> Attention: There is a slight change of behavior introduced by this
> commit (see commit message). Please test and review if this works for
> everybody.
>
> My implementation is tested on an Intel Elkhart lake SOC, patch
> submitted here:
>
> https://patchwork.ozlabs.org/project/uboot/list/?series=405358
>
> Changes in V2:
> - Use FIELD_PREP() instead of manual '<<' shifting
> - Fix whitespace errors
Reviewed-by: Marek Vasut <marex at denx.de>
More information about the U-Boot
mailing list