Add support for Xiaomi Mi Note 2
- Configure media links according to the
media-links
config property. - Skip padding in captured image data when debayering or repacking.
- Add configuration for the Xiaomi Mi Note 2 (scorpio), which has a Sony IMX318 rear sensor. This initial configuration is lacking some properties including
black-level
,white-level
andcolor-matrix
. For now it's configured to preview and capture at 3840x2160, which is the highest stable resolution. Capturing at the sensor's native resolution of 5488x4112 often causes issues, which seem to be caused by some bugs in qcom-camss. The Sony IMX268 front sensor is lacking kernel support so it's left out of the config for now.