[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <69f6c225-2841-494c-b555-61cbe6b23c02@ti.com>
Date: Fri, 2 May 2025 14:13:04 +0530
From: Devarsh Thakkar <devarsht@...com>
To: Rishikesh Donadkar <r-donadkar@...com>, <nm@...com>, <vigneshr@...com>
CC: <kristo@...nel.org>, <robh@...nel.org>, <krzk+dt@...nel.org>,
<conor+dt@...nel.org>, <vaishnav.a@...com>, <y-abhilashchandra@...com>,
<s-jain1@...com>, <jai.luthra@...ux.dev>,
<jai.luthra@...asonboard.com>, <linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<imx@...ts.linux.dev>
Subject: Re: [PATCH v1 3/4] arm64: dts: ti: k3-am62x: Add required voltage
supplies for OV5640
On 29/04/25 21:11, Rishikesh Donadkar wrote:
> The device tree overlay for OV5640 requires following voltage
> supplies
As mentioned in ov5640 data-sheet table 8-3 [1]
>
> AVDD-supply: Analog voltage supply, 2.8 volts
> DOVDD-supply: Digital I/O voltage supply, 1.8 volts
> DVDD-supply: Digital core voltage supply, 1.5 volts
>
[1]:
Link:
https://cdn.sparkfun.com/datasheets/Sensors/LightImaging/OV5640_datasheet.pdf
> Add them in the overlay.
>
> Signed-off-by: Rishikesh Donadkar <r-donadkar@...com>
With above changes,
Reviewed-by: Devarsh Thakkar <devarsht@...com>
Regards
Devarsh
> ---
> .../boot/dts/ti/k3-am62x-sk-csi2-ov5640.dtso | 32 +++++++++++++++++++
> 1 file changed, 32 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am62x-sk-csi2-ov5640.dtso b/arch/arm64/boot/dts/ti/k3-am62x-sk-csi2-ov5640.dtso
> index 7fc7c95f5cd57..fc77fc77fe0b1 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62x-sk-csi2-ov5640.dtso
> +++ b/arch/arm64/boot/dts/ti/k3-am62x-sk-csi2-ov5640.dtso
> @@ -15,6 +15,33 @@ clk_ov5640_fixed: ov5640-xclk {
> #clock-cells = <0>;
> clock-frequency = <12000000>;
> };
> +
> + reg_2p8v: regulator-2p8v {
> + compatible = "regulator-fixed";
> + regulator-name = "2P8V";
> + regulator-min-microvolt = <2800000>;
> + regulator-max-microvolt = <2800000>;
> + vin-supply = <&vcc_3v3_sys>;
> + regulator-always-on;
> + };
> +
> + reg_1p8v: regulator-1p8v {
> + compatible = "regulator-fixed";
> + regulator-name = "1P8V";
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + vin-supply = <&vcc_3v3_sys>;
> + regulator-always-on;
> + };
> +
> + reg_1p5v: regulator-1p5v {
> + compatible = "regulator-fixed";
> + regulator-name = "1P5V";
> + regulator-min-microvolt = <1500000>;
> + regulator-max-microvolt = <1500000>;
> + vin-supply = <&vcc_3v3_sys>;
> + regulator-always-on;
> + };
> };
>
> &main_i2c2 {
> @@ -40,6 +67,11 @@ ov5640: camera@3c {
>
> clocks = <&clk_ov5640_fixed>;
> clock-names = "xclk";
> +
> + AVDD-supply = <®_2p8v>;
> + DOVDD-supply = <®_1p8v>;
> + DVDD-supply = <®_1p5v>;
> +
> powerdown-gpios = <&exp1 13 GPIO_ACTIVE_LOW>;
>
> port {
Powered by blists - more mailing lists