As per TX2 TRM, RAW10 is stored in b[13:4] of 2 byte data and RAW12 is store in b[13:2]. Please see the attached pic.
And this is what I am getting while dumping as well.
So, does it mean that (V4L2) application should take care of this (i.e., right shift each pixel by 4 & 2 for RAW10 & RAW 12 respectively)? Or is there other way to manage this?
TX1 TRM too mention something similarly, but application received data properly.