[PATCH 0/3] Fix compilation issue on regulator_common file

Peng Fan peng.fan at oss.nxp.com
Thu Dec 11 09:39:04 CET 2025


Hi Tom,

On Wed, Dec 10, 2025 at 03:38:26PM -0600, Tom Rini wrote:
>On Wed, Dec 10, 2025 at 10:24:21PM +0100, Julien Stephan wrote:
>
>> Hello,
>> 
>> If CONFIG_DM_GPIO is not enabled, compilation of
>> drivers/power/regulator/regulator_common.c  fails with the following
>> errors:
>
>How did you get this condition exactly? I'm inclined to say DM_REGULATOR
>&& !DM_GPIO shouldn't be allowed today, and I see what looks like a

DM_GPIO is not a must for DM_REGULATOR. Only DM_REGULATOR_GPIO needs DM_GPIO.

>Kconfig bug where SPL_DM_REGULATOR depends on SPL_GPIO and not
>SPL_DM_GPIO.

I think you are saying SPL_DM_REGULATOR_GPIO, not SPL_DM_REGULATOR.

Regards
Peng

>
>-- 
>Tom




More information about the U-Boot mailing list