Full res capture problem with LI-5M03 on BB 3.6.1 kernel

Actually I got this running with the following configuration:

media-ctl -r -v -l '"mt9p031 2-0048":0->"OMAP3 ISP CCDC":0[1]' media-ctl -v -l '"OMAP3 ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]' media-ctl -v -f '"mt9p031 2-0048":0 [SGRBG12 2592x1944]' media-ctl -v -f '"OMAP3 ISP CCDC":1 [SGRBG12 2592x1944]' yavta -p -f SGRBG12 -s 2592x1944 -n 4 --capture=10 --skip 3 $(media-ctl -e "OMAP3 ISP CCDC output") --file=capture-#.bin

Previously I thought the CCDC had to be set to 10-bits but this seems not to be the case, indeed it doesn’t work in this instance unless set to 12.

However the resultant output seems to be in the wrong colour space. after running it through a Bayer converter (https://github.com/jdthomas/bayer2rgb) I get a recognisable but rather psychedelic image which looks a lot like a YUV colour space incorrectly interpreted as RGB (maybe coincidence). The camera, the CCDC sink and CCDC source are all set to SGRBG according to media-ctl -p. Do the commands above look sane?