If so, then both the RM and DS are wrong - not to mention that hardware has 20-bit interface. There is conflicting information all over the i.MX6 documentation for some reason. By the way the IPU driver and V4L driver both include support for 10-bit mode (in bt.1120 20-bit). For instance:
- DS page 96-97 clearly state that you can use YCbCr mode of 20-bit width, there is even a mapping table on page 96 (chapter 4.11.10.1 IPU Sensor Interface Signal Mapping), page 97 states that you can use 20-bit mode for bt.1120 and that 16-bit mode is actually a SUB-CASE of 20-bit mode in which corresponding LSBs are ignored,
- RM is a different story: Table 37-2 on page 2695 clearly states that you can use bt.1120 in 20-bit mode, the only problem being that it doesn't support on-the-fly processing. This is the first problem, as the same table states that on-the-fly processing is supported for bt.1120 in 16-bit mode. This is Conflict #1 - this implies that 16-bit bt.1120 is NOT SUB-CASE of 20-bit bt.1120.
- Further investigation leads us to the page 2761, where it states that CCIR commands should be set with using CCIR_CODE_1, CCIR_CODE_2 and CCIR_PRECOM register. The third one does not exist and is called CCIR_CODE_3 instead. Bear in mind that this is quite, quite a buggy document. FYI CCIR commands are actually EAV and SAV codes.
- If we go yet further to the memory map to the fore-mentioned CCIR_CODE_3 register (page 3252), we'll see that there is a clear distinction between 8-bit/value and 10-bit/value CCIR commands, as when using bt.656 we should use 3x8bit while for bt.1120 we should use 3x10-bit to describe the first three words of EAV and SAV.
- Also, to find info about how to really set up CCIR_CODE_1 and CCIR_CODE_2, you'll have to search the Community a bit as most is not documented.
So, with all respect to SerchMX, either he is not really sure what he's saying or Freescale documentation is even worse than it looks. Either way, FYI making this whole thing work is a big and ugly job, as most drivers are also only half-written, although you'll get a lot of support from the Community.
For instance, I have set everything just fine, rewritten the bad IPU and V4L drivers and I still don't get an image for bt.1120. And I have worked with a lot of MCUs, some SoCs and plenty of FPGAs. This is by far the worst documentation I have ever seen.
Just my 2 cents...