[U-Boot] [PATCH] NET: designware: fix clock enable

Joe Hershberger joe.hershberger at ni.com
Tue Feb 6 18:36:20 UTC 2018


On Tue, Feb 6, 2018 at 8:12 AM, Eugeniy Paltsev
<Eugeniy.Paltsev at synopsys.com> wrote:
> After commit ba1f966725223 "net: designware: add clock support"
> we got NET broken on axs101 and axs103 platforms.
>
> Some clock don't support gating so their clock drivers don't
> implement .enable/.disable callbacks. In such case clk_enable
> returns -ENOSYS.
> Also some clock drivers implement .enable/.disable callbacks not for all
> clock IDs and return -ENOSYS (or -ENOTSUPP) for others.
>
> If we have such clock in 'clocks' list of designware ethernet controller
> node we fail to probe designware ethernet.
>
> Fix it.
>
> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list