From: Francesco Valla <francesco@valla.it>
To: "Kumar, Udit" <u-kumar1@ti.com>
Cc: 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 21:19:39 +0100 [thread overview]
Message-ID: <awXws804rjW5jkXL@bywater> (raw)
In-Reply-To: <1921b2a1-0a43-459f-bbad-8ea72a2088fc@ti.com>
Hi Kumar,
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 ?
>
I'll take a look, but PMIC support can probably be dropped altogether
for them. I still believe the proposed change applies: in case we drop
the support in U-Boot proper, we can maintain it only in SPL.
>
> If you look at other boards from TI/K3 using PMIC at R5 stage not at A
> core stage
>
> configs/j7200_evm_r5_defconfig:CONFIG_PMIC_TPS65941=y
> configs/j721e_beagleboneai64_r5_defconfig:CONFIG_PMIC_TPS65941=y
> configs/j721e_evm_r5_defconfig:CONFIG_PMIC_TPS65941=y
> configs/j721s2_evm_r5_defconfig:CONFIG_PMIC_TPS65941=y
> configs/j722s_evm_r5_defconfig:CONFIG_PMIC_TPS65941=y
> configs/j784s4_evm_r5_defconfig:CONFIG_PMIC_TPS65941=y
>
>
>
> > Signed-off-by: Francesco Valla <francesco@valla.it>
> > ---
> > drivers/power/pmic/Kconfig | 7 +++++++
> > drivers/power/pmic/Makefile | 2 +-
> > drivers/power/regulator/Kconfig | 9 +++++++++
> > drivers/power/regulator/Makefile | 2 +-
> > 4 files changed, 18 insertions(+), 2 deletions(-)
> >
> > [..]
Regards,
Francesco
next prev parent reply other threads:[~2026-11-24 20:19 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
2026-11-24 8:20 ` Kumar, Udit
2026-11-24 20:19 ` Francesco Valla [this message]
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=awXws804rjW5jkXL@bywater \
--to=francesco@valla.it \
--cc=anshuld@ti.com \
--cc=bhimesh.matsa@gmail.com \
--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.