Sascha Hauer <s.ha...@pengutronix.de> writes: > Hi Robert, > > I have digged around in the Datasheet and if I understand it correctly > the PXA swaps red/blue in RGB mode. So if we do not use rgb mode but yuv > (which should be a pass through) we should be able to support rgb on PXA > aswell. Robert, can you confirm that with the following patch applied > you still get an image but with red/blue swapped? I can confirm the color swap. If you want to follow that path, I would suggest instead : cicr1 |= CICR1_COLOR_SP_VAL(0);
There is no difference from a processing point of view, it's just that CICR1_COLOR_SP_VAL(0) is "raw colorspace", with means "pass through", and that seems to be your goal here. Note that the patch would have to be completed with the BGR565 into RGB565 conversion, if the sensor was to provide only BGR565. But that could very well be for another patch. Cheers. -- Robert -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html