devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] net: mvneta: support more than one clk
@ 2016-01-20 11:27 Jisheng Zhang
  2016-01-20 11:27 ` [PATCH v3 1/4] net: mvneta: sort the headers in alphabetic order Jisheng Zhang
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Jisheng Zhang @ 2016-01-20 11:27 UTC (permalink / raw)
  To: thomas.petazzoni, davem, mw, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, sebastian.hesselbarth
  Cc: Jisheng Zhang, devicetree, linux-kernel, linux-arm-kernel, netdev

Some platforms may provide more than one clk for the mvneta IP, for
example Marvell BG4CT provides "core" clk for the mac core, and "axi"
clk for the AXI bus logic.

This series tries to addess the "more than one clk" issue. Note: to
support BG4CT, we have lots of refactor work to do, eg. BG4CT doesn't
have mbus concept etc.

Since v2:
 - Name the optional clock as "bus", which is a bit more flexible.

Since v1:
 - Add Thomas Acks to patch1 and patch2.
 - make sure the headers are really sorted (some headers are still
   unsorted in v1).
 - disable axi clk before disabling core clk, Thank Thomas.
 - update dt binding as Thomas suggested.


Jisheng Zhang (4):
  net: mvneta: sort the headers in alphabetic order
  net: mvneta: Try to get named core clock first
  net: mvneta: get optional bus clk
  net: mvneta: update clocks property and document additional
    clock-names

 .../bindings/net/marvell-armada-370-neta.txt       |  7 +++-
 drivers/net/ethernet/marvell/mvneta.c              | 38 ++++++++++++++--------
 2 files changed, 30 insertions(+), 15 deletions(-)

-- 
2.7.0.rc3

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-01-21 20:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-20 11:27 [PATCH v3 0/4] net: mvneta: support more than one clk Jisheng Zhang
2016-01-20 11:27 ` [PATCH v3 1/4] net: mvneta: sort the headers in alphabetic order Jisheng Zhang
2016-01-20 11:27 ` [PATCH v3 2/4] net: mvneta: Try to get named core clock first Jisheng Zhang
2016-01-20 11:27 ` [PATCH v3 4/4] net: mvneta: update clocks property and document additional clock-names Jisheng Zhang
2016-01-20 16:29   ` Rob Herring
     [not found] ` <1453289245-2061-1-git-send-email-jszhang-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
2016-01-20 11:27   ` [PATCH v3 3/4] net: mvneta: get optional bus clk Jisheng Zhang
2016-01-21 20:05   ` [PATCH v3 0/4] net: mvneta: support more than one clk David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).