From: Yemike Abhilash Chandra <y-abhilashchandra@ti.com>
To: "Francis, Neha" <n-francis@ti.com>, <nm@ti.com>, <vigneshr@ti.com>
Cc: <kristo@kernel.org>, <robh@kernel.org>, <krzk+dt@kernel.org>,
<conor+dt@kernel.org>, <vaishnav.a@ti.com>,
<jai.luthra@linux.dev>, <linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>, <imx@lists.linux.dev>,
<linux-kernel@vger.kernel.org>, <u-kumar1@ti.com>,
<stable@vger.kernel.org>
Subject: Re: [PATCH v2 4/7] arm64: dts: ti: k3-j721e-sk: Add requiried voltage supplies for IMX219
Date: Mon, 14 Apr 2025 17:10:41 +0530 [thread overview]
Message-ID: <28fa61b8-15a6-40c6-96b8-268939226a03@ti.com> (raw)
In-Reply-To: <16713a1b-1e74-4b08-bd4c-12dc0a9d32df@ti.com>
Hi Neha,
On 11/04/25 19:08, Francis, Neha wrote:
> On 4/9/2025 7:11 PM, Yemike Abhilash Chandra wrote:
>> The device tree overlay for the IMX219 sensor requires three voltage
>> supplies to be defined: VANA (analog), VDIG (digital core), and VDDL
>> (digital I/O). Add the corresponding voltage supply definitions to avoid
>> dtbs_check warnings.
>>
>> Fixes: f767eb918096 ("arm64: dts: ti: k3-j721e-sk: Add overlay for IMX219")
>> Cc: stable@vger.kernel.org
>> Signed-off-by: Yemike Abhilash Chandra <y-abhilashchandra@ti.com>
>> ---
>> .../dts/ti/k3-j721e-sk-csi2-dual-imx219.dtso | 33 +++++++++++++++++++
>> 1 file changed, 33 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/ti/k3-j721e-sk-csi2-dual-imx219.dtso b/arch/arm64/boot/dts/ti/k3-j721e-sk-csi2-dual-imx219.dtso
>> index 4a395d1209c8..4eb3cffab032 100644
>> --- a/arch/arm64/boot/dts/ti/k3-j721e-sk-csi2-dual-imx219.dtso
>> +++ b/arch/arm64/boot/dts/ti/k3-j721e-sk-csi2-dual-imx219.dtso
>
> The link to the schematics seems to need updation, would like to see where these
> regulators are mentioned, can't find them in [0] which I assume is the latest link.
>
Yes, It seems that the link to the schematics has been changed.
I will submit a separate patch to fix that.
While the regulators are not clearly documented in the schematics,
the voltage levels can be observed in the top-right corner of the
schematics.
However, the required regulators are explicitly described in the device
tree bindings.
Please refer: ./Documentation/devicetree/bindings/media/i2c/imx219.yaml
Thanks and Regards
Yemike Abhilash Chandra
>> @@ -19,6 +19,33 @@ clk_imx219_fixed: imx219-xclk {
>> #clock-cells = <0>;
>> clock-frequency = <24000000>;
>> };
>> +
>> + reg_2p8v: regulator-2p8v {
>> + compatible = "regulator-fixed";
>> + regulator-name = "2P8V";
>> + regulator-min-microvolt = <2800000>;
>> + regulator-max-microvolt = <2800000>;
>> + vin-supply = <&vdd_sd_dv>;
>> + regulator-always-on;
>> + };
>> +
>> + reg_1p8v: regulator-1p8v {
>> + compatible = "regulator-fixed";
>> + regulator-name = "1P8V";
>> + regulator-min-microvolt = <1800000>;
>> + regulator-max-microvolt = <1800000>;
>> + vin-supply = <&vdd_sd_dv>;
>> + regulator-always-on;
>> + };
>> +
>> + reg_1p2v: regulator-1p2v {
>> + compatible = "regulator-fixed";
>> + regulator-name = "1P2V";
>> + regulator-min-microvolt = <1200000>;
>> + regulator-max-microvolt = <1200000>;
>> + vin-supply = <&vdd_sd_dv>;
>> + regulator-always-on;
>> + };
>> };
>>
>> &csi_mux {
>> @@ -34,6 +61,9 @@ imx219_0: imx219-0@10 {
>> reg = <0x10>;
>>
>> clocks = <&clk_imx219_fixed>;
>> + VANA-supply = <®_2p8v>;
>> + VDIG-supply = <®_1p8v>;
>> + VDDL-supply = <®_1p2v>;
>>
>> port {
>> csi2_cam0: endpoint {
>> @@ -55,6 +85,9 @@ imx219_1: imx219-1@10 {
>> reg = <0x10>;
>>
>> clocks = <&clk_imx219_fixed>;
>> + VANA-supply = <®_2p8v>;
>> + VDIG-supply = <®_1p8v>;
>> + VDDL-supply = <®_1p2v>;
>>
>> port {
>> csi2_cam1: endpoint {
> [0] https://datasheets.raspberrypi.com/camera/camera-module-2-schematics.pdf
>
next prev parent reply other threads:[~2025-04-14 11:41 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-09 13:41 [PATCH v2 0/7] Fix dtbs_check warnings in CSI overlays Yemike Abhilash Chandra
2025-04-09 13:41 ` [PATCH v2 1/7] arm64: dts: ti: j721e-sk: Add DT nodes for power regulators Yemike Abhilash Chandra
2025-04-11 13:32 ` Francis, Neha
2025-04-11 13:34 ` Kumar, Udit
2025-04-14 11:50 ` Yemike Abhilash Chandra
2025-04-09 13:41 ` [PATCH v2 2/7] arm64: dts: ti: am68-sk: Fix regulator hierarchy Yemike Abhilash Chandra
2025-04-11 13:46 ` Kumar, Udit
2025-04-11 13:50 ` Francis, Neha
2025-04-11 17:29 ` Kumar, Udit
2025-04-09 13:41 ` [PATCH v2 3/7] arm64: dts: ti: k3-j721e-sk: Remove clock-names property from IMX219 overlay Yemike Abhilash Chandra
2025-04-11 13:36 ` Francis, Neha
2025-04-14 6:47 ` Jai Luthra
2025-04-09 13:41 ` [PATCH v2 4/7] arm64: dts: ti: k3-j721e-sk: Add requiried voltage supplies for IMX219 Yemike Abhilash Chandra
2025-04-11 13:38 ` Francis, Neha
2025-04-14 11:40 ` Yemike Abhilash Chandra [this message]
2025-04-09 13:41 ` [PATCH v2 5/7] arm64: dts: ti: k3-am62x: Remove clock-names property from IMX219 overlay Yemike Abhilash Chandra
2025-04-11 13:39 ` Francis, Neha
2025-04-14 6:48 ` Jai Luthra
2025-04-09 13:41 ` [PATCH v2 6/7] arm64: dts: ti: k3-am62x: Rename I2C switch to I2C mux in " Yemike Abhilash Chandra
2025-04-11 13:40 ` Francis, Neha
2025-04-14 6:49 ` Jai Luthra
2025-04-09 13:41 ` [PATCH v2 7/7] arm64: dts: ti: k3-am62x: Rename I2C switch to I2C mux in OV5640 overlay Yemike Abhilash Chandra
2025-04-11 13:42 ` Francis, Neha
2025-04-14 6:50 ` Jai Luthra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=28fa61b8-15a6-40c6-96b8-268939226a03@ti.com \
--to=y-abhilashchandra@ti.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=imx@lists.linux.dev \
--cc=jai.luthra@linux.dev \
--cc=kristo@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=n-francis@ti.com \
--cc=nm@ti.com \
--cc=robh@kernel.org \
--cc=stable@vger.kernel.org \
--cc=u-kumar1@ti.com \
--cc=vaishnav.a@ti.com \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox