Thread (11 messages) flat view 11 messages, 3 authors, 2016-11-11

[RFC PATCH 6/6] [media] davinci: vpif_capture: get subdevs from DT

From: javier@dowhile0.org (Javier Martinez Canillas)
Date: 2016-11-11 15:50:20
Also in: linux-media

Hello,

On Fri, Nov 11, 2016 at 12:36 PM, Hans Verkuil [off-list ref] wrote:
On 10/26/2016 01:55 AM, Kevin Hilman wrote:
quoted
First pass at getting subdevs from DT ports and endpoints.

The _get_pdata() function was larely inspired by (i.e. stolen from)
am437x-vpfe.c

Questions:
- Legacy board file passes subdev input & output routes via pdata
  (e.g. tvp514x svideo or composite selection.)  How is this supposed
  to be done via DT?
We have plans to model connectors as well in the device tree, but no
implementation exists yet. I think Laurent has some code in progress for this,
but I may be mistaken.
I posted a RFC series [0] some time ago, that proposed a DT binding
for input connectors [1] using OF graphs.

I never re-spin the series because Laurent had some comments on the DT
bindings and I was waiting for a response on to my latest email [2].
So if you can comment on this and see if the DT bindings fits your,
would be very useful.
Anyway, hard-coding it like you do now is for now the only way.

        Hans
quoted
[0]: https://www.mail-archive.com/linux-media at vger.kernel.org/msg96393.html
[1]: http://www.spinics.net/lists/linux-media/msg99421.html
[2]: http://www.spinics.net/lists/linux-media/msg99987.html

Best regards,
Javier
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help