[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160120094754.316390b5@free-electrons.com>
Date: Wed, 20 Jan 2016 09:47:54 +0100
From: Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>
To: Jisheng Zhang <jszhang@...vell.com>
Cc: <davem@...emloft.net>, <mw@...ihalf.com>, <robh+dt@...nel.org>,
<pawel.moll@....com>, <mark.rutland@....com>,
<ijc+devicetree@...lion.org.uk>, <galak@...eaurora.org>,
<devicetree@...r.kernel.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <sebastian.hesselbarth@...il.com>,
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 2/4] net: mvneta: Try to get named core clock first
Dear Jisheng Zhang,
On Wed, 20 Jan 2016 16:06:21 +0800, Jisheng Zhang wrote:
> 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.
>
> To support for more than one clock, we'll need to distinguish between
> the clock by name. Change clock probing to first try to get "core"
> clock before falling back to unnamed clock.
>
> Signed-off-by: Jisheng Zhang <jszhang@...vell.com>
> ---
> drivers/net/ethernet/marvell/mvneta.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Acked-by: Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Powered by blists - more mailing lists