* [PATCH 0/2] Exclude TPS65219 drivers from SPL by default
@ 2026-11-22 22:11 Francesco Valla
2026-11-22 22:11 ` [PATCH 1/2] drivers: power: add SPL_ config options for TPS65219 and its regulators Francesco Valla
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Francesco Valla @ 2026-11-22 22:11 UTC (permalink / raw)
To: Kumar, Udit, Anshul Dalal, Peng Fan, Kumara Bhimeswararao Matsa,
u-boot
Cc: Jaehoon Chung, Tom Rini, Johan Jonker, Joy Zou, Raymond Mao,
Vincent Jardin, Ilias Apalodimas, Nishanth Menon, Robert Nelson,
Francesco Valla
Hello,
this small patch series fixes a boot hang observed on the BeagleY-AI and
that also affects (at least theoretically, as I don't have one) the
PocketBeagle 2. The hang is a direct (albeit unwanted) consequence of
commit 607d45d1e3b3 ("power: pmic: tps65219: fail if regulators node is
missing"), after which the "regulators" DT sub-node of the TPS65219 PMIC
became mandatory. All platforms that lack the bootph-all on such node but
have the driver built-in hang at SPL startup; if early debug is enabled,
the following message can be observed:
spl_early_init() failed: -6
resetting ...
no sysreset
### ERROR ### Please RESET the board ###
Instead of adding the bootph-all tagsi to regulators, make the TPS65219
config options phase-dependant, with a (implicit) default to N for SPL.
Because these PMICs are fixed-function ones, there is no need to
manipulate them in SPL.
The second patch drops the aforementioned tags - no more required - for
the Beagleplay, which introduction was not accepted for the Linux kernel
[1].
Regards,
Francesco
[1] https://lore.kernel.org/all/04ef3762-86d5-4d61-93f4-202f0c120433@ti.com/
Signed-off-by: Francesco Valla <francesco@valla.it>
---
Francesco Valla (2):
drivers: power: add SPL_ config options for TPS65219 and its regulators
arm: dts: k3-am625-beagleplay: drop bootph-all tags for regulators
arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 28 ----------------------------
drivers/power/pmic/Kconfig | 7 +++++++
drivers/power/pmic/Makefile | 2 +-
drivers/power/regulator/Kconfig | 9 +++++++++
drivers/power/regulator/Makefile | 2 +-
5 files changed, 18 insertions(+), 30 deletions(-)
---
base-commit: e578056c766d653270b14557c2a9d8daec414c17
change-id: 20261122-tsp65219-spl-configs-d6413ae84963
Best regards,
--
Francesco Valla <francesco@valla.it>
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 1/2] drivers: power: add SPL_ config options for TPS65219 and its regulators
2026-11-22 22:11 [PATCH 0/2] Exclude TPS65219 drivers from SPL by default Francesco Valla
@ 2026-11-22 22:11 ` Francesco Valla
2026-11-24 4:46 ` 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-24 14:09 ` [PATCH 0/2] Exclude TPS65219 drivers from SPL by default Neha Malcom Francis
2 siblings, 1 reply; 12+ messages in thread
From: Francesco Valla @ 2026-11-22 22:11 UTC (permalink / raw)
To: Kumar, Udit, Anshul Dalal, Peng Fan, Kumara Bhimeswararao Matsa,
u-boot
Cc: Jaehoon Chung, Tom Rini, Johan Jonker, Joy Zou, Raymond Mao,
Vincent Jardin, Ilias Apalodimas, Nishanth Menon, Robert Nelson,
Francesco Valla
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")
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(-)
diff --git a/drivers/power/pmic/Kconfig b/drivers/power/pmic/Kconfig
index 95687d0bdfdd..25cde40eaaf3 100644
--- a/drivers/power/pmic/Kconfig
+++ b/drivers/power/pmic/Kconfig
@@ -440,6 +440,13 @@ config PMIC_TPS65219
The TPS65219 is a PMIC containing a bunch of SMPS & LDOs.
This driver binds the pmic children.
+config SPL_PMIC_TPS65219
+ bool "Enable driver for Texas Instruments TPS65219 PMIC in SPL"
+ depends on SPL_DM_PMIC
+ help
+ The TPS65219 is a PMIC containing a bunch of SMPS & LDOs.
+ This driver binds the pmic children in SPL.
+
config PMIC_RAA215300
bool "Renesas RAA215300 PMIC driver"
depends on DM_PMIC
diff --git a/drivers/power/pmic/Makefile b/drivers/power/pmic/Makefile
index da9b810de90a..36b197c7e956 100644
--- a/drivers/power/pmic/Makefile
+++ b/drivers/power/pmic/Makefile
@@ -36,7 +36,7 @@ obj-$(CONFIG_$(PHASE_)PMIC_LP87565) += lp87565.o
obj-$(CONFIG_PMIC_SPACEMIT_P1) += pmic_spacemit_p1.o
obj-$(CONFIG_PMIC_STPMIC1) += stpmic1.o
obj-$(CONFIG_PMIC_TPS65217) += pmic_tps65217.o
-obj-$(CONFIG_PMIC_TPS65219) += tps65219.o
+obj-$(CONFIG_$(PHASE_)PMIC_TPS65219) += tps65219.o
obj-$(CONFIG_PMIC_TPS65941) += tps65941.o
obj-$(CONFIG_PMIC_RAA215300) += raa215300.o
obj-$(CONFIG_POWER_TPS65218) += pmic_tps65218.o
diff --git a/drivers/power/regulator/Kconfig b/drivers/power/regulator/Kconfig
index dbd24415cb5a..752420a87569 100644
--- a/drivers/power/regulator/Kconfig
+++ b/drivers/power/regulator/Kconfig
@@ -545,6 +545,15 @@ config DM_REGULATOR_TPS65219
TPS65219 series of PMICs have 3 single phase BUCKs & 4 LDOs.
The driver implements get/set api for value and enable.
+config SPL_DM_REGULATOR_TPS65219
+ bool "Enable driver for TPS65219 PMIC regulators in SPL"
+ depends on SPL_DM_REGULATOR && SPL_PMIC_TPS65219
+ help
+ This enables implementation of driver-model regulator uclass
+ features for REGULATOR TPS65219 and the family of TPS65219 PMICs.
+ TPS65219 series of PMICs have 3 single phase BUCKs & 4 LDOs.
+ The driver implements get/set api for value and enable.
+
config REGULATOR_RZG2L_USBPHY
bool "Enable driver for RZ/G2L USB PHY VBUS supply"
depends on DM_REGULATOR
diff --git a/drivers/power/regulator/Makefile b/drivers/power/regulator/Makefile
index bfe3349e3e5d..300a2c9d8cd1 100644
--- a/drivers/power/regulator/Makefile
+++ b/drivers/power/regulator/Makefile
@@ -47,7 +47,7 @@ obj-$(CONFIG_$(PHASE_)DM_REGULATOR_STPMIC1) += stpmic1.o
obj-$(CONFIG_DM_REGULATOR_TPS65941) += tps65941_regulator.o
obj-$(CONFIG_DM_REGULATOR_SCMI) += scmi_regulator.o
obj-$(CONFIG_$(PHASE_)DM_REGULATOR_ANATOP) += anatop_regulator.o
-obj-$(CONFIG_DM_REGULATOR_TPS65219) += tps65219_regulator.o
+obj-$(CONFIG_$(PHASE_)DM_REGULATOR_TPS65219) += tps65219_regulator.o
obj-$(CONFIG_REGULATOR_RZG2L_USBPHY) += rzg2l-usbphy-regulator.o
obj-$(CONFIG_$(PHASE_)DM_REGULATOR_CPCAP) += cpcap_regulator.o
obj-$(CONFIG_DM_REGULATOR_MT6357) += mt6357_regulator.o
--
2.56.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 2/2] arm: dts: k3-am625-beagleplay: drop bootph-all tags for regulators
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-22 22:11 ` 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
2 siblings, 1 reply; 12+ messages in thread
From: Francesco Valla @ 2026-11-22 22:11 UTC (permalink / raw)
To: Kumar, Udit, Anshul Dalal, Peng Fan, Kumara Bhimeswararao Matsa,
u-boot
Cc: Jaehoon Chung, Tom Rini, Johan Jonker, Joy Zou, Raymond Mao,
Vincent Jardin, Ilias Apalodimas, Nishanth Menon, Robert Nelson,
Francesco Valla
The bootph-all tags on the regulators provided by the TSP65219 PMIC were
added to solve a boot hang caused by a change in the behavior of the
underlying driver; now that the driver is no more compiled for the SPL
they can safely be dropped.
Link: https://lore.kernel.org/u-boot/20260813-beagleplay_boot_failure_fix-v1-1-01d73d735cbb@ti.com
Signed-off-by: Francesco Valla <francesco@valla.it>
---
arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 28 ----------------------------
1 file changed, 28 deletions(-)
diff --git a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi b/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
index 2a0b19173c08..d06cbd899c2a 100644
--- a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
+++ b/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
@@ -229,34 +229,6 @@
bootph-all;
};
-&buck1_reg {
- bootph-all;
-};
-
-&buck2_reg {
- bootph-all;
-};
-
-&buck3_reg {
- bootph-all;
-};
-
-&ldo1_reg {
- bootph-all;
-};
-
-&ldo2_reg {
- bootph-all;
-};
-
-&ldo3_reg {
- bootph-all;
-};
-
-&ldo4_reg {
- bootph-all;
-};
-
&cpsw_port2 {
status = "disabled";
};
--
2.56.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] drivers: power: add SPL_ config options for TPS65219 and its regulators
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 20:19 ` Francesco Valla
0 siblings, 2 replies; 12+ messages in thread
From: Kumar, Udit @ 2026-11-24 4:46 UTC (permalink / raw)
To: Francesco Valla, Anshul Dalal, Peng Fan,
Kumara Bhimeswararao Matsa, u-boot
Cc: Jaehoon Chung, Tom Rini, Johan Jonker, Joy Zou, Raymond Mao,
Vincent Jardin, Ilias Apalodimas, Nishanth Menon, Robert Nelson,
u-kumar1
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 ?
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(-)
>
> [..]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] drivers: power: add SPL_ config options for TPS65219 and its regulators
2026-11-24 4:46 ` Kumar, Udit
@ 2026-11-24 6:36 ` Francesco Dolcini
2026-11-24 7:40 ` Kumar, Udit
2026-11-24 20:19 ` Francesco Valla
1 sibling, 1 reply; 12+ messages in thread
From: Francesco Dolcini @ 2026-11-24 6:36 UTC (permalink / raw)
To: Kumar, Udit
Cc: Francesco Valla, Anshul Dalal, Peng Fan,
Kumara Bhimeswararao Matsa, u-boot, Jaehoon Chung, Tom Rini,
Johan Jonker, Joy Zou, Raymond Mao, Vincent Jardin,
Ilias Apalodimas, Nishanth Menon, Robert Nelson
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.
Are you sure you need to enable the PMIC in the SPL? For what is needed?
Setting the sdcard voltage to 1v8 (I do not know these two beagle
boards) ?
Francesco
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] drivers: power: add SPL_ config options for TPS65219 and its regulators
2026-11-24 6:36 ` Francesco Dolcini
@ 2026-11-24 7:40 ` Kumar, Udit
2026-11-24 8:01 ` Francesco Dolcini
0 siblings, 1 reply; 12+ messages in thread
From: Kumar, Udit @ 2026-11-24 7:40 UTC (permalink / raw)
To: Francesco Dolcini
Cc: Francesco Valla, Anshul Dalal, Peng Fan,
Kumara Bhimeswararao Matsa, u-boot, Jaehoon Chung, Tom Rini,
Johan Jonker, Joy Zou, Raymond Mao, Vincent Jardin,
Ilias Apalodimas, Nishanth Menon, Robert Nelson, u-kumar1
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.
> Are you sure you need to enable the PMIC in the SPL? For what is needed?
Two purpose of PMIC in SPL/R5 for J7xx SOCs,
1) to set AVS voltage of CPU[0]
2) to detect return from SOC off mode under review series [1]
[0]
https://elixir.bootlin.com/u-boot/v2026.01/source/drivers/misc/k3_avs.c#L114
[1]
https://lore.kernel.org/all/20261118131807.135859-5-richard.genoud@bootlin.com/
> Setting the sdcard voltage to 1v8 (I do not know these two beagle
> boards) ?
>
> Francesco
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] drivers: power: add SPL_ config options for TPS65219 and its regulators
2026-11-24 7:40 ` Kumar, Udit
@ 2026-11-24 8:01 ` Francesco Dolcini
2026-11-24 8:20 ` Kumar, Udit
0 siblings, 1 reply; 12+ messages in thread
From: Francesco Dolcini @ 2026-11-24 8:01 UTC (permalink / raw)
To: Kumar, Udit
Cc: Francesco Dolcini, Francesco Valla, Anshul Dalal, Peng Fan,
Kumara Bhimeswararao Matsa, u-boot, Jaehoon Chung, Tom Rini,
Johan Jonker, Joy Zou, Raymond Mao, Vincent Jardin,
Ilias Apalodimas, Nishanth Menon, Robert Nelson
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] drivers: power: add SPL_ config options for TPS65219 and its regulators
2026-11-24 8:01 ` Francesco Dolcini
@ 2026-11-24 8:20 ` Kumar, Udit
0 siblings, 0 replies; 12+ messages in thread
From: Kumar, Udit @ 2026-11-24 8:20 UTC (permalink / raw)
To: Francesco Dolcini
Cc: Francesco Valla, Anshul Dalal, Peng Fan,
Kumara Bhimeswararao Matsa, u-boot, Jaehoon Chung, Tom Rini,
Johan Jonker, Joy Zou, Raymond Mao, Vincent Jardin,
Ilias Apalodimas, Nishanth Menon, Robert Nelson, u-kumar1
On 11/24/2026 1:31 PM, Francesco Dolcini wrote:
> 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?
>
Yes, you will need it, if sd card voltage switch is needed.
> on verdin am62 we have the following
>
> ```
> [..]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 0/2] Exclude TPS65219 drivers from SPL by default
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-22 22:11 ` [PATCH 2/2] arm: dts: k3-am625-beagleplay: drop bootph-all tags for regulators Francesco Valla
@ 2026-11-24 14:09 ` Neha Malcom Francis
2 siblings, 0 replies; 12+ messages in thread
From: Neha Malcom Francis @ 2026-11-24 14:09 UTC (permalink / raw)
To: Francesco Valla
Cc: Kumar, Udit, Anshul Dalal, Peng Fan, Kumara Bhimeswararao Matsa,
u-boot, Jaehoon Chung, Tom Rini, Johan Jonker, Joy Zou,
Raymond Mao, Vincent Jardin, Ilias Apalodimas, Nishanth Menon,
Robert Nelson
On Sun, 22 Nov 2026 23:11:35 +0100, Francesco Valla <francesco@valla.it> wrote:
> Exclude TPS65219 drivers from SPL by default
>
> Hello,
>
> this small patch series fixes a boot hang observed on the BeagleY-AI and
> that also affects (at least theoretically, as I don't have one) the
> PocketBeagle 2. The hang is a direct (albeit unwanted) consequence of
> commit 607d45d1e3b3 ("power: pmic: tps65219: fail if regulators node is
> missing"), after which the "regulators" DT sub-node of the TPS65219 PMIC
> became mandatory. All platforms that lack the bootph-all on such node but
> have the driver built-in hang at SPL startup; if early debug is enabled,
> the following message can be observed:
>
> [...]
Acked-by: Neha Malcom Francis <n-francis@ti.com>
--
Neha Malcom Francis <n-francis@ti.com>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] drivers: power: add SPL_ config options for TPS65219 and its regulators
2026-11-24 4:46 ` Kumar, Udit
2026-11-24 6:36 ` Francesco Dolcini
@ 2026-11-24 20:19 ` Francesco Valla
2026-11-25 1:52 ` Kumar, Udit
1 sibling, 1 reply; 12+ messages in thread
From: Francesco Valla @ 2026-11-24 20:19 UTC (permalink / raw)
To: Kumar, Udit
Cc: Anshul Dalal, Peng Fan, Kumara Bhimeswararao Matsa, u-boot,
Jaehoon Chung, Tom Rini, Johan Jonker, Joy Zou, Raymond Mao,
Vincent Jardin, Ilias Apalodimas, Nishanth Menon, Robert Nelson
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] drivers: power: add SPL_ config options for TPS65219 and its regulators
2026-11-24 20:19 ` Francesco Valla
@ 2026-11-25 1:52 ` Kumar, Udit
0 siblings, 0 replies; 12+ messages in thread
From: Kumar, Udit @ 2026-11-25 1:52 UTC (permalink / raw)
To: Francesco Valla
Cc: Anshul Dalal, Peng Fan, Kumara Bhimeswararao Matsa, u-boot,
Jaehoon Chung, Tom Rini, Johan Jonker, Joy Zou, Raymond Mao,
Vincent Jardin, Ilias Apalodimas, Nishanth Menon, Robert Nelson,
u-kumar1
Hi Francesco
On 11/25/2026 1:49 AM, Francesco Valla wrote:
> 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.
>
Well, for changes in this patch
Acked-by: Udit Kumar <u-kumar1@ti.com>
Irrespective of that, you can review usage of PMIC in your board.
>>
>> 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] arm: dts: k3-am625-beagleplay: drop bootph-all tags for regulators
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
0 siblings, 0 replies; 12+ messages in thread
From: Kumar, Udit @ 2026-11-25 1:56 UTC (permalink / raw)
To: Francesco Valla, Anshul Dalal, Peng Fan,
Kumara Bhimeswararao Matsa, u-boot
Cc: Jaehoon Chung, Tom Rini, Johan Jonker, Joy Zou, Raymond Mao,
Vincent Jardin, Ilias Apalodimas, Nishanth Menon, Robert Nelson,
u-kumar1
On 11/23/2026 3:41 AM, Francesco Valla wrote:
> The bootph-all tags on the regulators provided by the TSP65219 PMIC were
> added to solve a boot hang caused by a change in the behavior of the
> underlying driver; now that the driver is no more compiled for the SPL
> they can safely be dropped.
>
> Link: https://lore.kernel.org/u-boot/20260813-beagleplay_boot_failure_fix-v1-1-01d73d735cbb@ti.com
> Signed-off-by: Francesco Valla <francesco@valla.it>
> ---
> arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 28 ----------------------------
> 1 file changed, 28 deletions(-)
>
> diff --git a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi b/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
> index 2a0b19173c08..d06cbd899c2a 100644
> --- a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
> +++ b/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
> @@ -229,34 +229,6 @@
> bootph-all;
> };
>
> -&buck1_reg {
> - bootph-all;
> -};
Acked-by: Udit Kumar <u-kumar1@ti.com>
> -
> -&buck2_reg {
> - bootph-all;
> [..]
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2026-11-25 1:57 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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.