On 03/28/2018 06:02 PM, Yong wrote:
AFAIK, there is no document about MIPI CSI-2. You can take a look at the source code in BSP: https://github.com/friendlyarm/h3_lichee/tree/master/linux-3.4/drivers/media/video/sunxi-vfe/mipi_csi And try to port it to mainline.
Yep, I see there's lots of magic constants in that code. I might try to forward-port it, but it won't be very maintainable or easy to change without a datasheet. That's too bad.
Thanks for the information, Yong.