[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9de74828-85bf-408c-8f64-2a8694f71563@linaro.org>
Date: Fri, 6 Feb 2026 18:15:01 +0200
From: Vladimir Zapolskiy <vladimir.zapolskiy@...aro.org>
To: Nihal Kumar Gupta <quic_nihalkum@...cinc.com>,
bryan.odonoghue@...aro.org, robh@...nel.org, krzk+dt@...nel.org,
conor+dt@...nel.org, andersson@...nel.org, konradybcio@...nel.org,
hverkuil-cisco@...all.nl, loic.poulain@....qualcomm.com, rfoss@...nel.org,
andi.shyti@...nel.org, linux-i2c@...r.kernel.org,
cros-qcom-dts-watchers@...omium.org
Cc: quic_svankada@...cinc.com, linux-media@...r.kernel.org,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Konrad Dybcio <konrad.dybcio@....qualcomm.com>
Subject: Re: [PATCH v9 4/5] arm64: dts: qcom: monaco-evk: Add camera AVDD
regulators
On 1/21/26 20:31, Nihal Kumar Gupta wrote:
> Define three fixed regulators for camera AVDD rails, each gpio-controlled
> with corresponding pinctrl definitions.
>
> Signed-off-by: Nihal Kumar Gupta <quic_nihalkum@...cinc.com>
> Signed-off-by: Vikram Sharma <quic_vikramsa@...cinc.com>
> Reviewed-by: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
> ---
> arch/arm64/boot/dts/qcom/monaco-evk.dts | 51 +++++++++++++++++++++++++
> 1 file changed, 51 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/monaco-evk.dts b/arch/arm64/boot/dts/qcom/monaco-evk.dts
> index 565418b86b2a..65c1b49c6dfb 100644
> --- a/arch/arm64/boot/dts/qcom/monaco-evk.dts
> +++ b/arch/arm64/boot/dts/qcom/monaco-evk.dts
> @@ -77,6 +77,36 @@ platform {
> };
> };
> };
> +
> + vreg_cam0_2p8: vreg-cam0-2p8 {
> + compatible = "regulator-fixed";
> + regulator-name = "vreg_cam0_2p8";
> + startup-delay-us = <10000>;
> + enable-active-high;
> + gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>;
> + pinctrl-0 = <&cam0_avdd_2v8_en_default>;
> + pinctrl-names = "default";
> + };
> +
> + vreg_cam1_2p8: vreg-cam1-2p8 {
> + compatible = "regulator-fixed";
> + regulator-name = "vreg_cam1_2p8";
> + startup-delay-us = <10000>;
> + enable-active-high;
> + gpio = <&tlmm 74 GPIO_ACTIVE_HIGH>;
> + pinctrl-0 = <&cam1_avdd_2v8_en_default>;
> + pinctrl-names = "default";
> + };
> +
> + vreg_cam2_2p8: vreg-cam2-2p8 {
> + compatible = "regulator-fixed";
> + regulator-name = "vreg_cam2_2p8";
> + startup-delay-us = <10000>;
> + enable-active-high;
> + gpio = <&tlmm 75 GPIO_ACTIVE_HIGH>;
> + pinctrl-0 = <&cam2_avdd_2v8_en_default>;
> + pinctrl-names = "default";
Since voltage level is known for all three regulators, why not to add
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
properties?
> + }
> };
>
> &apps_rsc {
> @@ -564,6 +594,27 @@ perst-pins {
> };
> };
>
> + cam0_avdd_2v8_en_default: cam0-avdd-2v8-en-state {
> + pins = "gpio73";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-disable;
> + };
> +
> + cam1_avdd_2v8_en_default: cam1-avdd-2v8-en-state {
> + pins = "gpio74";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-disable;
> + };
> +
> + cam2_avdd_2v8_en_default: cam2-avdd-2v8-en-state {
> + pins = "gpio75";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-disable;
> + };
> +
> qup_i2c15_default: qup-i2c15-state {
> pins = "gpio91", "gpio92";
> function = "qup1_se7";
--
Best wishes,
Vladimir
Powered by blists - more mailing lists