Fairphone 6 wide camera experimental Linux support
3 hours ago
- Fairphone 6 has modern hardware, mainline Linux support, and allows alternative OS; camera is a key blocker.
- Only the OmniVision OV13B10 ultra-wide camera has a mainline Linux driver; main and front cameras lack drivers.
- The camera capture path uses qcom-camss driver; TFE665 ISP is similar to TFE530, requiring only offset changes.
- Missing CAM_CC_SOC_AHB_CLK clock caused zero register reads; adding it fixed the ISP.
- OV13B10 sensor brought up with device tree, lane numbering fix, and correct CSIPHY assignment.
- All-zero frames were due to incorrect packer format for 128-bit bus; changed from 0xa to 0x0.
- libcamera software ISP debayers raw frames; auto-exposure fixed by adding a sensor helper for OV13B10.
- Autofocus not implemented; fixed focus set for QR scanning. Orientation corrected via device-tree rotation.
- Binned modes produce garbled output and are disabled; FOV is cropped at common resolutions.
- Result: live preview in GNOME Camera, QR scanning works; limitations include software ISP, no autofocus, simplified power.