Hi Kevin
You can download the document from the download and check the sensor programming guide to develop your sensor driver. And you need below patch for the RAW12 support.
And reference to this topics
devtalk.nvidia.com/default/topic/993852
diff --git a/drivers/media/platform/tegra/camera/camera_common.c b/drivers/media/platform/tegra/camera/camera_common.c
index b14dc0e..e2b7db6 100644
--- a/drivers/media/platform/tegra/camera/camera_common.c
+++ b/drivers/media/platform/tegra/camera/camera_common.c
@@ -462,7 +462,8 @@ int camera_common_try_fmt(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *mf)
}
}
if (mf->code != V4L2_MBUS_FMT_SRGGB8_1X8 &&
- mf->code != V4L2_MBUS_FMT_SRGGB10_1X10) {
+ mf->code != V4L2_MBUS_FMT_SRGGB10_1X10 &&
+ mf->code != V4L2_MBUS_FMT_SRGGB12_1X12) {
mf->code = V4L2_MBUS_FMT_SRGGB10_1X10;
err = -EINVAL;
}
--