[PATCH v2] pinctrl: Check pinconfig nodes pre-reloc status recursively

Tom Rini trini at konsulko.com
Mon Mar 4 16:28:52 CET 2024


On Sat, Feb 17, 2024 at 12:08:40PM +0000, Jonas Karlman wrote:

> Pinconfig nodes normally bind recursively with PINCTRL_FULL and
> PINCONF_RECURSIVE enabled. However, during U-Boot proper pre-relocation
> any node marked with e.g. bootph-all will not bind unless its parent is
> also marked for pre-reloc.
> 
>   group1 {
>       pinconf1 {
>           bootph-all;
>       };
>   };
> 
> This cause the following warning message to be shown during U-Boot
> proper pre-reloc stage on Rockchip devices, e.g on RK3568:
> 
>   ns16550_serial serial at fe660000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
> 
> and on RK3328:
> 
>   ns16550_serial serial at ff130000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
> 
> Check pinconfig nodes pre-reloc status recursively to fix this and to
> make pinconfig_post_bind work same at both U-Boot proper pre-reloc and
> at TPL/SPL stage.
> 
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240304/fc76a53e/attachment.sig>


More information about the U-Boot mailing list