[PATCH 1/1] board: ti: am335x: Do not call disabled PMIC functions

Kory Maincent kory.maincent at bootlin.com
Mon Sep 8 18:43:42 CEST 2025


On Mon, 8 Sep 2025 16:05:04 +0000
Maarten Brock <Maarten.Brock at sttls.nl> wrote:

> When PMIC drivers are disabled their functions should not be called.
>
> Signed-off-by: Maarten Brock <maarten.brock at sttls.nl>

There is already board check with board_is_bone or board_is_beaglebonex call.
Is it not sufficient? Why would we disable the PMIC support if we are using
one of these boards?

Maybe the only relevant return would be in scale_vcores_generic, as it matches
the case where the board is not known.

Regards,
-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com


More information about the U-Boot mailing list