Hello, On Fri, Nov 11, 2016 at 12:36 PM, Hans Verkuil <hverkuil@xxxxxxxxx> wrote: > On 10/26/2016 01:55 AM, Kevin Hilman wrote: >> 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 > >> [0]: https://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/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 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html