Re: [PATCH v5 1/2] video: ARM CLCD: Add DT support

Started by Pawel Moll on Mar 6, 2014 · 2 messages from 2 authors · Last reply Mar 7, 2014

open the first message on its own page

Message details and related content
On Thu, 2014-03-06 at 10:21 +0000, Tomi Valkeinen wrote:
Is this an old HW, and presumably there won't be new users for it? If
yes, this is probably fine. 
There is a DRM driver in the works, actually...
If not, you might want to look at the video
ports and endpoints, which is used by at least three not-yet-merged series:

[PATCHv3 00/41] OMAPDSS: DT support v3
[PATCH v5 00/11] imx-drm dt bindings
[RFC PATCH v2 00/21] Add DSI display support for Exynos based boards

Using bindings like that would be more future proof, even if the current
driver doesn't use them.
... and this makes me try to get out of its way. In other words, I fully
agree with you, but I don't think this applies to this particular patch,
as I'm not even trying to represent the display pipeline. The (optional)
"display-timings" sub-node has been "borrowed" from other older drivers
and can be easily deprecated in the future, replaced by standard ones
(whatever final shape they will take :-). All other extra properties are
CLCD-specific and orthogonal.

Pawel
Message details and related content
On 06/03/14 17:23, Pawel Moll wrote:
On Thu, 2014-03-06 at 10:21 +0000, Tomi Valkeinen wrote:
quoted
Is this an old HW, and presumably there won't be new users for it? If
yes, this is probably fine. 
There is a DRM driver in the works, actually...
quoted
If not, you might want to look at the video
ports and endpoints, which is used by at least three not-yet-merged series:

[PATCHv3 00/41] OMAPDSS: DT support v3
[PATCH v5 00/11] imx-drm dt bindings
[RFC PATCH v2 00/21] Add DSI display support for Exynos based boards

Using bindings like that would be more future proof, even if the current
driver doesn't use them.
... and this makes me try to get out of its way. In other words, I fully
agree with you, but I don't think this applies to this particular patch,
as I'm not even trying to represent the display pipeline. The (optional)
Right, you are not, at the moment. My point was, if the driver is
extended later to support pipelines, or common panel/encoder drivers,
you (most likely) need to have similar bindings than the other people use.

Note that the same DT bindings you add here should also work for the DRM
driver in the future. So, in fact, the question is extended to: will the
fbdev or drm driver support common panels/encoders?

 Tomi

Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help