[PATCH 1/2] drm/etnaviv: fail probe if core or bus clock are absent

2016-08-29 Thread Lucas Stach
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. Thi

[PATCH 1/2] drm/etnaviv: fail probe if core or bus clock are absent

2016-08-29 Thread Russell King - ARM Linux
On Mon, Aug 29, 2016 at 12:47:20PM +0200, Lucas Stach wrote: > 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. You're making an assertion that we don't know

[PATCH 1/2] drm/etnaviv: fail probe if core or bus clock are absent

2016-08-26 Thread Lucas Stach
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. Signed-off-by: Lucas Stach --- drivers/gpu/drm/etnaviv/etnaviv_

[PATCH 1/2] drm/etnaviv: fail probe if core or bus clock are absent

2016-08-26 Thread 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 path