I am running a Khadas VIM3 with an Ubuntu 18.04 image built using Fenix. I am trying to bring up the IMX415 with our own sensor driver including some custom sensor modes as well as our own sensor initialization sequences.
The only point I am unsure about is the .bps value in each of the sensor modes, as I am not sure how this should be calculated. For example, one of the modes I have is 1920x1080@30fps using RAW12 in linear mode. What formula would I use to then calculate the bps value for this mode. Would I also require any additional parameters such as the sensor MIPI clock speed?