Hi Kaneko-san, On 2016-03-03 02:26:41 +0900, Yoshihiro Kaneko wrote: > Hi Hans, > > 2016-02-29 22:27 GMT+09:00 Hans Verkuil <hverkuil@xxxxxxxxx>: > > Huh, you must have missed Niklas's work the rcar-vin driver: > > > > http://www.spinics.net/lists/linux-media/msg97816.html > > > > I expect that the old soc-camera driver will be retired soon in favor of > > the new driver, so I don't want to accept patches for that one. > > > > I recommend that you check the new driver and see what (if anything) is needed > > to get this functionality in there and work with Niklas on this. > > > > This is all quite recent work, so it is not surprising that you missed it. > > Thank you for informing me! > I will check it. My plan is to look at VIN for Gen3 once Gen2 support is done. I have somewhat tried to keep the new driver prepared for Gen3. I have separating the Gen2 scaler och clipper out in its own corner since this will be different on Gen3. My understanding is however that Gen3 don't provide UDS blocks (scaler+clipper) to all VIN instances. And the VIN instances that have access to a UDS block have to share it with one other VIN instance (only one user at a time). How to describe this in DT in a good way I do not yet know. If you have any ideas here or know more I would be glad to hear it, I have not yet started any work for Gen3. My initial plan for Gen3 enablement is to ignore the UDS blocks all together. I feel there is enough to adapt VIN driver and get both the CSI2 and sensor driver to work to be able to test the whole chain without worrying about UDS too. > > > > > Regards, > > > > Hans > > Regards, > kaneko > > > > > On 02/29/2016 02:12 PM, Yoshihiro Kaneko wrote: > >> This series adds UDS support, NV16 scaling support and callback functions > >> to be required by a clipping process. > >> > >> This series is against the master branch of linuxtv.org/media_tree.git. > >> > >> Koji Matsuoka (3): > >> media: soc_camera: rcar_vin: Add get_selection callback function > >> media: soc_camera: rcar_vin: Add cropcap callback function > >> media: soc_camera: rcar_vin: Add NV16 scaling support > >> > >> Yoshihiko Mori (1): > >> media: soc_camera: rcar_vin: Add UDS support > >> > >> drivers/media/platform/soc_camera/rcar_vin.c | 220 ++++++++++++++++++++++----- > >> 1 file changed, 184 insertions(+), 36 deletions(-) > >> > > -- Regards, Niklas Söderlund