Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: Yemike Abhilash Chandra <y-abhilashchandra@ti.com>
To: "Kumar, Udit" <u-kumar1@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>, <stable@vger.kernel.org>
Subject: Re: [PATCH v2 1/7] arm64: dts: ti: j721e-sk: Add DT nodes for power regulators
Date: Mon, 14 Apr 2025 17:20:04 +0530	[thread overview]
Message-ID: <e08b7127-4f9b-433e-b0f3-e2c4ef279b78@ti.com> (raw)
In-Reply-To: <44c3ec3d-2fa3-4a61-8c93-5ef4791fcf8a@ti.com>

Hi Udit,

On 11/04/25 19:04, Kumar, Udit wrote:
> 
> On 4/9/2025 7:11 PM, Yemike Abhilash Chandra wrote:
>> Add device tree nodes for two power regulators on the J721E SK board.
>> vsys_5v0: A fixed regulator representing the 5V supply output from the
>> LM61460 and vdd_sd_dv: A GPIO-controlled TLV71033 regulator.
>>
>> J721E-SK schematics: https://www.ti.com/lit/zip/sprr438
>> Fixes: 1bfda92a3a36 ("arm64: dts: ti: Add support for J721E SK")
> 
> For me does not looks like a fix, you can adding missing nodes
> 

Since we are adding the regulator nodes in the sensor overlay, (Patch 4 
of this series) which in turn references these regulator nodes, I have
included the Fixes tag in this patch as well.

> 
>> Cc: stable@vger.kernel.org
>> Signed-off-by: Yemike Abhilash Chandra <y-abhilashchandra@ti.com>
>> ---
>>   arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 31 ++++++++++++++++++++++++++
>>   1 file changed, 31 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts 
>> b/arch/arm64/boot/dts/ti/k3-j721e-sk.dts
>> index 440ef57be294..4965957e6545 100644
>> --- a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts
>> +++ b/arch/arm64/boot/dts/ti/k3-j721e-sk.dts
>> @@ -184,6 +184,17 @@ vsys_3v3: fixedregulator-vsys3v3 {
>>           regulator-boot-on;
>>       };
>> +    vsys_5v0: fixedregulator-vsys5v0 {
>> +        /* Output of LM61460 */
>> +        compatible = "regulator-fixed";
>> +        regulator-name = "vsys_5v0";
>> +        regulator-min-microvolt = <5000000>;
>> +        regulator-max-microvolt = <5000000>;
>> +        vin-supply = <&vusb_main>;
>> +        regulator-always-on;
>> +        regulator-boot-on;
>> +    };
>> +
>>       vdd_mmc1: fixedregulator-sd {
>>           compatible = "regulator-fixed";
>>           pinctrl-names = "default";
>> @@ -211,6 +222,20 @@ vdd_sd_dv_alt: gpio-regulator-tps659411 {
>>                <3300000 0x1>;
>>       };
>> +    vdd_sd_dv: gpio-regulator-TLV71033 {
>> +        compatible = "regulator-gpio";
>> +        pinctrl-names = "default";
>> +        pinctrl-0 = <&vdd_sd_dv_pins_default>;
>> +        regulator-name = "tlv71033";
>> +        regulator-min-microvolt = <1800000>;
>> +        regulator-max-microvolt = <3300000>;
>> +        regulator-boot-on;
>> +        vin-supply = <&vsys_5v0>;
>> +        gpios = <&main_gpio0 118 GPIO_ACTIVE_HIGH>;
>> +        states = <1800000 0x0>,
>> +             <3300000 0x1>;
>> +    };
>> +
>>       transceiver1: can-phy1 {
>>           compatible = "ti,tcan1042";
>>           #phy-cells = <0>;
>> @@ -613,6 +638,12 @@ J721E_WKUP_IOPAD(0xd4, PIN_OUTPUT, 7) /* (G26) 
>> WKUP_GPIO0_9 */
>>           >;
>>       };
>> +    vdd_sd_dv_pins_default: vdd-sd-dv-default-pins {
>> +        pinctrl-single,pins = <
>> +            J721E_IOPAD(0x1dc, PIN_INPUT, 7) /* (Y1) 
>> SPI1_CLK.GPIO0_118 */
> 
> Shouldn't be this pin be output to control regulator ?
> 

Yes, I will correct this in the next revision.

Thanks and Regards
Yemike Abhilash Chandra

> 
>> +        >;
>> +    };
>> +
>>       wkup_uart0_pins_default: wkup-uart0-default-pins {
>>           pinctrl-single,pins = <
>>               J721E_WKUP_IOPAD(0xa0, PIN_INPUT, 0) /* (J29) 
>> WKUP_UART0_RXD */

  reply	other threads:[~2025-04-14 11:50 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 [this message]
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
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=e08b7127-4f9b-433e-b0f3-e2c4ef279b78@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=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