Configure/Turn off SCAM_MCLK on SC600Y


How is the clock signal in SCAM_MCLK (pin 100) of SC600Y configured? Is it possible to turn the signal off completely?

1 Like

Hi, aj.pv
SCAM_MCLK is configured in dtsi files msm8953-camera-sensor-mtp.dtsi and msm8953-pinctrl.dtsi in kernel/msm-4.9/arch/arm64/boot/dts/qcom/, which node is cam_sensor_mclk1_default. And its related function for contrl is in kernel/msm-4.9/drivers/media/platform/msm/camera_v2/sensor/io/msm_camera_dt_util.c. In this C file, function msm_camera_pinctrl_init is used for initialization, msm_camera_power_up is used for turning on the signal , and camera_power_down is used for turning off the signal. And I’ve tested the signal is off during the camera closed.

Thank you so much for the detailed answer, Jonas :slight_smile: