[10:05] <angelo_ts> hi all, need some help to implement a driver getting a 4-cameras multiplexed CSI single stream (stream supplied from a deserialzer TI chip that receives the 4 cameras signals). How should i de-mux the stream with v4l2 ? Is there a similar driver to look in ?
[10:20] <kbingham> angelo_ts, Hi - I presume this is for an FPD-Link chip ?
[10:20] <angelo_ts> kbingham, hi, yes, it is a ds90ub960, 4 FPD-link inputs
[10:21] <kbingham> angelo_ts, We're working on a GMSL (the maxim equivalent-ish to the FPD-Link) driver for the MAX9286
[10:21] <kbingham> O
[10:21] <kbingham> angelo_ts, I've recently posted V2 of our driver, but this only supports a single stream.
[10:22] <kbingham> V3 with support for all 4 streams is dependant a feature to implement virtual channels (VC) which is ongoing.
[10:23] <kbingham> git://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git has gmsl/v2 and gmsl/v3 which you could look at.
[10:25] <angelo_ts> Killerkid, ooooh many thanks. So i could use that for now, to see a single stream at a time, right ?
[10:25] <kbingham> angelo_ts, No :)
[10:26] <kbingham> angelo_ts, That driver works for the max9286 ... *not* a TI FPDLink ... but if you're looking to write a driver for linux then it could give you some ideas.
[10:26] *** pinchartl has quit IRC (Ping timeout: 260 seconds)
[10:27] <angelo_ts> Killerkid, ok, good. So with that driver you can switch between inputs ?
[10:27] <kbingham> angelo_ts, I'm sure you could find some vendor kernel or BSP support for the device, if you're not looking to write the driver yourself.
[10:28] <kbingham> angelo_ts, On our V3 version - we can stream all 4 cameras at the same time
[10:28] <kbingham> Ah - just re-read above - you're hooked up to a single CSI bus ... so I presume you can only expose one V4L2 output ...
[10:29] <kbingham> And you'll want to be able to select the stream ?
[10:29] <angelo_ts> mm, the dm90ub960 seems to multiplex all 4 inputs into 1 stream, using channels ID's
[10:30] <kbingham> angelo_ts, That sounds like VC (virtual channels) to me :)
[10:30] <angelo_ts> so all 4 are mixed toghether. Yes, VC
[10:30] <kbingham> Does the hardware that receives the multiplexed stream support separating those channels?
[10:31] <kbingham> In our system - the GMSL MAX9286 is connected to a Renesas R-Car VIN (via the R-Car CSI2 module)  which handles the 'demultiplexing' stage.
[10:31] <angelo_ts> mm, i could check that, so you mean that i could enable one camera only in the outpu stream ? Should check, should be possible
[10:31] <kbingham> angelo_ts, It depends on your hardware :D
[10:32] <angelo_ts> kbingham, ok, so if i understand correctly, we cannot have all 4 streams available at the same time due to ongoing v4l2 development for VC
[10:33] <angelo_ts> only way for now is to try a switch on single camera mode, if hw allows it
[10:34] <kbingham> angelo_ts, You could join in the work supporting VC (and you can use/help develop the patches, they are public, and included in my gmsl/v3 branch)
[10:34] <kbingham> It depends on whether you are looking to develop this system - or you just want to be able to take some off the shelf code and use it
[10:34] <kbingham> If you want an off the shelf solution - You'll need to talk to your hardware provider.
[10:37] <angelo_ts> kbingham, i can develop, sure. But my company could probably be happy with a first "single camera at at time" version. I will take a look into your V2 driver. Then i can eventually join VC devel, sure
[10:37] <angelo_ts> many thanks for now
[12:07] *** javier__ has quit IRC (Quit: leaving)
[12:21] *** andrey_utkin has quit IRC (Quit: Gateway shutdown)
[13:52] *** rshanmu has quit IRC (Quit: Page closed)
[15:08] <ezequielg> paulk-leonov: mripard: is there any specs for cedrus h264 decoder?
[15:09] <ezequielg> the rockchip decoder expects a CABAC table, and so I'm wondering if we need another control to pass it from userspace.
[15:10] <ezequielg> but the cedrus doesn't seem to need one.
[15:20] <hverkuil> mchehab: thank you very much for reviewing the request API series. I'll go through it all tomorrow and start work on v18 incorporating your comments.
[15:20] <mchehab> ok
[15:21] <mchehab> I'll seek for your comments to v17
[15:21] <mchehab> in case you answered my review emails
[16:00] *** pfalleno1 has left 
[19:25] *** nst has quit IRC (*.net *.split)