Re: [PATCH v2 5/6] drm/vc4: Support the case where the DSI device is disabled

2018-05-04 Thread Thierry Reding
On Fri, May 04, 2018 at 03:49:06PM +0200, Boris Brezillon wrote: > On Fri, 4 May 2018 15:29:15 +0200 > Thierry Reding wrote: > > > On Fri, May 04, 2018 at 02:05:25PM +0200, Boris Brezillon wrote: > > > On Fri, 4 May 2018 12:28:33 +0200 > > > Thierry Reding wrote: > > > > > > > On Thu, May 03,

Re: [PATCH v2 5/6] drm/vc4: Support the case where the DSI device is disabled

2018-05-04 Thread Boris Brezillon
On Fri, 4 May 2018 15:29:15 +0200 Thierry Reding wrote: > On Fri, May 04, 2018 at 02:05:25PM +0200, Boris Brezillon wrote: > > On Fri, 4 May 2018 12:28:33 +0200 > > Thierry Reding wrote: > > > > > On Thu, May 03, 2018 at 06:40:08PM +0200, Boris Brezillon wrote: > > > > Having a device with

Re: [PATCH v2 5/6] drm/vc4: Support the case where the DSI device is disabled

2018-05-04 Thread Thierry Reding
On Fri, May 04, 2018 at 02:05:25PM +0200, Boris Brezillon wrote: > On Fri, 4 May 2018 12:28:33 +0200 > Thierry Reding wrote: > > > On Thu, May 03, 2018 at 06:40:08PM +0200, Boris Brezillon wrote: > > > Having a device with a status property != "okay" in the DT is a valid > > > use case, and we sh

Re: [PATCH v2 5/6] drm/vc4: Support the case where the DSI device is disabled

2018-05-04 Thread Boris Brezillon
On Fri, 4 May 2018 12:28:33 +0200 Thierry Reding wrote: > On Thu, May 03, 2018 at 06:40:08PM +0200, Boris Brezillon wrote: > > Having a device with a status property != "okay" in the DT is a valid > > use case, and we should not prevent the registration of the DRM device > > when the DSI device c

Re: [PATCH v2 5/6] drm/vc4: Support the case where the DSI device is disabled

2018-05-04 Thread Boris Brezillon
On Fri, 4 May 2018 12:30:25 +0200 Thierry Reding wrote: > On Thu, May 03, 2018 at 06:40:08PM +0200, Boris Brezillon wrote: > > Having a device with a status property != "okay" in the DT is a valid > > use case, and we should not prevent the registration of the DRM device > > when the DSI device c

Re: [PATCH v2 5/6] drm/vc4: Support the case where the DSI device is disabled

2018-05-04 Thread Thierry Reding
On Thu, May 03, 2018 at 06:40:08PM +0200, Boris Brezillon wrote: > Having a device with a status property != "okay" in the DT is a valid > use case, and we should not prevent the registration of the DRM device > when the DSI device connected to the DSI controller is disabled. > > Consider the ENOD

Re: [PATCH v2 5/6] drm/vc4: Support the case where the DSI device is disabled

2018-05-04 Thread Thierry Reding
On Thu, May 03, 2018 at 06:40:08PM +0200, Boris Brezillon wrote: > Having a device with a status property != "okay" in the DT is a valid > use case, and we should not prevent the registration of the DRM device > when the DSI device connected to the DSI controller is disabled. > > Consider the ENOD

[PATCH v2 5/6] drm/vc4: Support the case where the DSI device is disabled

2018-05-03 Thread Boris Brezillon
Having a device with a status property != "okay" in the DT is a valid use case, and we should not prevent the registration of the DRM device when the DSI device connected to the DSI controller is disabled. Consider the ENODEV return code as a valid result and do not expose the DSI encoder/connecto