[PATCH v5 3/3] arm64: dts: qcom: monaco-evk-camera: Add DT overlay

Nihal Kumar Gupta quic_nihalkum at quicinc.com
Fri Nov 14 21:53:30 PST 2025



On 15-11-2025 03:49, Konrad Dybcio wrote:
>> +&{/} {
>> +	vreg_cam1_2p8: vreg-cam1-2p8 {
> Where does this regulator lie physically? Is its presence dependent
> on the connection of the sensor, is it part of the EVK carrier board,
> or perhaps something else?
vreg_cam1_2p8 is a fixed 2.8 V regulator located on the EVK carrier board. 
It supplies the camera sensor’s AVDD rail and is enabled via GPIO 74, which is controlled by the TLMM block. 

> 
>> +		compatible = "regulator-fixed";
>> +		regulator-name = "vreg_cam1_2p8";
>> +		startup-delay-us = <10000>;
>> +		enable-active-high;
>> +		gpio = <&tlmm 74 GPIO_ACTIVE_HIGH>;
>> +		pinctrl-names = "default";
>> +		pinctrl-0 = <&cam1_avdd_2v8_en_default>;
> property-n
> property-names
> 
> please
> 
ACK

> [...]
> 
>> +&tlmm {
>> +	/*
>> +	 * gpio67, gpio68, gpio69 provide MCLK0, MCLK1, MCLK2 for
>> +	 * CAM0, CAM1 and CAM2 respectively via the "cam_mclk" function.
>> +	 * So, here it's MCLK1 pin for instance.
>> +	 */
> I don't really see the value in these comments..
> 
> Vladimir requested you to move the 'description' (meaning the node
> describing the hardware, not a comment explaining the function of the
> DT hunk in natural language) to monaco.dtsi too
I’ve added descriptions to indicate which pins enable which camera MCLK/Regulators. If these aren’t considered useful, I can remove them.

Should I need to add hardware descriptions for all GPIOs (gpio67–69 for MCLK and gpio73–75 for regulator enable), even if they are unused?

I have referenced qcs6490-rb3gen2-vision-mezzanine.dtso for the MCLK pin hardware description (cam1_default).
All TLMM GPIOs mentioned above are muxed pins. As Bryan suggested in v4, these should go into the mezzanine-specific dtso. Do I need to extend this in monaco.dtsi as well?

-- 
Regards,
Nihal Kumar Gupta




More information about the linux-arm-kernel mailing list