Skip to content

Cameras

The XP8800 has a 12 MP rear camera and an 8 MP front camera. The two cameras use OmniVision sensors.

All camera facts below are Stock (from /vendor/etc/camera/camera_config.xml and the sensor libraries in the image) except where a label shows a different confidence. Nobody has operated the sensors in mainline.

Camera modules

Item Rear Front
Sensor OmniVision OV12A10 (12 MP) OmniVision OV8856 (8 MP)
Module Sunny, GT24P64A EEPROM ov_8856 EEPROM
Focus raa3015 autofocus actuator (vendor part not known) Fixed
Flash PM660L flash LEDs None
MIPI CSI slot / CSID Slot 0, CSID 0 Slot 2, CSID 2
Lanes Four (LaneMask 0x1F, LaneAssign 0x4320) The image has a 2-lane library and a 4-lane library. The lane count is open
Mount angle 90° 270°
Lens 3.83 mm, f/2.2 2.56 mm, f/2.2
Stock library libmmcamera_ov12a10.so, libactuator_raa3015.so, libmmcamera_sunny_gt24p64a_ov12a10_eeprom.so libmmcamera_ov8856.so

Signal path

flowchart LR
  subgraph Sensors["Camera sensors"]
    REAR["OV12A10 rear<br/>Sunny GT24P64A EEPROM + raa3015 AF"]
    FRONT["OV8856 front<br/>ov_8856 EEPROM"]
  end
  REAR -->|Slot 0 / CSID 0, 4 lanes| CAMSS["SDM630 CAMSS / ISP"]
  FRONT -->|Slot 2 / CSID 2| CAMSS
  CAMSS --> AP["Application processor"]
  FLASH["PM660L flash LEDs"] --> REAR
  CCI["CCI bus"] --> REAR
  CCI --> FRONT

Laser range-finder leftover

The stock device tree contains an st,stmvl53l0 laser-ranging node at CCI address 0x29, with IRQ TLMM 45 and enable TLMM 42.

The NFC firmware and VEN lines use the same two pins. The stock kernel has no VL53L0 driver. The node is an unpopulated reference-design leftover (this is an assumption).

Mainline status

Sensor Driver Status
OV8856 (front) ov8856 (ovti,ov8856) Driver exists. You must add camera interface nodes for SDM630
OV12A10 (rear) None in mainline You must write a new sensor driver

To bring up a camera through camss, you must also set up these items:

  • the SoC camera subsystem
  • the CCI bus
  • the clock (the mainline driver expects 19.2 MHz, but stock used 24 MHz)
  • the standby pin
  • the analog rail

The link frequency, Bayer order, exposure and gain formats, and chip ID of the rear sensor are assumptions.