[RFC PATCH 6/6] [media] davinci: vpif_capture: get subdevs from DT
Javier Martinez Canillas
javier at dowhile0.org
Fri Nov 11 07:50:19 PST 2016
Hello,
On Fri, Nov 11, 2016 at 12:36 PM, Hans Verkuil <hverkuil at xs4all.nl> 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@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
More information about the linux-arm-kernel
mailing list