From nobody Tue Feb 10 07:40:51 2026 Received: from lelvem-ot02.ext.ti.com (lelvem-ot02.ext.ti.com [198.47.23.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 494E925D53A; Fri, 2 May 2025 16:26:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.235 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746203173; cv=none; b=da8Z5JFeWFP11dSJeKwUXE5yErQUthx/+NMHuoDlAoSaMEmzPTz1sNx4QwhOYQPp6sSBUOEPAqvL0NvJWhO63vWiwz/x0jL/yj+A5Pdbwx0KpXwD1CqrDGsbtdauNo1jJG5HMad4UwEb4u/7klSTtpHvtvp2HIF0kShbDAKOIq0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746203173; c=relaxed/simple; bh=/D1DSkljvhqcswaEWYoX/PerSugjWXx1dx2evkbHVaQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=p6vG7PmS+g7y3vDsfDFnKfM0PPndI9uziFeemvWKIh6lfvdiZHI2egQIK7k/86lY5lQq3QGjP7wZUPM+wfRChqnGf/l02Q9Qiss1OPqR/Xg99EIMCNPvltIapCsPoobaaYJDmPMtKhdsjisZ94WNgA/HuGToIvQd0NeJ3Ls2msU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=iYTyRTGv; arc=none smtp.client-ip=198.47.23.235 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="iYTyRTGv" Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 542GQ1ux448886 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 2 May 2025 11:26:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1746203161; bh=LXKeTl4krg0a5o3umNNyDFRYE6CagYQ9jy54yI6P1WE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=iYTyRTGvnDrmnJ/A/XTAdjKpE40albTKCD1yQltU/X8pxdnveluBh4MgDJNx0rB96 cPI/QiJtbeVl5XahpZDAsjOQ9l2JoSAqbf0CinWnTXXHTvQa670JERor1K3+i7bhEh d0M//L8k7I67WrcnP6z4ixms2Jb1hATHDo/pXyEc= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 542GQ1BM119008 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 2 May 2025 11:26:01 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 2 May 2025 11:26:00 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 2 May 2025 11:26:00 -0500 Received: from ws.dhcp.ti.com (ws.dhcp.ti.com [10.24.69.232]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 542GPex9028994; Fri, 2 May 2025 11:25:56 -0500 From: Rishikesh Donadkar To: , CC: , , , , , , , , , , , , , , Subject: [PATCH v2 3/4] arm64: dts: ti: k3-am62x: Add required voltage supplies for OV5640 Date: Fri, 2 May 2025 21:55:38 +0530 Message-ID: <20250502162539.322091-4-r-donadkar@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250502162539.322091-1-r-donadkar@ti.com> References: <20250502162539.322091-1-r-donadkar@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea Content-Type: text/plain; charset="utf-8" The device tree overlay for OV5640 requires following voltage supplies as mentioned in the table 8-3 of the data-sheet [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 Add them in the overlay. Link: https://cdn.sparkfun.com/datasheets/Sensors/LightImaging/OV5640_datas= heet.pdf Reviewed-by: Devarsh Thakkar Signed-off-by: Rishikesh Donadkar --- .../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/arm= 64/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 =3D <0>; clock-frequency =3D <12000000>; }; + + reg_2p8v: regulator-2p8v { + compatible =3D "regulator-fixed"; + regulator-name =3D "2P8V"; + regulator-min-microvolt =3D <2800000>; + regulator-max-microvolt =3D <2800000>; + vin-supply =3D <&vcc_3v3_sys>; + regulator-always-on; + }; + + reg_1p8v: regulator-1p8v { + compatible =3D "regulator-fixed"; + regulator-name =3D "1P8V"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + vin-supply =3D <&vcc_3v3_sys>; + regulator-always-on; + }; + + reg_1p5v: regulator-1p5v { + compatible =3D "regulator-fixed"; + regulator-name =3D "1P5V"; + regulator-min-microvolt =3D <1500000>; + regulator-max-microvolt =3D <1500000>; + vin-supply =3D <&vcc_3v3_sys>; + regulator-always-on; + }; }; =20 &main_i2c2 { @@ -40,6 +67,11 @@ ov5640: camera@3c { =20 clocks =3D <&clk_ov5640_fixed>; clock-names =3D "xclk"; + + AVDD-supply =3D <®_2p8v>; + DOVDD-supply =3D <®_1p8v>; + DVDD-supply =3D <®_1p5v>; + powerdown-gpios =3D <&exp1 13 GPIO_ACTIVE_LOW>; =20 port { --=20 2.34.1