Skip to content

Kirkwood: minor cleanups

Andrew Lunn linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 4 patches 0 repliesNew

1 of 4 patches is in this archive. The cover letter announces 4.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
3/4clk: kirkwood: Add CLK_IGNORE_UNUSED to ethernet ge0 and ge1 clocks+0 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Kirkwood: minor cleanups
Quoted 5 lines

The third and fourth patch are related: the latter strictly depends on the former. The idea behind these two patches is basically to convert the "keep the ethernet clocks enabled by calling clk_enable()" hack into a simpler and cleaner usage of the CLK_IGNORE_UNUSED flags which prevent these clocks from being ever gated.

Hi Ezequiel

This should work, but what would be nicer is to look and see if there is a node in DT for each device. If it does not have a node, don't set CLK_IGNORE_UNUSED, so that the clock does get turned off, and we save a bit of power. Quite a few of the kirkwood devices only have one ethernet.

Andrew