Skip to content

Draft: testing/linux-postmarketos-qcom-msm8974: enable camera support

Luca Weiss requested to merge msm8974-fp2-cameras into master

This adds necessary patches for camss and sensor drivers and the devicetree bits.

Due to the modular nature of Fairphone 2, I didn't enable any sensor by default since there's two options each for front and rear camera. Not sure how to best handle this, maybe some overlay at some point that a user selects?

So for now, it's needed to build the dtb with the correct options set so the necessary bits are getting enabled and replace it on the file system. Obviously this will get overwritten after a kernel update again. But it's not like the cameras are super usable with this anyways.

#define FRONT_CAM_2MP 0 // Old - OV2685
#define REAR_CAM_8MP  0 // Old - OV8865

#define FRONT_CAM_5MP 0 // New - OV5670
#define REAR_CAM_12MP 0 // New - OV12870

Merge request reports