From: Francesco Dolcini <francesco@dolcini.it>
To: "Kumar, Udit" <u-kumar1@ti.com>
Cc: Francesco Dolcini <francesco@dolcini.it>,
Francesco Valla <francesco@valla.it>,
Anshul Dalal <anshuld@ti.com>, Peng Fan <peng.fan@nxp.com>,
Kumara Bhimeswararao Matsa <bhimesh.matsa@gmail.com>,
u-boot@lists.u-boot-project.org,
Jaehoon Chung <jh80.chung@samsung.com>,
Tom Rini <trini@konsulko.com>, Johan Jonker <jbx6244@gmail.com>,
Joy Zou <joy.zou@nxp.com>, Raymond Mao <raymond.mao@riscstar.com>,
Vincent Jardin <vjardin@free.fr>,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
Nishanth Menon <nm@ti.com>,
Robert Nelson <robertcnelson@gmail.com>
Subject: Re: [PATCH 1/2] drivers: power: add SPL_ config options for TPS65219 and its regulators
Date: Tue, 24 Nov 2026 09:01:56 +0100 [thread overview]
Message-ID: <20261124080156.GA80059@francesco-nb> (raw)
In-Reply-To: <8edb588e-5bba-4808-b50a-2831afa42978@ti.com>
On Tue, Nov 24, 2026 at 01:10:13PM +0530, Kumar, Udit wrote:
>
>
> On 11/24/2026 12:06 PM, Francesco Dolcini wrote:
> > On Tue, Nov 24, 2026 at 10:16:20AM +0530, Kumar, Udit wrote:
> >> Hi Francesco,
> >>
> >> On 11/23/2026 3:41 AM, Francesco Valla wrote:
> >>> The TPS65219 is a family of fixed-function PMICs for which the output
> >>> configuration is determined by the part number. For this reason, usage
> >>> during the SPL phase is unlikely.
> >>>
> >>> Add a SPL-specific option for the drivers of the TPS65219 itself and its
> >>> regulators, to allow its exclusion during the SPL build. Since none of
> >>> the supported platforms that have this PMIC onboard modifies its
> >>> configuration during SPL, default it to N.
> >>>
> >>> This fixes boot hangs on the boards compiling this driver but that don't
> >>> have the regulators sub-node marked as bootph-all; since commit
> >>> 607d45d1e3b3 ("power: pmic: tps65219: fail if regulators node is missing")
> >>> this absence was leading to a silent boot failure.
> >>>
> >>> Tested on a BeagleY-AI; the PocketBeagle 2 has the same DT layout and
> >>> the same configs, so it's affected as well.
> >>>
> >>> Fixes: 607d45d1e3b3 ("power: pmic: tps65219: fail if regulators node is missing")
> >>
> >> Thanks for update,
> >>
> >> I see this PMIC is enabled for below boards,
> >>
> >> configs/am62_pocketbeagle2_a53_defconfig:CONFIG_PMIC_TPS65219=y
> >> configs/am62x_beagleplay_a53_defconfig:CONFIG_PMIC_TPS65219=y
> >> configs/am64x_evm_a53_defconfig:CONFIG_PMIC_TPS65219=y
> >> configs/am67a_beagley_ai_a53_defconfig:CONFIG_PMIC_TPS65219=y
> >> configs/verdin-am62_a53_defconfig:CONFIG_PMIC_TPS65219=y
> >> configs/verdin-am62p_a53_defconfig:CONFIG_PMIC_TPS65219=y
> >>
> >>
> >> I am wondering, if PMIC is really needed here,
> >> Do you see possibility to mark PMIC as N in respective board ?
> >
> > Verdin AM62 and AM62P are booting fine with
> > U-Boot 2027.01-rc2+git.eb7af371cb8c (Nov 23 2026 - 15:22:38 +0000)
> >
> > No bootph properties on the PMIC node, and I guess also not used on the
> > SPL. We could save a little SPL size disabling it.
> >
>
> For normal boot purpose, you don't need PMIC in SPL or A core u-boot,
> unless there is specific need.
not even for the sdcard voltage switch?
on verdin am62 we have the following
```
reg_sdhc1_vqmmc: regulator-sdhci1-vqmmc {
compatible = "regulator-gpio";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_vsel_sd>;
/* PMIC_VSEL_SD */
gpios = <&main_gpio0 21 GPIO_ACTIVE_HIGH>;
regulator-name = "LDO1-VSEL-SD (PMIC)";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
states = <1800000 0x0>,
<3300000 0x1>;
vin-supply = <®_sd_3v3_1v8>;
};
```
and
```
reg_sd_3v3_1v8: ldo1 {
regulator-allow-bypass;
regulator-always-on;
regulator-boot-on;
regulator-max-microvolt = <3300000>;
regulator-min-microvolt = <3300000>;
regulator-name = "+V3.3_1.8_SD (PMIC LDO1)";
};
```
the vin-supply is from the PMIC. Will regulator-gpio probe without
the PMIC driver that provides reg_sd_3v3_1v8?
Francesco
next prev parent reply other threads:[~2026-11-24 8:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 22:11 [PATCH 0/2] Exclude TPS65219 drivers from SPL by default Francesco Valla
2026-11-22 22:11 ` [PATCH 1/2] drivers: power: add SPL_ config options for TPS65219 and its regulators Francesco Valla
2026-11-24 4:46 ` Kumar, Udit
2026-11-24 6:36 ` Francesco Dolcini
2026-11-24 7:40 ` Kumar, Udit
2026-11-24 8:01 ` Francesco Dolcini [this message]
2026-11-24 8:20 ` Kumar, Udit
2026-11-24 20:19 ` Francesco Valla
2026-11-25 1:52 ` Kumar, Udit
2026-11-22 22:11 ` [PATCH 2/2] arm: dts: k3-am625-beagleplay: drop bootph-all tags for regulators Francesco Valla
2026-11-25 1:56 ` Kumar, Udit
2026-11-24 14:09 ` [PATCH 0/2] Exclude TPS65219 drivers from SPL by default Neha Malcom Francis
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=20261124080156.GA80059@francesco-nb \
--to=francesco@dolcini.it \
--cc=anshuld@ti.com \
--cc=bhimesh.matsa@gmail.com \
--cc=francesco@valla.it \
--cc=ilias.apalodimas@linaro.org \
--cc=jbx6244@gmail.com \
--cc=jh80.chung@samsung.com \
--cc=joy.zou@nxp.com \
--cc=nm@ti.com \
--cc=peng.fan@nxp.com \
--cc=raymond.mao@riscstar.com \
--cc=robertcnelson@gmail.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.u-boot-project.org \
--cc=u-kumar1@ti.com \
--cc=vjardin@free.fr \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.