[PATCH 1/2] drm/etnaviv: fail probe if core or bus clock are absent
Lucas Stach
l.stach at pengutronix.de
Mon Aug 29 10:47:20 UTC 2016
Am Freitag, den 26.08.2016, 17:10 +0100 schrieb Russell King - ARM
Linux:
> On Fri, Aug 26, 2016 at 05:49:54PM +0200, Lucas Stach wrote:
> > The devicetree documentation states that those are required properties,
> > so the driver should refuse to probe if those are absent to be
> > consistent. This will also allow to drop some error checking from the
> > clock enable/disable paths.
>
> NAK.
>
> Thanks for reviewing the existing DT files before proposing this change
> and noticing that you're going to wilfully end up breaking existing users.
> A simple grep would have sufficed.
>
Gah, thanks for pointing this out.
> The DT binding doc is wrong: there is only one documented clock on Dove
> and that's for the GPU core. (The Dove documentation as far as clocks
> go is very poor.) So, what's Dove supposed to do - make up some
> ficticious clock?
>
Core, bus and shader are all module input clocks. If the SoC integration
provides the same clock for all inputs, the DT should reflect this by
supplying the same clock for all 3 inputs.
I'm going to change this patch to keep things working for the Dove DTs,
but I think they really should be changed to supply all 3 input clocks.
I'm sorry for not noticing this when you proposed the Dove GPU DT
support.
Regards,
Lucas
More information about the dri-devel
mailing list