[PATCH 1/3] pinctrl: uniphier: add check if pins are valid

Tom Rini trini at konsulko.com
Tue Jan 3 16:42:09 CET 2023


On Fri, Dec 09, 2022 at 08:33:46PM +0900, Dai Okamura wrote:

> The pinctrl datas of uniphier SoCs are the minimal subsets of kernel's one,
> and some tables has no data to save the footprint size.
> If the board dts tries to match a pin name on no pins defined SoC,
> the footprint magic code causes "Synchronous Abort".
> 
> This checks if the 'pins' data is valid,
> and if empty, avoids the abort with the warning as follows:
> 
>   WARNING at drivers/pinctrl/uniphier/pinctrl-uniphier-core.c:36/uniphier_pinctrl_get_pins_count()!
>   pinctrl_select_state_full: pinctrl_config_one: err=-38
> 
> Signed-off-by: Dai Okamura <okamura.dai at socionext.com>

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/20230103/1231d9e5/attachment.sig>


More information about the U-Boot mailing list