mvebu: Can we make the orion-mdio clock a requirement?
Ezequiel Garcia
ezequiel.garcia at free-electrons.com
Tue Jul 22 16:46:53 PDT 2014
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
More information about the linux-arm-kernel
mailing list