Hi On Fri, Dec 7, 2018 at 1:11 PM Hans Verkuil <hverkuil@xxxxxxxxx> wrote: > > On 12/07/2018 12:51 PM, Jagan Teki wrote: > > Hi, > > > > We have some unconventional setup for parallel CSI design where analog > > input data is converted into to digital composite using PAL decoder > > and it feed to adv7180, camera sensor. > > > > Analog input => Video PAL Decoder => ADV7180 => IPU-CSI0 > > Just PAL? No NTSC support? > For now does not matter. I have registere the TUNER that support it but seems that media-ctl is not suppose to work with the MEDIA_ENT_F_TUNER Is this correct? > > > > The PAL decoder is I2C based, tda9885 chip. We setup it up via dt > > bindings and the chip is > > detected fine. > > > > But we need to know, is this to be part of media control subdev > > pipeline? so-that we can configure pads, links like what we do on > > conventional pipeline or it should not to be part of media pipeline? > > Yes, I would say it should be part of the pipeline. > Ok I have created a draft patch to add the adv some new endpoint but is sufficient to declare tuner type in media control? Michael > > > > Please advise for best possible way to fit this into the design. > > > > Another observation is since the IPU has more than one sink, source > > pads, we source or sink the other components on the pipeline but look > > like the same thing seems not possible with adv7180 since if has only > > one pad. If it has only one pad sourcing to adv7180 from tda9885 seems > > not possible, If I'm not mistaken. > > Correct, in all cases where the adv7180 is used it is directly connected > to the video input connector on a board. > > So to support this the adv7180 driver should be modified to add an input pad > so you can connect the decoder. It will be needed at some point anyway once > we add support for connector entities. > > Regards, > > Hans > > > > > I tried to look for similar design in mainline, but I couldn't find > > it. is there any design similar to this in mainline? > > > > Please let us know if anyone has any suggestions on this. > > > > Jagan. > > > -- | Michael Nazzareno Trimarchi Amarula Solutions BV | | COO - Founder Cruquiuskade 47 | | +31(0)851119172 Amsterdam 1018 AM NL | | [`as] http://www.amarulasolutions.com |