[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140722234653.GB21545@arch.cereza>
Date: Tue, 22 Jul 2014 20:46:53 -0300
From: Ezequiel Garcia <ezequiel.garcia@...e-electrons.com>
To: Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Jason Cooper <jason@...edaemon.net>,
Gregory Clement <gregory.clement@...e-electrons.com>,
Andrew Lunn <andrew@...n.ch>
Subject: Re: mvebu: Can we make the orion-mdio clock a requirement?
On 21 Jul 10:23 PM, Thomas Petazzoni wrote:
> On Mon, 21 Jul 2014 22:12:45 +0200, Sebastian Hesselbarth wrote:
>
> > > However, yes, I tend to agree, making the clock mandatory would
> > > probably be a good thing.
> >
> > We can always pass TCLK on Orion5x if there is a need for a mandatory
> > clock. Anyway, IIRC clock framework should now properly return
> > -EPROPEDEFER only if there is a clock property set. If there is none,
> > the error is different and can be catched on Orion5x.
>
> Yes, I already use tclk on Orion5x for various clock references.
>
Since we all agree, I'll prepare a patchset changing the mvmdio devicetree
binding so the clock is required.
On the driver side, we can only print a warning if the clock is missing,
to keep compatibility.
--
Ezequiel GarcĂa, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists