sonyxperiadev / kernel

Other
352 stars 362 forks source link

[9.16.r1] Initial camera support for Murray platform #2583

Closed bartcubbins closed 10 months ago

bartcubbins commented 10 months ago

This PR contains:

  1. Fairchild FAN53870 Regulator driver (my devices use this).
  2. Murray camera regulator intermediator driver which is an intermediator between the camera framework and the physically present regulator on the board.
  3. DTS camera that contains nodes for the sensors and their dependencies, also contains the necessary pinctrl configuration.
  4. Various clang compilation fixes.

Current camera status: The sensors are probed, but the camera framework in the userspace crashes with null pointer dereference.

CAM_INFO: CAM-SENSOR: cam_sensor_driver_cmd: 792 Probe success,slot:0,slave_addr:0x34,sensor_id:0x486
CAM_INFO: CAM-SENSOR: cam_sensor_driver_cmd: 792 Probe success,slot:1,slave_addr:0x40,sensor_id:0x4608
CAM_INFO: CAM-SENSOR: cam_sensor_driver_cmd: 792 Probe success,slot:3,slave_addr:0x40,sensor_id:0x847
CAM_INFO: CAM-SENSOR: cam_sensor_driver_cmd: 792 Probe success,slot:2,slave_addr:0x42,sensor_id:0x4608

The kernel-defconfig PR will arrive after the landing of this PR.